/* 
   Galeria Grafit - Premium Static Website
   Aesthetic: Creamy Editorial
   Fonts: Playfair Display (Headings), Outfit (Body)
   Colors: #FBF9F6 (Cream), #2C2A29 (Charcoal), #A89B8C (Warm Gray), #E5DFD3 (Beige)
*/

:root {
    /* Colors */
    --bg-creamy: #FDFCF9;
    --bg-beige: #E5DFD3;
    --text-dark: #2C2A29;
    --text-muted: #5E5B58;
    --accent: #A89B8C;
    --accent-dark: #8c7b65;
    --white: #FFFFFF;
    
    /* New Brand Colors */
    --brand-dark-blue: #0E2A47;
    --brand-turquoise: #00C2A8;
    --brand-dusty-pink: #C49A9A;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-hero: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;

    /* Transition */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Box Shadow */
    --shadow-sm: 0 4px 12px rgba(44, 42, 41, 0.05);
    --shadow-md: 0 10px 30px rgba(44, 42, 41, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-creamy);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.text-center { text-align: center; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--white);
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.btn-emerald {
    background-color: var(--brand-turquoise);
    color: #ffffff;
    border: 1px solid var(--brand-turquoise);
    border-radius: 8px; /* Slightly more rounded */
    box-shadow: 0 4px 14px rgba(0, 194, 168, 0.3);
}

.btn-emerald:hover {
    background-color: #00a892;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 168, 0.4);
}

.btn-dark-blue {
    background-color: var(--brand-dark-blue);
    color: #ffffff;
    border: 1px solid var(--brand-dark-blue);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(14, 42, 71, 0.3);
}

.btn-dark-blue:hover {
    background-color: #091c30;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 42, 71, 0.4);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 20000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(44, 42, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .dropbtn {
    color: var(--bg-creamy);
}

.navbar.scrolled .logo-link img {
    filter: brightness(0) invert(1);
}

.nav-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-creamy);
    font-size: 1rem;
    font-weight: 500;
    margin-left: 20px;
    transition: var(--transition);
}

.nav-contact-link:hover {
    color: var(--brand-turquoise);
}

.navbar.scrolled .nav-contact-link {
    color: var(--bg-creamy);
}
.navbar.scrolled .nav-contact-link:hover {
    color: var(--brand-turquoise);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 36px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link, .dropbtn {
    color: var(--bg-creamy);
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .dropbtn {
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    border-radius: 4px;
    top: 100%;
    left: 0;
    margin-top: 0; /* Removed the physical gap completely */
    overflow: hidden;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-beige);
}

.dropdown-content a:hover {
    background-color: var(--bg-creamy);
    color: var(--accent-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--bg-creamy);
    transition: var(--transition);
}

.nav-close-btn {
    display: none;
}

.navbar.scrolled .menu-toggle .bar {
    background-color: var(--bg-creamy);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sequence-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.hiw-1 { opacity: 1; visibility: visible; }

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 42, 41, 0.4) 0%, rgba(44, 42, 41, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 24px;
}

.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 30px;
    animation: floating 4s ease-in-out infinite;
}

.social-proof-badge .stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.social-proof-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: var(--font-hero);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 650px;
    margin-inline: auto;
    letter-spacing: 0.02em;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-ctas .btn-primary {
    background-color: var(--bg-creamy);
    color: var(--text-dark);
    border-color: var(--bg-creamy);
}

.hero-ctas .btn-primary:hover {
    background-color: var(--text-dark);
    color: var(--bg-creamy);
    border-color: var(--text-dark);
}

/* --- Editorial Section --- */
.editorial-section {
    padding: 120px 0;
    background-color: var(--bg-creamy);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 32px;
    color: var(--text-dark);
}

.editorial-paragraph {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.link-editorial {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
}

.link-editorial:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.editorial-images {
    position: relative;
    height: 600px;
}

.ed-img-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 80%;
    border-radius: 4px;
    overflow: hidden;
}

.ed-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-img-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 60%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--bg-creamy);
}

.ed-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Apartments Section --- */
.apartments-section {
    padding: 120px 0;
    background-color: var(--white);
}

.apartments-section .section-header {
    margin-bottom: 60px;
}

.apartment-swiper {
    padding-bottom: 60px;
}

.apt-card {
    background-color: var(--bg-creamy);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.apt-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.apt-image-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.apt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.apt-card:hover .apt-image {
    transform: scale(1.05);
}

.apt-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.apt-content {
    padding: 30px;
}

.apt-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    min-height: 60px;
}

.apt-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-beige);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.spec-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.apt-features {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 40px;
}

.apt-link {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.apt-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.apt-card:hover .apt-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Swiper Pagination/Nav Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--text-dark) !important;
    background: var(--white);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--text-dark);
    color: var(--white) !important;
}

.swiper-pagination-bullet {
    background: var(--accent) !important;
}

.swiper-pagination-bullet-active {
    background: var(--text-dark) !important;
}

/* --- Mobile Slider Nav Buttons --- */
.slider-nav-mobile {
    display: none;
}

@media (max-width: 768px) {
    .slider-nav-mobile {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-bottom: 20px;
    }
    .slider-nav-btn {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        border: 1.5px solid var(--bg-beige);
        background: var(--white);
        color: var(--text-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .slider-nav-btn:active {
        background: var(--text-dark);
        color: var(--white);
        border-color: var(--text-dark);
    }
    .apartment-swiper .swiper-button-next,
    .apartment-swiper .swiper-button-prev {
        display: none !important;
    }
}

/* --- Features Bento Grid --- */
.features-bento-section {
    padding: 100px 0;
    background-color: var(--bg-creamy);
}

.features-bento-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
}

.fb-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.fb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.fb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.fb-card:hover .fb-card-img {
    transform: scale(1.05);
}

.fb-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: var(--white);
}

.fb-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}

.fb-card-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
}

/* Wide card — spans as defined by grid */
.fb-card-wide {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Solid color card (no photo) */
.fb-card-solid {
    background: linear-gradient(135deg, #0E7C6B 0%, #0ba390 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fb-card-solid .fb-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--white);
}

.fb-card-solid .fb-card-title {
    color: var(--white);
}

.fb-card-solid .fb-card-desc {
    color: rgba(255,255,255,0.8);
}

/* Bento grid: 5-column grid for asymmetric layout */
@media (min-width: 769px) {
    .features-bento-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: 280px 280px;
    }
    .features-bento-grid .fb-card:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
    .features-bento-grid .fb-card:nth-child(2) { grid-column: 4 / 6; grid-row: 1; }
    .features-bento-grid .fb-card:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
    .features-bento-grid .fb-card:nth-child(4) { grid-column: 3 / 6; grid-row: 2; }
}

@media (max-width: 768px) {
    .features-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .fb-card {
        min-height: 220px;
    }
}

/* --- Sticky CTA Bar --- */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    background: var(--white);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    pointer-events: none;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
}

.sticky-cta-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.sticky-cta-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sticky-cta-btn {
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sticky-cta-inner {
        padding: 12px 16px;
    }
    .sticky-cta-name {
        font-size: 0.95rem;
    }
    .sticky-cta-btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-creamy);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    color: #9A9591;
    font-size: 1rem;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--bg-creamy);
}

.footer-links a {
    display: block;
    color: #9A9591;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bg-creamy);
}

.footer-contact p {
    color: #9A9591;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9A9591;
    font-size: 0.85rem;
}


/* --- Background Utilities --- */
.bg-beige { background-color: var(--bg-beige); }
.bg-creamy { background-color: var(--bg-creamy); }
.bg-white { background-color: var(--white); }

/* --- Trust Signals Section --- */
.trust-signals { padding: 80px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.trust-item { padding: 20px; transition: var(--transition); }
.trust-item:hover { transform: translateY(-5px); }
.trust-icon { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 20px; }
.trust-title { font-size: 1.2rem; margin-bottom: 15px; }
.trust-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- Testimonials Section (Booking Clone) --- */
.testimonials-section { padding: 80px 0; background-color: #f7f7f7; }
.reviews-header { margin-bottom: 40px; }
.reviews-header .section-title { margin-bottom: 15px; }
.booking-logo-center { width: 140px; margin: 0 auto 15px; display: block; }
.rating-info-center { display: flex; flex-direction: column; align-items: center; }
.excelent-text { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); letter-spacing: 1px; }
.rating-info-center .stars { font-size: 20px; color: #003580; margin-bottom: 10px; letter-spacing: 2px; }
.rating-info-center p { font-size: 14px; color: #555; }

.testimoials-swiper { padding-bottom: 20px; overflow: hidden; position: relative;}
.review-card { position: relative; background: var(--white); padding: 25px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
.b-icon { position: absolute; top: 15px; right: 15px; background: #003580; color: white; border-radius: 4px; padding: 2px 6px; font-size: 14px; font-weight: bold; font-family: Arial, sans-serif; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.reviewer-info { display: flex; flex-direction: column; }
.reviewer-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 0; color: var(--text-dark); }
.reviewer-meta { display: flex; align-items: center; gap: 6px; }
.reviewer-meta span { font-size: 12px; color: #777; }
.verified-icon { width: 14px; height: 14px; color: #003580; }

.review-content { display: flex; flex-direction: column; gap: 5px; }
.review-stars { font-size: 14px; color: #003580; letter-spacing: 1px; }
.review-text { font-size: 15px; font-weight: 500; color: #333; margin: 0; line-height: 1.5; }

/* Swiper overrides for testimonials */
.testimonials-slider { position: relative; width: 100%; }
.test-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: white; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; z-index: 10; cursor: pointer; color: var(--text-dark); }
.test-prev { left: -20px; }
.test-next { right: -20px; }
.test-nav:hover { background: #f0f0f0; }

@media (min-width: 768px) {
    .testimoials-swiper { padding-bottom: 0; overflow: visible; }
    .testimoials-swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; box-sizing: border-box; }
    .testimoials-swiper .swiper-slide { width: auto !important; height: auto !important; }
    .test-nav { display: none !important; }
}

/* --- Timeline Page (Despre Noi) --- */
.hero-bw { filter: grayscale(100%) brightness(0.7); }
.timeline-section { padding: 100px 0; background-color: var(--bg-creamy); position: relative; }
.relative-container { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(168, 155, 140, 0.4); transform: translateX(-50%); }
.timeline-node { display: flex; align-items: flex-start; margin-bottom: 80px; position: relative; width: 50%; }
.left-node { justify-content: flex-end; padding-right: 40px; text-align: right; }
.right-node { left: 50%; padding-left: 40px; }
.timeline-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); top: 10px; transition: background 0.4s; }
.left-node .timeline-dot { right: -8px; }
.right-node .timeline-dot { left: -8px; }
.timeline-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition); border-left: 3px solid transparent; width: 100%; }
.left-node .timeline-card { border-left: none; border-right: 3px solid transparent; }
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.timeline-year { font-size: 2rem; color: var(--accent); margin-bottom: 5px; font-family: var(--font-heading); }
.timeline-title { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-dark); }
.timeline-text { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.timeline-img { border-radius: 4px; margin-top: 20px; width: 100%; height: 200px; object-fit: cover; }

/* --- Parallax CTA --- */
.parallax-cta { position: relative; background-image: url('Hero.webp'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; padding: 140px 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.relative-z { position: relative; z-index: 5; }
.text-white { color: var(--white); margin-bottom: 30px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.pulse-btn { animation: pulseBtn 2s infinite; }
@keyframes pulseBtn { 0% { box-shadow: 0 0 0 0 rgba(12, 139, 97, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(12, 139, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 139, 97, 0); } }

/* --- Footer Minimal Grid --- */
.contact-grid p { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: #9A9591; }
.contact-icon { width: 18px; height: 18px; color: var(--accent); }

/* --- SEO Section --- */
.seo-section { padding: 100px 0; }
.seo-content { max-width: 800px; margin: 0 auto; text-align: left; }
.seo-content .section-title { text-align: center; margin-bottom: 30px; font-size: 2.2rem; }
.seo-text { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; text-align: center; }
.seo-subtitle { font-size: 1.5rem; margin-bottom: 25px; color: var(--text-dark); }
.seo-list { list-style: none; padding: 0; }
.seo-list li { position: relative; padding-left: 25px; margin-bottom: 15px; font-size: 1.05rem; color: var(--text-muted); }
.seo-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent); font-size: 1.5rem; line-height: 1; top: -2px; }


/* --- Responsive --- */
@media (max-width: 1024px) {
    .editorial-grid {
        gap: 40px;
    }
    
    .editorial-images {
        height: 500px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        inset: 0;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-creamy);
        width: 100%;
        height: 100vh;
        justify-content: flex-start;
        align-items: center;
        transition: 0.4s ease;
        padding: 80px 30px 40px;
        z-index: 9999 !important;
        margin: 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* Close button */
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(44, 42, 41, 0.06);
        cursor: pointer;
        color: var(--text-dark);
        transition: var(--transition);
        list-style: none;
        z-index: 10;
    }
    .nav-close-btn:hover {
        background: rgba(44, 42, 41, 0.12);
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link, .dropbtn {
        color: var(--text-dark) !important;
        font-size: 1.4rem;
        font-weight: 500;
        background: transparent !important;
        text-shadow: none !important;
        transition: color 0.3s ease;
    }

    .nav-link:hover, .nav-link.active-page, .dropbtn:hover {
        color: var(--brand-dark-blue) !important;
    }

    /* Mobile dropdown → 3-column compact grid */
    .dropdown-content {
        position: static !important;
        display: none;
        box-shadow: none !important;
        background: transparent !important;
        min-width: unset !important;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 10px;
    }

    .dropdown-content a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 8px;
        font-size: 0.85rem;
        font-weight: 500;
        border-bottom: none;
        border-radius: 10px;
        background: var(--white);
        color: var(--text-dark) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        transition: var(--transition);
    }

    .dropdown-content a:hover {
        background: var(--brand-turquoise) !important;
        color: var(--white) !important;
    }

    .dropdown-content a .apt-size {
        font-size: 0.75rem;
        opacity: 0.6;
    }

    /* 3-column grid for apartments */
    .dropdown-content[style*="display: block"],
    .dropdown-content {
        display: none;
    }
    .dropdown-content[style*="display: block"] {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        max-width: 340px;
        margin: 10px auto 0;
    }

    .menu-toggle {
        z-index: 10000 !important;
    }

    .navbar:not(.scrolled) .menu-toggle .bar {
        background-color: var(--white);
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Editorial */
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .editorial-images {
        display: none; /* Simplification point or adapt layout. Let's adapt it */
        display: block;
        margin-top: 40px;
        height: 400px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-contact-link {
        display: none; /* Hide top right on mobile to avoid clutter */
    }

    .timeline-line { left: 20px; transform: none; }
    .timeline-node { width: 100%; top: 0 !important; }
    .left-node, .right-node { left: 0; padding-left: 50px; padding-right: 0; text-align: left; }
    .left-node .timeline-dot, .right-node .timeline-dot { left: 12px; right: auto; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Single Apartment Bento Gallery --- */
.apt-gallery-section {
    padding-bottom: 40px;
}
.bento-gallery {
    display: grid;
    grid-template-columns: 66% 1fr;
    gap: 12px;
    height: 500px;
}
.bento-hero {
    position: relative;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}
.bento-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bento-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.bento-img-wrapper {
    position: relative;
    overflow: hidden;
}
.bento-img-wrapper:nth-child(2) { border-radius: 0 12px 0 0; }
.bento-img-wrapper:nth-child(4) { border-radius: 0 0 12px 0; }
.bento-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bento-overlay-more {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(14, 42, 71, 0.6); /* Brand Dark Blue with opacity */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.bento-overlay-more:hover {
    background: rgba(14, 42, 71, 0.4);
}
.hover-zoom {
    transition: transform 0.5s ease;
}
.hover-zoom:hover {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .bento-gallery {
        grid-template-columns: 1fr;
    }
    .bento-hero { border-radius: 12px 12px 0 0; }
    .bento-img-wrapper:nth-child(2) { border-radius: 0; }
    .bento-img-wrapper:nth-child(3) { border-radius: 0 0 0 12px; }
}

@media (max-width: 768px) {
    .bento-gallery {
        display: none;
    }
    .gallery-mobile {
        display: block;
        height: 300px;
        border-radius: 12px;
        overflow: hidden;
    }
    .gallery-mobile img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
@media (min-width: 769px) {
    .gallery-mobile {
        display: none !important;
    }
}

/* --- Masonry/Extended Gallery & Lightbox --- */
.masonry-gallery-section {
    padding: 60px 0;
    background-color: var(--white);
}

.extended-gallery-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.extended-gallery-swiper .swiper-slide img:hover, .bento-hero img:hover, .bento-img-wrapper img:hover, .gallery-mobile img:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 20002;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--brand-turquoise);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    z-index: 20002;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--brand-turquoise);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* --- Amenities Grid --- */
.amenities-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .amenities-grid-2col {
        grid-template-columns: 1fr;
    }
}
.amenity-group h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--brand-dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.amenity-group ul {
    list-style: none;
}
.amenity-group ul li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.amenity-group ul li i, .amenity-group ul li svg {
    color: var(--brand-dark-blue);
    width: 20px;
    height: 20px;
}

/* --- Specs Bar --- */
.apt-specs-bar {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid var(--bg-beige);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 60px;
}
.specs-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}
.spec-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}
.spec-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: var(--bg-beige);
}
.spec-bar-item .icon {
    font-size: 1.4rem;
    color: var(--brand-dark-blue);
}
@media (max-width: 768px) {
    .specs-bar-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }
    .spec-bar-item:nth-child(2)::after {
        display: none;
    }
    .spec-bar-item::after {
        height: 30px;
    }
}

/* --- Trust Policies Cards --- */
.trust-policies-section {
    padding: 60px 0;
    background-color: var(--bg-creamy);
}
.trust-policies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.policy-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    text-align: center;
    transition: var(--transition);
}
.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}
.policy-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--brand-dark-blue);
    background: rgba(14, 42, 71, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.policy-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.policy-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .trust-policies-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Desc Section --- */
.apt-description {
    padding: 20px 0 60px;
}
.desc-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}
.title-seo {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--brand-dark-blue);
}
.desc-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.host-tip-box {
    background: var(--bg-beige);
    padding: 40px;
    border-radius: 12px;
    border-left: none;
    border-top: 4px solid var(--brand-turquoise);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.host-tip-box h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--brand-dark-blue);
}
@media (max-width: 768px) {
    .desc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .title-seo {
        font-size: 1.8rem;
    }
}

/* --- Mobile Sticky Footer --- */
.mobile-sticky-footer {
    display: none;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 120px;
    }
    .mobile-sticky-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
        padding: 10px 20px;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
    }
    .sticky-price-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .sticky-unit-name {
        font-weight: 600;
        font-size: 1rem;
        color: var(--brand-dark-blue);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px; /* Ensures long names fit securely */
    }
    .sticky-price {
        font-size: 0.95rem;
        color: var(--text-muted);
        margin-top: 2px;
    }
    .sticky-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        align-self: center;
        border-radius: 8px;
    }
    /* Responsive Footer Stacking */
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 20px !important;
    }
    .footer-brand, .footer-contact, .footer-links, .footer-socials {
        margin-bottom: 10px;
    }
    .footer-brand img {
        margin: 0 auto 15px auto !important;
    }
    .footer-socials > div {
        justify-content: center;
    }
}
