
:root {
    --primary: #0A1128; /* Deep Navy */
    --primary: #0A2B36; /* Midnight Teal */
    --secondary: #A89F87; /* Champagne Gold */
    --white: #FFFFFF;
    --bg-light: #F4F4F2; /* Soft Off-white */
    --text-muted: #666666;
    --calc-navy: var(--primary);
    --calc-gold: var(--secondary);
    --transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 15vh 0;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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


/* Typography Utilities */
.text-gold { color: var(--secondary); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

/* --- Navigation: Engel & Völkers Style (Clean White) --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px; /* More compact for single row */
    background: var(--primary) !important;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 10000 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.main-nav.scrolled {
    height: 90px;
}

.nav-row {
    display: flex;
    justify-content: flex-start; /* Start from left */
    align-items: center;
    width: 100%;
}

.logo-container {
    margin-right: 2rem; /* Reduced space */
    flex-shrink: 0;
}

.logo-container img {
    height: 65px; /* Smaller to fit everything */
    width: auto;
    transition: all 0.4s ease;
}

.main-nav.scrolled .logo-container img {
    height: 60px;
}





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

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}



.desktop-menu {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu > li > a {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: none; /* E&V uses natural case */
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent wrapping */
}

.desktop-menu > li > a:hover {
    color: #000;
}

/* Gold Underline Effect */
.desktop-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C5A880;
    transition: all 0.3s ease;
}

.desktop-menu > li:hover > a::after {
    width: 100%;
}

/* Mega Menu Structure */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 3rem 0;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.desktop-menu li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.mega-column {
    flex: 1;
}

.mega-title {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.2rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.mega-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    max-width: 280px;
}

.mega-category {
    font-size: 0.65rem;
    color: #999;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mega-links {
    list-style: none;
    padding: 0;
}

.mega-links li {
    margin-bottom: 0.8rem;
}

.mega-links li a {
    color: #333;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.mega-links li a:hover {
    color: #C5A880;
    padding-left: 5px;
}

.mega-image-col {
    flex: 1.5;
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
}

.mega-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Menu Button & Hamburger */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 1099px) {
    .menu-btn {
        display: flex;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 1px;
    background: #ffffff;
    transition: all 0.3s ease;
}


/* CTA Button Styling */
.btn-nav {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 28px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-nav:hover {
    background: #C5A880;
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Fix Mega Menu Positioning */
.desktop-menu {
    position: static;
}

.desktop-menu > li {
    position: static; /* Allows mega menu to span full nav width */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 4rem 0;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.main-nav.scrolled .logo-container img {
    height: 60px;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu li a {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: none; /* E&V uses natural case */
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.desktop-menu li a:hover {
    color: #ffffff;
}

/* E&V Style Red/Gold Underline */
.desktop-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C5A880; /* Gold Accent */
    transition: all 0.3s ease;
}

.desktop-menu li a:hover::after,
.desktop-menu li a.active::after {
    width: 100%;
}

/* Navigation Button (CTA) */
.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.75rem;
    background: var(--secondary);
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
}

.btn-nav:hover {
    background: #C5A880;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mega Menu - Clean White Style */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 4rem 0;
    border-top: 1px solid #f0f0f0;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.mega-title {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.mega-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 320px;
}

.mega-category {
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.mega-links li a {
    color: #333 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    transition: color 0.3s ease !important;
}

.mega-links li a:hover {
    color: #C5A880 !important;
    transform: none !important;
}


.mega-image-col {
    flex: 1.8;
    height: 320px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.mega-image-col::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(10, 24, 31, 0.4), transparent);
    pointer-events: none;
}



.mega-image-col {
    flex: 1.5;
    height: 280px;
    border-radius: 4px;
    overflow: hidden;
}

.mega-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.has-mega:hover .mega-image-col img {
    transform: scale(1.05);
}

.nav-utility-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Responsive Visibility */
@media (min-width: 1100px) {
    .mobile-only { display: none !important; }
}

@media (max-width: 1099px) {
    .desktop-only { display: none !important; }
    
    .main-nav {
        height: 70px !important;
        padding: 0 !important;
    }

    .nav-row {
        justify-content: space-between !important;
        padding: 0 6% !important;
        height: 100%;
    }

    .logo-container {
        margin-right: 0 !important;
    }

    .logo-container img {
        height: 45px !important; /* Proper size for mobile */
    }

    .nav-right {
        margin-left: 0 !important;
    }

    .btn-nav {
        display: none !important; /* Hide CTA button on mobile header */
    }

    /* Mobile Menu Button */
    .menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
    }

    .hamburger {
        width: 25px;
        height: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 1.5px;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }
}


/* --- E&V Masterpiece Hero Layout --- */
.hero-ev-masterpiece {
    background-color: #fcfcfc;
    padding: 160px 0 80px; /* Increased from 100px to 160px for more top space */
    position: relative;
}

.hero-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px; /* Ferah boşluk */
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Slide Info Fix */
.slide-info {
    position: absolute;
    top: 50px;
    left: 50px;
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
    z-index: 5;
}

.slide-info .loc {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff !important;
}

.slide-info .price {
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.hero-heading-box h1 {
    font-size: 3.5rem !important;
    font-weight: 500;
    line-height: 1.1;
    color: var(--primary);
}

.hero-search-box-right {
    width: 480px;
    padding-bottom: 10px;
}

/* Search Bar Refinement */
.search-tabs-clean {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.8rem;
}

.search-tab-clean {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    cursor: pointer;
    opacity: 0.4;
}

.search-tab-clean.active {
    opacity: 1;
    border-bottom: 2px solid #D40511; /* Iconic E&V Red or your Gold? Using red for tab to match iconic look */
    border-bottom: 2px solid var(--secondary);
}

.search-bar-clean {
    display: flex;
    background: var(--white);
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.search-inner-flex {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-icon-building {
    display: flex;
    align-items: center;
    color: #888;
    padding-left: 5px;
}

.search-icon-building svg:first-child {
    width: 26px; /* Büyütülmüş ana ikon */
    height: 26px;
}

.clean-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #333;
    padding-left: 15px;
}

.clean-submit-btn {
    background: #D40511; /* Iconic E&V Red */
    background: var(--secondary); 
    color: var(--white);
    border: none;
    width: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider and Indicators */
.hero-slider-container {
    position: relative;
    max-width: 1200px !important;
    margin: 0 auto;
}

.hero-main-slider {
    width: 100%;
    height: 520px;
    aspect-ratio: 1200 / 520;
    background-color: #f0f0f0; /* Placeholder color if image fails */
    position: relative;
    display: block;
}

.hero-main-slider .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-main-slider .slide.active {
    opacity: 1;
}

.slider-indicators {
    position: absolute;
    bottom: 80px; /* Position above overlapping cards */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
}

.indicator {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.indicator.active {
    background: #fff;
}

/* Overlapping CTA Cards - Precise Example Alignment */
.hero-cta-overlap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%); /* Centered to match slider container */
    z-index: 10;
    width: 100%;
    max-width: 1200px !important; /* Slider width match */
}

.hero-cta-card {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.hero-cta-card:hover {
    transform: translateY(-5px);
}

.cta-img-box {
    width: 65px;
    height: 50px;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.cta-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes it look like the example */
}

.cta-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.cta-text span {
    line-height: 1.3;
}

.cta-text svg {
    color: #999;
}

@media (max-width: 991px) {
    .hero-ev-masterpiece {
        padding: 120px 0 30px; /* Increased for mobile header space */
    }

    /* Change order for mobile: Slider on top */
    .hero-ev-masterpiece .container {
        display: flex;
        flex-direction: column;
    }

    .hero-slider-container {
        order: 1; /* Slider becomes first */
        margin-bottom: 25px;
    }

    .hero-top-flex {
        order: 2; /* Heading and Search become second */
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .hero-cta-overlap {
        order: 3; /* Cards stay at bottom */
        grid-template-columns: 1fr;
        position: relative;
        bottom: 0;
        margin-top: 20px;
        padding: 0; /* Kenar boşlukları sıfırlandı, slider ile aynı hizaya uzandı */
        gap: 1px; /* Kartlar arasında ince bir çizgi gibi boşluk bırakalım veya 0 yapalım */
        background: #eee; /* Kartlar arası çizgi için */
    }

    .hero-cta-card {
        padding: 20px 15px;
        border-radius: 0; /* Tam uzama için köşeleri mobilde sıfırlayalım mı? Yoksa kalsın mı? Örnekte sıfır gibi duruyor. */
        border-left: none;
        border-right: none;
    }

    .hero-heading-box h1 {
        font-size: 2.1rem !important;
        line-height: 1.1;
        margin-bottom: 80px !important; /* ZORUNLU BOŞLUK */
        text-align: left;
    }

    .hero-search-box-right {
        width: 100%;
    }

    .search-tabs-clean {
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .search-bar-clean {
        height: 52px;
    }

    .hero-main-slider {
        height: 250px;
        aspect-ratio: 4 / 3;
        border-radius: 4px;
        overflow: hidden;
    }

    .slide-info {
        top: 20px;
        left: 20px;
    }

    .slide-info .loc {
        font-size: 1.2rem;
    }
}
/* --- End E&V Masterpiece Hero Layout --- */

/* --- Valuation Focus Hero --- */
.valuation-hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 100px; /* Increased top padding to clear nav and bottom for safe space */
    z-index: 10;
}

.valuation-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/investment_interior.png') no-repeat center center/cover;
    filter: blur(12px) brightness(0.6);
    transform: scale(1.1);
    z-index: 1;
}

.valuation-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 46, 53, 0.4); 
    z-index: 2;
}

.valuation-card-container.main-header-card {
    position: relative;
    z-index: 20;
    max-width: 1100px; /* Significantly wider as requested */
    background: #ffffff;
    padding: 6rem 5rem; /* Increased padding for grander feel */
    border-radius: 4px;
    box-shadow: 0 50px 120px rgba(0,0,0,0.5);
    text-align: center;
}

.container-hero-valuation {
    position: relative;
    z-index: 15;
    width: 100%;
}

/* Row 1: Horizontal Investment Card */
.card-bento-top {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.bento-top-img {
    flex: 0 0 40%;
}

.bento-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-top-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.bento-top-info h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.bento-top-info p {
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* Row 2: Pill Buttons */
.card-bento-middle {
    display: flex;
    gap: 1rem;
}

.pill-btn {
    flex: 1;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Row 3: Bottom Image Cards */
.card-bento-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bento-bottom-card {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.bento-bottom-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-bottom-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-bottom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.bento-bottom-label {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    z-index: 3;
}

.hero p {
    color: rgba(255,255,255,0.7);
}

/* Premium Split Sections */
.split-section {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 85vh;
    padding: 10vh 5%;
    gap: 6%;
    background-color: var(--white);
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    height: 75vh;
    overflow: hidden;
    position: relative;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    flex: 1;
    padding: 2rem 0;
}

.split-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 300;
}

.split-content p {
    font-size: 1.05rem;
    color: #444; /* Darker for accessibility */
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 550px;
    line-height: 1.8;
}

.bg-beige {
    background-color: #FDFBF7; /* Very pale, elegant beige just to separate slightly */
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    padding: 1rem 3rem;
    border: 1px solid var(--secondary);
    background: transparent !important; /* Force remove browser default blue */
    color: var(--secondary) !important; /* Consistent gold text */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: var(--font-serif);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border-radius: 0;
}

.btn-luxury:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateX(10px);
}

.btn-luxury .arrow {
    margin-left: 1.5rem;
}

/* Services Redesign - Luxury Grid */
.bg-light-tint {
    background-color: #FAFAFA;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.benefit-list, .mini-list {
    margin: 2.5rem 0;
    padding-left: 0;
}

.benefit-list li, .mini-list li {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-weight: 400;
}

.benefit-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0 3rem;
}

.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 0.5px solid rgba(168, 159, 135, 0.3);
    color: var(--secondary);
}

.mb-5 { margin-bottom: 5rem; }

.luxury-service-card {
    background: var(--white);
    padding: 4rem 3rem;
    position: relative;
    border: 0.5px solid rgba(191, 163, 126, 0.2);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.luxury-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.05);
}

.service-num {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(191, 163, 126, 0.4); /* Made darker per client request */
    line-height: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 2.5rem;
    color: var(--secondary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.sub-heading {
    display: block;
    letter-spacing: 0.3em; /* Grander spacing */
    font-size: 0.9rem; /* Larger */
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 0.3em;
    text-align: center;
    text-transform: uppercase;
}

.luxury-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 400;
}

.luxury-service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-cta {
    margin-top: auto;
    padding-top: 2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transition: var(--transition);
}

.luxury-service-card:hover .service-cta {
    opacity: 1;
}

/* Lead Generation: Property Valuation */
.valuation-section {
    position: relative;
    padding: 15vh 0;
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.valuation-section h2, 
.valuation-section p,
.strategic-core-section h2,
.strategic-core-section p,
.strategic-core-section .lead {
    color: var(--white) !important;
}
/* --- New Main Hero: Valuation Focus --- */
.valuation-hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 100px;
    z-index: 10;
    background-color: transparent;
}

@media (max-width: 768px) {
    .valuation-hero-main {
        background-color: #FDFBF7 !important; /* Solid light beige background on mobile */
    }
    .valuation-hero-bg {
        display: none; /* Hide blurred image on mobile */
    }
}

.valuation-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/investment_interior.png') no-repeat center center/cover;
    filter: blur(10px) brightness(1.1); /* Increased brightness significantly */
    transform: scale(1.1);
    z-index: 1;
}

.valuation-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(26, 46, 53, 0.2) 100%); /* Lighter, more elegant gradient */
    z-index: 2;
}

.container-hero-valuation {
    position: relative;
    z-index: 10;
    width: 100%;
}

.main-header-card {
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Tabs (E&V Style) */
.hero-tabs-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hero-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-primary);
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hero-tab-btn.active {
    color: var(--primary);
}

.hero-tab-btn.active::after {
    transform: scaleX(1);
}

.hero-tab-content {
    display: none;
    animation: fadeInTab 0.5s ease;
}

.hero-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Search Bar */
.hero-search-form {
    max-width: 800px;
    margin: 0 auto;
}

.hero-search-bar {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px; /* E&V style sharp/slight radius */
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-search-select {
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--primary);
    outline: none;
    cursor: pointer;
    min-width: 150px;
}

.hero-search-divider {
    width: 1px;
    background: #ddd;
    margin: 0.5rem 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    color: var(--primary);
}

.hero-search-input::placeholder {
    color: #aaa;
}

.hero-search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    border-radius: 2px;
}

.hero-search-btn:hover {
    background: var(--secondary);
}

/* Property Selection Step UI */
.valuation-step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.valuation-step.active {
    display: block;
    opacity: 1;
}

.property-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.property-card {
    border: 1px solid #e0d9ca;
    padding: 3.5rem 2rem; /* Larger cards */
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fdfaf4;
}

.property-card:hover {
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(156, 139, 102, 0.15);
}

.property-icon {
    width: 80px; /* Larger icons */
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-arrow {
    display: none; /* Hide by default on desktop */
}

.property-card h3 {
    font-size: 1.1rem; /* Larger label */
    color: var(--primary);
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Trust List & Decoration */
.valuation-trust-factors {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block; /* Allow container to be centered */
    text-align: left; /* Keep text aligned to checkmarks inside the centered container */
}

.trust-list li {
    font-size: 1.1rem; /* Larger font for trust list */
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    color: var(--primary);
    justify-content: flex-start;
}

.trust-list .check {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 0.8rem;
}

.text-mini { 
    font-size: 0.95rem;
    color: #444 !important; /* Force dark color for visibility */
    margin-top: 2rem;
    display: block;
    opacity: 1 !important;
}

.valuation-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05); /* Subtle separator */
    margin-top: 1rem;
}

.step-back { cursor: pointer; color: var(--secondary); font-size: 0.85rem; margin-bottom: 1.5rem; display: inline-block; }

.form-row-valuation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row-valuation input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: #fdfaf4;
    outline: none;
}


/* Strategic Core Section */
.strategic-core-section {
    padding: 100px 0;
    background-color: var(--primary);
}

.strategic-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.valuation-header h2 {
    font-size: 4rem; /* Grand impact size */
    margin: 1.5rem 0 4.5rem;
    color: var(--primary);
    line-height: 1.2;
}

.core-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white); /* Explicit white color */
}

.core-text .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--white); /* Explicit white color */
}

.core-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.core-feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
    color: var(--white); /* Explicit white color for text */
}

.core-feature-item p {
    margin: 0;
    color: var(--white);
    opacity: 0.9;
}

.core-icon {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .property-select-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .valuation-card-container.main-header-card {
        padding: 4rem 1.5rem; 
        width: 100%;
        box-shadow: none; /* Cleaner mobile look */
        background: transparent;
    }
    .valuation-header h2 {
        font-size: 1.7rem;
        margin: 0.5rem 0 2rem;
        text-align: left;
    }
    .sub-heading {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-bottom: 1rem;
        text-align: left;
        padding-left: 0;
    }
    .property-card {
        padding: 1.2rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 1.5rem;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .property-icon {
        width: 45px;
        height: 45px;
        margin: 0;
    }
    .property-card h3 {
        font-size: 0.95rem;
        flex: 1;
        margin: 0;
    }
    .card-arrow {
        display: block;
        width: 20px;
        height: 20px;
        color: #ccc;
    }
    .trust-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .trust-list li {
        font-size: 0.85rem;
        justify-content: flex-start;
    }
    .text-mini {
        font-size: 0.8rem;
        text-align: left;
    }
    .form-row-valuation {
        grid-template-columns: 1fr;
    }
    .split-content h2,
    h1, h2, .serif {
        word-break: break-word !important; 
        hyphens: auto !important;
        overflow-wrap: break-word !important;
    }
    h1 {
        font-size: 1.5rem !important; /* Scaled down further to fit 'Datenschutzerklärung' on small screens */
        letter-spacing: -0.02em !important; /* Slight squeeze for ultra-long words */
    }
    .split-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .valuation-hero-main {
        padding: 80px 0 40px;
    }
}

@media (max-width: 991px) {
    .strategic-core-grid { grid-template-columns: 1fr; gap: 3rem; }
    .core-text h2 { font-size: 2.5rem; }
}

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

.btn-loader {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

#valuationSuccess {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.valuation-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.valuation-form-mini {
    display: flex;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3.5rem auto 0;
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    align-items: flex-end;
}

.valuation-form-mini input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 1rem 0;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.valuation-form-mini input:focus {
    border-bottom-color: var(--secondary);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Investment Building Content */
.container-narrow {
    max-width: 800px;
}

.img-investment {
    margin: 3rem 0;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Footer Redesign - Example Match */
footer {
    background-color: var(--primary); /* Midnight Teal */
    padding: 15vh 0 5rem;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 10%;
    margin-bottom: 8rem;
}

.footer-heading {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    color: var(--secondary);
}

.newsletter-input-group {
    position: relative;
    max-width: 400px;
    border-bottom: 1px solid rgba(168, 159, 135, 0.3);
    padding-bottom: 0.8rem;
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    color: var(--white);
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255,255,255,0.3);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 0.5px solid rgba(168, 159, 135, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--primary);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-link-item {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    text-transform: uppercase;
}

.contact-section {
    margin-bottom: 2.5rem;
}

.contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--secondary); /* Changed from muted to gold for visibility */
    margin-bottom: 0.8rem;
    display: block;
    opacity: 0.8;
}

.contact-value {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white); /* Changed from primary (dark) to white for contrast */
    font-weight: 300;
}

.footer-middle {
    padding-top: 80px;
    margin-bottom: 60px;
}

.slogan-text {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--white);
    opacity: 0.9;
}

/* Footer Refinements */
.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 2rem 0;
    border-bottom: 1px solid rgba(168, 159, 135, 0.4);
    transition: var(--transition);
}

.newsletter-form:focus-within {
    border-color: var(--secondary);
}

.newsletter-input {
    background: transparent !important;
    border: none !important;
    padding: 1rem 0;
    color: var(--white);
    flex: 1;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.newsletter-submit {
    background: transparent;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 1rem;
    transition: var(--transition);
}

.newsletter-submit:hover {
    transform: translateX(5px);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 8%;
    margin-bottom: 6rem;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    display: block;
    opacity: 0.9;
}

.contact-value {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 300;
}

.slogan-text {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--white);
    opacity: 0.95;
    line-height: 1.2;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Menu Drawer Styles */
.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    display: none; /* Mobilde arkadaki kartlara tıklanmasını engellemek için kesin çözüm */
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

body.menu-open .menu-drawer {
    visibility: visible;
    opacity: 1;
    display: block;
    pointer-events: all;
}

.menu-drawer-inner {
    display: flex;
    height: 100%;
    width: 100%;
}

.menu-drawer-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

body.menu-open .menu-drawer-image {
    transform: translateX(0);
    opacity: 1;
}

.menu-drawer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-drawer-content {
    flex: 1.2;
    padding: 100px 8% 5% 8%;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

body.menu-open .menu-drawer-content {
    transform: translateX(0);
    opacity: 1;
}

/* Panel System */
.menu-panel-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

body.menu-open .menu-panel.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
    visibility: visible !important;
    z-index: 100;
}

.menu-panel.out-left {
    transform: translateX(-30%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Panel UI Elements */
.panel-header {
    margin-bottom: 3rem;
}

.btn-panel-back {
    background: none;
    border: none;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0;
}

.btn-panel-back svg {
    width: 20px;
    height: 20px;
}

.panel-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.panel-category {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    display: block;
    opacity: 0.7;
}

.menu-links, .sub-menu-links {
    list-style: none;
}

.menu-links li, .sub-menu-links li {
    margin-bottom: 1.8rem;
    overflow: hidden;
}

.menu-links a, .sub-menu-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-weight: 300;
}

.menu-links a { font-size: 2.2rem; }
.sub-menu-links a { font-size: 1.4rem; }
.panel-title { font-size: 2.5rem !important; margin-bottom: 2rem; }

.menu-links a::after {
    content: "→";
    margin-left: 1.5rem;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--secondary);
}

.panel-trigger::after {
    opacity: 0.4 !important;
    transform: translateX(0) !important;
}

.menu-links a:hover, .sub-menu-links a:hover {
    color: var(--secondary);
    transform: translateX(10px);
}

.menu-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.menu-drawer-footer {
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w-100 { width: 100% !important; }
.mb-4 { margin-bottom: 2rem !important; }


/* Hamburger to X Animation */
.menu-btn.active .hamburger span:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-btn.active .hamburger span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

body.menu-open {
    overflow: hidden;
}

/* Ensure nav stays above drawer for the button to remain reachable */
nav {
    z-index: 2000 !important;
}

body.menu-open nav {
    background: transparent !important;
    box-shadow: none !important;
}

body.menu-open .menu-btn {
    color: var(--white) !important;
}

body.menu-open .hamburger span {
    background: var(--white) !important;
}

/* Mobile Responsiveness & Refinement */
/* --- Valuation Multi-Step Modal Styles --- */
.valuation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: none; /* Initially hidden */
    align-items: flex-start; /* Changed from center to allow scrolling */
    justify-content: center;
    padding: 3rem 1rem; /* Added padding to ensure spacing on small desktops */
    overflow-y: auto; /* Make the overlay scrollable */
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.valuation-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.valuation-modal-body {
    background: #FFFFFF;
    width: 100%;
    max-width: 800px;
    margin: auto; /* This centers horizontally and vertically (if taller than screen, flex-start pushes it to top with padding) */
    position: relative;
    padding: 4rem;
    border-radius: 4px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
    animation: modalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #F0F0F0;
}

.modal-progress-bar {
    height: 100%;
    background: var(--secondary);
    transition: width 0.4s ease;
}

.modal-step-info {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.modal-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.modal-step.active {
    display: block;
}

.modal-step h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    word-break: break-word; /* Prevents long words from being cut off horizontally */
}

.step-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* Form Styles inside Modal */
.form-group-modal {
    margin-bottom: 2rem;
}

.form-group-modal label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group-modal input[type="text"],
.form-group-modal input[type="number"],
.form-group-modal input[type="email"],
.form-group-modal input[type="tel"] {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #E5E5E5;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group-modal input:focus {
    border-color: var(--secondary);
    outline: none;
}

.form-row-modal {
    display: flex;
    gap: 1.5rem;
}

.form-row-modal .form-group-modal {
    flex: 1;
}

/* Custom Selection Grid (Radio buttons replacement) */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.selection-item {
    cursor: pointer;
    border: 1px solid #E5E5E5;
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.selection-item input {
    display: none;
}

.selection-item:hover {
    border-color: var(--secondary);
    background: #FAFAFA;
}

.selection-item:has(input:checked) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.checkbox-item {
    cursor: pointer;
    border: 1px solid #E5E5E5;
    padding: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.checkbox-item:hover {
    border-color: var(--secondary);
}

.checkbox-item:has(input:checked) {
    border-color: var(--secondary);
    background: #FDFBF7;
}

.step-notice {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #F0F0F0;
}

.step-notice p {
    font-size: 0.85rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.btn-modal-back {
    background: none;
    border: none;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    cursor: pointer;
}

.btn-modal-next, .btn-modal-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem 3.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-next:hover, .btn-modal-submit:hover {
    background: var(--secondary);
}

/* Modal Mobile Adapts */
@media (max-width: 768px) {
    /* Modalın mobilde kaydırılabilir olmasını ve içeriğin kesilmemesini sağlayan kesin kurallar */
    .valuation-modal-overlay {
        align-items: flex-start !important;
        overflow-y: auto !important;
        padding: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .valuation-modal-body {
        width: 100% !important;
        min-height: 100vh !important;
        padding: 2.5rem 1.5rem 2rem !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .modal-step h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .step-desc {
        font-size: 0.9rem !important;
        margin-bottom: 2rem !important;
    }

    .modal-footer {
        flex-direction: column-reverse !important;
        gap: 1.5rem !important;
        margin-top: auto !important;
        padding-top: 2rem;
    }

    .btn-modal-next, .btn-modal-submit {
        width: 100% !important;
        padding: 1.2rem 2rem !important;
    }

    .modal-close {
        top: 1rem !important;
        right: 1.2rem !important;
        font-size: 2.2rem !important;
    }

    /* Fixed grid overflow for long text on mobile */
    .selection-grid, .checkbox-grid {
        grid-template-columns: 1fr !important;
    }

    .selection-item, .checkbox-item {
        padding: 1.2rem !important;
        font-size: 0.95rem;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    z-index: 9999;
    padding: 2rem 5%;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: 1px solid var(--secondary);
    transition: all 0.3s ease;
}

.btn-cookie-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

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

.btn-cookie-secondary {
    background-color: transparent;
    color: var(--secondary);
}

.btn-cookie-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    .btn-cookie {
        width: 100%;
    }
}

/* Media Queries for Desktop and Tablet */
@media (max-width: 1024px) {

    .container { padding: 0 6%; }
    .split-content h2 { font-size: 2.8rem; }
}

@media (max-width: 1100px) {
    .menu-drawer-image {
        display: none;
    }
    .menu-drawer-content {
        flex: 1;
        width: 100%;
        padding: 120px 10% 8% 10%;
    }
    .menu-links a {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation - Removed old overrides */

    .btn-nav { display: none; } /* Hide heavy contact button on mobile, it's in menu */
    
    /* Hero Search Bar Mobile */
    .hero-search-bar {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .hero-search-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
    
    .hero-search-select, .hero-search-input {
        width: 100%;
        padding: 0.8rem;
    }
    
    .hero-search-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    /* Hero Bento & Text */
    .hero-layout { 
        flex-direction: column;
        justify-content: flex-start; 
        height: auto; 
        padding-top: 160px; /* Increased to push text below logo area */
        padding-bottom: 100px; 
        align-items: center;
        text-align: center;
    }
    
    .hero-main-content {
        padding-right: 0;
        margin-bottom: 5rem; /* More space before cards */
        max-width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-main-content h1 {
        font-size: 2.2rem; /* Reduced further to prevent overlap */
        line-height: 1.3;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin: 1.5rem auto 3rem;
        opacity: 0.9;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        align-items: center;
    }

    .hero-actions .btn-luxury {
        width: 100%;
        justify-content: center;
    }

    .hero-cards-cluster { 
        width: 100%; 
        margin: 0; 
        gap: 2rem; /* More gap between card rows */
        padding-top: 2rem;
    }
    .card-bento-top { height: auto; flex-direction: column; margin-bottom: 1rem; }
    .bento-top-img { height: 220px; width: 100%; }
    .card-bento-middle { flex-direction: column; gap: 1rem; }
    .pill-btn { width: 100%; text-align: center; }
    
    /* Split Sections */
    .split-section, .split-section.reverse {
        flex-direction: column;
        min-height: auto;
        padding: 5vh 0;
    }
    .split-image { 
        width: 100%; 
        height: 45vh; 
        flex: none; 
    }
    .split-content { 
        width: 100%; 
        padding: 3rem 8%; 
        flex: none; 
        text-align: center; /* Added for mobile alignment */
    }
    .split-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .split-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    /* General Large Headings Fix for Mobile */
    .section-padding h2.serif,
    .valuation-header h2.serif {
        font-size: 2rem !important;
        hyphens: auto;
    }
    
    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .luxury-service-card { padding: 3rem 2rem; }
    
    /* Slideshow */
    .cta-content h2 { font-size: 1.8rem; margin-bottom: 2.5rem; }
    .btn-cta { width: 100%; justify-content: center; }
    
    /* Valuation Form Mobile Fix */
    .valuation-section h2 { font-size: 2.22rem; }
    .valuation-form-mini { 
        flex-direction: column; 
        gap: 1.5rem;
        background: transparent;
        border: none;
        padding: 0;
    }
    .valuation-form-mini input {
        width: 100%;
        background: rgba(255,255,255,0.05);
        padding: 1.2rem;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .valuation-form-mini .btn-luxury {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }
    
    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
    .footer-heading { font-size: 2.2rem; }
    .slogan-text { font-size: 1.8rem; line-height: 1.3; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: left; }
    
    /* Drawer - Mobile sizes */
    .menu-links a { font-size: 1.5rem; }
    .sub-menu-links a { font-size: 1.2rem; }
    .panel-title { font-size: 2rem !important; }
    .menu-drawer-content { padding: 100px 8% 5% 8%; }
    .menu-drawer-footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .logo-container img { height: 40px; }
    .split-content h2 { font-size: 2.2rem; }
}

/* Reveal transition logic */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Valuation Step 2 & Financing Panel Styles --- */
.counter-group {
    display: flex;
    flex-direction: column;
}

.counter-widget {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background: #fff;
    overflow: hidden;
}

.counter-widget .btn-counter {
    background: #fdfaf4;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary);
    transition: background 0.3s;
    width: 3rem;
    height: 100%;
}

.counter-widget .btn-counter:hover {
    background: #f0ebd8;
}

.counter-widget input {
    flex: 1;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 1rem;
    background: #fff;
    pointer-events: none;
    -moz-appearance: textfield;
    padding: 1rem 0;
}

.counter-widget input::-webkit-outer-spin-button,
.counter-widget input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    width: 100%;
    padding-right: 3rem !important;
}

.input-with-unit .unit {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
}

.form-group-modal select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: #fdfaf4;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2B36' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

.help-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border: 1px solid #bbb;
    border-radius: 50%;
    font-size: 0.65rem;
    align-items: center;
    justify-content: center;
    cursor: help;
    color: #888;
    margin-left: 5px;
    vertical-align: middle;
}

/* Standorte / Exklusive Immobilien Cards (E&V Slow Zoom Style) */
.standort-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    border-radius: 4px; /* Crisp or slightly rounded edges */
}

.standort-card {
    position: relative;
    height: 350px; /* Taller for more impressive look */
    overflow: hidden;
}

.standort-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* The "Slow zoom" effect */
}

.standort-card-link:hover .standort-bg {
    transform: scale(1.08); /* Zooms slowly */
}

.standort-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 30, 0.85) 0%, rgba(10, 25, 30, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem; /* Spacious padding inside the card */
    transition: background 0.6s ease;
}

.standort-card-link:hover .standort-overlay {
    background: linear-gradient(to top, rgba(10, 25, 30, 0.95) 0%, rgba(10, 25, 30, 0.4) 60%, rgba(10,25,30,0.1) 100%);
}

.standort-overlay h3 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}


/* --- End of File --- */
