
/* === 1. PREMENNÉ A RESET === */
:root {
    --primary: #0F172A;
    --accent: #D4AF37;
    --text: #333333;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; transition: all 0.3s ease; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* === 2. HEADER === */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent);
}

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

#main-nav ul li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

#main-nav ul li > a i {
    font-size: 0.75em;
    opacity: 0.7;
    margin-top: 1px;
}

/* === 3. HERO SEKCIA (SLIDES) === */
.hero {
    height: 95vh;
    min-height: 95vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;

    /* fix: aby hero nebolo “nalepené” na sticky header */
    padding: 110px 20px 70px;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.06);

    /* slide prechod + jemný pohyb (bez agresívneho zoomu) */
    transition: opacity 1.6s ease, transform 10s ease;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.00);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    /* fix: stabilná čitateľnosť textu na svetlých aj tmavých fotkách */
    background: linear-gradient(
            135deg,
            rgba(15,23,42,0.88) 0%,
            rgba(15,23,42,0.55) 65%,
            rgba(15,23,42,0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 22px 22px 26px;
    margin: 0 auto;

    animation: fadeInUp 1.2s ease-out;
}

/* typografia v hero – aby to držalo tvar na všetkých rozlíšeniach */
.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 18px;
    font-weight: 600;
    text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero p {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.55;
    max-width: 760px;
    margin: 0 auto 26px;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

/* CTA v hero – nech sa netlačí a vyzerá “produktovo” */
.hero .btn-group {
    gap: 14px;
    margin-top: 6px;
}

.hero .btn {
    min-width: 220px;
}

/* mobile: čistý stack + menšie paddingy */
@media (max-width: 640px) {
    .hero {
        padding: 95px 16px 50px;
    }

    .hero .btn {
        width: 100%;
        min-width: 0;
    }
}

/* === 4. PAGE HEADER === */
.page-header {
    background: url('../img/pozadie-header.webp') center/cover no-repeat fixed;
    padding: 140px 20px 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* === 5. TLAČIDLÁ === */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
}

.btn-hero-white {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent;
    font-weight: 600;
}

.btn-hero-white:hover {
    background-color: #ffffff !important;
    color: #0F172A !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* === 6. VŠEOBECNÉ SEKCIE === */
.section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.bg-light {
    background: var(--bg-light);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 10px;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

/* === 7. KARTY SLUŽIEB === */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background: var(--accent);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.cta-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.2);
    transition: 0.3s;
}

.cta-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* === 8. MAPA A FILTRE === */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

#map {
    height: 600px;
    width: 100%;
    border-radius: 8px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === PREPÍNAČ KRAJÍN === */
.country-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px auto 40px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    max-width: fit-content;
}

.country-tab {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.country-tab.active {
    background: #0F172A;
    color: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.country-tab:hover:not(.active) {
    background: #e2e8f0;
    color: #0F172A;
}

/* Prepínač v page-header (tmavé pozadie) */
.page-header .country-switcher {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    margin-top: 24px;
    margin-bottom: 0;
}

.page-header .country-tab {
    color: rgba(255, 255, 255, 0.85);
}

.page-header .country-tab.active {
    background: rgba(212, 175, 55, 0.95);
    color: #0F172A;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.page-header .country-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* HR CHIPS (kategórie) */
.hr-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hr-chips .chip {
    background: rgba(15,23,42,0.06);
    border: 1px solid rgba(15,23,42,0.12);
    color: #0F172A;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all .15s ease;
}

.hr-chips .chip:hover {
    transform: translateY(-1px);
    border-color: rgba(212,175,55,0.55);
}

.hr-chips .chip.is-active {
    background: #0F172A;
    border-color: #0F172A;
    color: #fff;
}

/* HR chips v page headeri */
.page-header .hr-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: fit-content;
    margin: 18px auto 0;
}

.page-header .hr-chips .chip {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all .15s ease;
}

.page-header .hr-chips .chip:hover {
    transform: translateY(-1px);
    border-color: rgba(212,175,55,0.75);
    background: rgba(255,255,255,0.14);
}

.page-header .hr-chips .chip.is-active {
    background: rgba(212,175,55,0.95);
    border-color: rgba(212,175,55,0.95);
    color: #0F172A;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* === 9. PORTFÓLIO KARTY === */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.prop-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    position: relative;
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.prop-card.is-hover {
    outline: 2px solid rgba(212,175,55,0.75);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12);
    transform: translateY(-7px);
}

.prop-img {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.prop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prop-card:hover .prop-img img {
    transform: scale(1.05);
}

.prop-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #D4AF37;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.prop-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prop-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #0F172A;
}

.location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prop-details {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.prop-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prop-details span i {
    color: #D4AF37;
    margin-right: 5px;
    flex: 0 0 auto;
}

.rent-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.55);
    color: #0F172A;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.rent-badge small {
    font-weight: 900;
    opacity: .75;
    letter-spacing: .02em;
}

.btn-card {
    margin-top: auto;
    text-align: center;
    background: white;
    border: 1px solid #0F172A;
    color: #0F172A;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: block;
}

.btn-card:hover {
    background: #0F172A;
    color: white;
}

.prop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: auto;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.prop-link:hover {
    color: #0F172A;
    transform: translateX(5px);
}

.prop-link i {
    font-size: 0.8em;
}

/* === 10. KONTAKT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    background: #fdfdfd;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form button {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* === 11. FOOTER === */
footer {
    background: #0B1120;
    color: #94a3b8;
    padding: 80px 20px 30px;
    border-top: 4px solid var(--accent);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.footer-project {
    margin-bottom: 14px;
}

.footer-meta {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.6;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: #94a3b8;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-legal-links {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: grid;
    gap: 10px;
}

.footer-cookie-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
    color: #94a3b8;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all .15s ease;
}

.footer-cookie-btn:hover {
    color: #fff;
    border-color: rgba(212,175,55,0.55);
    transform: translateY(-1px);
}

.footer-contact {
    display: block;
    color: #fff;
    margin-bottom: 6px;
    opacity: .92;
}

.footer-contact:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-phone {
    display: inline-block;
    color: var(--accent);
    font-weight: 900;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* === 12. DROPDOWN MENU === */
nav ul li {
    position: relative;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0F172A;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-top: 2px solid var(--accent);
    padding: 10px 0;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li ul li {
    display: block;
    margin: 0;
}

nav ul li ul li a {
    display: block;
    margin: 0;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap;
    transition: all 0.3s ease;
}

nav ul li ul li a:hover {
    background-color: transparent;
    color: var(--accent);
    padding-left: 28px;
}

/* === 13. DETAIL STRÁNKA === */
.back-link {
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    width: fit-content;
    background: transparent;
    border: none;
}

.back-link:hover {
    color: var(--accent);
    transform: translateX(-5px);
    background: transparent;
    text-decoration: none;
}

.back-link i {
    font-size: 0.85em;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.btn-gallery {
    position: absolute;
    bottom: 30px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-gallery:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* Detail – "Zväčšiť foto" pod galériou (bez prekryvania) */
.btn-gallery.btn-gallery-below{
    position: static;            /* zruší overlay */
    margin-top: 12px;
    width: fit-content;
    padding: 10px 18px;
}

/* Na mobile nech je to full width a pekne */
@media (max-width: 768px){
    .btn-gallery.btn-gallery-below{
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .gallery-thumbs{
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .gallery-thumbs img{
        flex: 0 0 auto;
    }
}

/* === 14. LEGAL PAGES === */
.legal-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.legal-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 46px;
}

.legal-meta {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 26px;
    font-size: .92rem;
    color: #475569;
}

.legal-card h2 {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    margin-top: 34px;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid var(--accent);
}

.legal-card p {
    margin-bottom: 14px;
    color: #475569;
}

.legal-list {
    margin: 10px 0 18px;
    padding-left: 0;
}

.legal-list li {
    list-style: none;
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #475569;
}

.legal-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: 900;
    font-size: 1.35rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.legal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    margin-top: 28px;
}

/* === 15. SPECIALS === */
.spm-hidden {
    display: none;
    visibility: hidden;
}

.success-box {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-box {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.btn-expand {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-expand:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px 20px;
    justify-content: space-between;
    gap: 10px;
}

.sticky-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-call {
    background: var(--primary);
    color: white;
}

.btn-mail {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid #ddd;
}

.creator-link {
    opacity: 0.6;
    font-size: 0.85rem;
    white-space: nowrap;
}

.creator-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.creator-link a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* === 16. MAP FIX === */
.leaflet-pane img,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
    width: auto;
    padding: 0;
}

.leaflet-control-attribution svg {
    display: none !important;
}

.map-pop-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    margin: 8px 0 10px;
    border: 1px solid rgba(15,23,42,0.10);
    display: block;
}

@keyframes markerBounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-12px); }
    55%  { transform: translateY(0); }
    75%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.leaflet-marker-icon.is-bouncing {
    animation: markerBounce 650ms ease;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.35));
}

/* === 17. RESPONSIVE === */
@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    #main-nav.active {
        display: block;
    }

    #main-nav ul {
        flex-direction: column;
    }

    nav ul li ul {
        position: static;
        display: none;
        background-color: rgba(0,0,0,0.2);
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
    }

    nav ul li:hover ul {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .btn-expand {
        bottom: 20px;
        right: 20px;
        font-size: 0.8rem;
    }

    .btn-gallery {
        bottom: 20px;
        right: 15px;
        padding: 6px 14px;
        font-size: 0.75rem;
        border-radius: 20px;
        gap: 6px;
    }

    .btn-gallery i {
        font-size: 0.9em;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .creator-link {
        display: block;
        margin-top: 5px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    /* Country switcher mobile */
    .country-switcher {
        gap: 6px;
        padding: 10px;
        margin: 20px auto 30px;
        border-radius: 16px;
    }

    .country-tab {
        padding: 8px 16px;
        font-size: 0.88rem;
    }

    .page-header .country-switcher {
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 20px;
        margin-bottom: 0;
    }

    .page-header .country-tab {
        color: rgba(255, 255, 255, 0.92);
    }

    .page-header .country-tab.active {
        background: rgba(212, 175, 55, 0.95);
        color: #0F172A;
    }

    .page-header .country-tab:hover:not(.active) {
        background: rgba(255, 255, 255, 0.15);
    }

    .legal-card {
        padding: 26px 18px;
    }

    .legal-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* === 18. INZERCIA DOPYT (premium layout) === */
.inz-page .container {
    max-width: 980px;
}

.inz-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.inz-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.inz-aside {
    position: sticky;
    top: 18px;
}

.inz-aside--premium {
    padding: 0;
    overflow: hidden;
    background:
            radial-gradient(1200px 380px at 30% 0%, rgba(212,175,55,.12), transparent 55%),
            radial-gradient(900px 420px at 90% 10%, rgba(15,23,42,.06), transparent 55%),
            #fff;
}

.inz-aside--premium::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, rgba(212,175,55,.95), rgba(212,175,55,.18));
}

.inz-aside__head {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(15,23,42,.06);
}

.inz-aside__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.inz-aside__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.inz-aside__sub {
    margin: 0;
    opacity: .75;
    line-height: 1.45;
}

.inz-aside__meta {
    margin: 10px 0 0;
    font-size: .92rem;
    line-height: 1.45;
    color: rgba(15,23,42,.78);
}

.inz-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    margin-top: 8px;
    box-shadow: 0 0 0 6px rgba(212,175,55,.10);
}

.inz-badges {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .73rem;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(15,23,42,.08);
    color: rgba(15,23,42,.82);
}

.inz-aside__body {
    padding: 14px 18px 18px;
    display: grid;
    gap: 12px;
}

.inz-steps {
    display: grid;
    gap: 10px;
}

.inz-step {
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #F8FAFC);
    border: 1px solid #E2E8F0;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.inz-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15,23,42,.10);
    border-color: rgba(212,175,55,.35);
}

.inz-step__kpi {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.inz-step__num {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(212,175,55,.18);
    border: 1px solid rgba(212,175,55,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #0F172A;
}

.inz-step__label {
    font-weight: 900;
    margin: 0 0 4px;
}

.inz-step__desc {
    margin: 0;
    opacity: .78;
}

.inz-min {
    margin-top: 2px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #f9fafb);
    border: 1px solid rgba(212,175,55,.28);
}

.inz-min h4 {
    margin: 0 0 10px;
    font-size: .95rem;
}

.inz-min__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    opacity: .95;
}

.inz-min__list li {
    position: relative;
    padding-left: 26px;
    line-height: 1.35;
    font-size: 0.93rem;
}

.inz-min__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: var(--accent);
}

.inz-min__hint {
    margin-top: 10px;
    font-size: .9rem;
    opacity: .75;
}

.inz-kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.inz-kpi__item {
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, rgba(15,23,42,.03));
    border: 1px solid rgba(15,23,42,.08);
    padding: 10px 10px;
    text-align: center;
}

.inz-kpi__val {
    font-weight: 900;
    font-size: .98rem;
    letter-spacing: .2px;
    color: #0F172A;
}

.inz-kpi__lbl {
    font-size: .82rem;
    opacity: .65;
    margin-top: 2px;
}

.inz-trust {
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    padding: 12px;
}

.inz-trust__title {
    font-weight: 900;
    margin: 0 0 8px;
}

.inz-trust__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    opacity: .9;
}

.inz-trust__list li {
    padding-left: 22px;
    position: relative;
    line-height: 1.38;
    margin-top: 2px;
}

.inz-trust__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: rgba(15,23,42,.55);
}

.inz-actions {
    margin-top: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.inz-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.inz-actions .btn {
    width: 100%;
    min-height: 44px;
    white-space: nowrap;
}

.inz-actions .btn-primary {
    grid-column: 1 / -1;
}

.inz-actions .btn-outline {
    opacity: .85;
}

.inz-note {
    margin-top: 2px;
    font-size: .9rem;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(212,175,55,.06);
    border: 1px solid rgba(212,175,55,.18);
}

.inz-file {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed #CBD5E1;
    background: #F8FAFC;
}

.inz-hero {
    text-align: center;
}

.inz-hero .divider {
    margin-left: auto;
    margin-right: auto;
}

.inz-hero p {
    margin-left: auto;
    margin-right: auto;
}

.inz-hero h1 {
    margin-left: auto;
    margin-right: auto;
}

.inz-aside {
    font-size: 0.95rem;
}

.inz-aside p,
.inz-aside li {
    line-height: 1.55;
}

.inz-aside h3,
.inz-aside h4 {
    letter-spacing: -0.01em;
}

/* Mobile adjustments for inzercia */
@media (max-width: 980px) {
    .inz-grid {
        grid-template-columns: 1fr;
    }

    .inz-aside {
        position: static;
    }
}

.leaflet-pane img,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
}

/* ===== O NÁS: CTA tlačidlá + kontrast boxu (SAFE OVERRIDE) ===== */
.about-roadmap{
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 12px 34px rgba(15,23,42,.08) !important; /* prehluší inline */
}

.about-roadmap-list{
    color: #0F172A !important; /* viac kontrastu než #334155 */
}

.about-cta{
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px){
    .about-cta{
        display: grid;
        gap: 12px;
        justify-items: center;
    }
    .about-cta .btn{
        width: 100%;
        max-width: 420px;
    }
}

#contact-map{
    height: 300px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px){
    #contact-map{ height: 260px; }
}
.leaflet-container img { max-width: none !important; }
.leaflet-tile { width:256px; height:256px; }

/* --- Detail nehnuteľnosti --- */

.btn-cta {
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 800;
}
.btn-cta small{ font-weight: 700; opacity: 0.85; }

.gallery-thumbs{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0 0; }
.gallery-thumbs img{
    width:72px; height:52px; object-fit:cover; border-radius:10px;
    cursor:pointer; border:1px solid #e5e7eb;
}

/* ✅ Dokumenty – kompaktné, 1× preview panel */
.docs-box{
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:12px;
    padding:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
    margin: 0 0 22px;
}
.docs-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom: 12px;
}
.docs-title{
    margin:0;
    font-size:1.1rem;
    color:#0F172A;
    font-weight:900;
}
.docs-desc{
    margin:6px 0 0;
    color:#64748B;
    line-height:1.6;
    font-size:0.95rem;
}
.docs-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:12px;
}
.doc-list{
    display:flex;
    flex-direction:column;
    border:1px solid #eef2f7;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}
.doc-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 12px;
    border-top:1px solid #eef2f7;
    cursor:pointer;
    user-select:none;
}
.doc-item:first-child{ border-top:0; }
.doc-item.active{
    background: rgba(212,175,55,0.10);
}
.doc-left{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width: 0;
}
.doc-name{
    font-weight:900;
    color:#0F172A;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width: 100%;
}
.doc-type{
    font-size:0.85rem;
    color:#64748B;
}
.doc-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
    flex-shrink:0;
}
.doc-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #e2e8f0;
    background:#fff;
    font-weight:900;
    color:#0F172A;
    text-decoration:none;
}
.doc-btn:hover{ filter:brightness(0.98); }

.doc-preview{
    border:1px solid #eef2f7;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}
.doc-preview iframe{
    width:100%;
    height:520px;
    border:0;
    display:block;
}
.doc-preview-empty{
    padding:16px;
    color:#64748B;
    font-size:0.95rem;
}

/* na väčších obrazovkách: list + preview vedľa seba */
@media (min-width: 980px){
    .docs-grid{
        grid-template-columns: 420px 1fr;
        gap:14px;
        align-items:start;
    }
    .doc-preview iframe{ height: 520px; }
}

.prop-details .prop-price { white-space: nowrap; }

/* Leaflet divIcon markers (SVG) */
.byv-marker{
    background: transparent !important;
    border: 0 !important;
}

.byv-marker svg{
    display:block;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.25));
}

/* Leaflet marker bounce – SAFE (neprepíše Leaflet transform) */
.leaflet-marker-icon.byvaky-bounce {
    position: relative;
    animation: byvakyBounceTop 0.6s ease;
}

@keyframes byvakyBounceTop {
    0%   { top: 0; }
    30%  { top: -10px; }
    60%  { top: 0; }
    85%  { top: -4px; }
    100% { top: 0; }
}

/* TOP badge vpravo hore (rovnaký look ako v map popupe) */
.prop-img{ position: relative; }

.prop-top-tag{
    position:absolute;
    right:12px;
    top:12px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:7px 12px;
    border-radius:12px;
    font-weight:900;
    font-size:12px;
    letter-spacing:.02em;
    background:rgba(15,23,42,.92);
    color:#fff;
    border:1px solid rgba(212,175,55,.55);
    box-shadow:0 12px 26px rgba(15,23,42,.18);
    pointer-events:none;
}
.prop-top-tag:before{
    content:'';
    width:8px;
    height:8px;
    border-radius:999px;
    background:#d4af37;
    box-shadow:0 0 0 6px rgba(212,175,55,.18);
    display:inline-block;
}