/* realestate3/style.css - The Midnight Gold Complete Design */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Playfair+Display:wght@400;700;900&display=swap&subset=greek');

:root {
    --primary-color: #0c0c0c;
    /* Black Obsidian */
    --secondary-bg: #1a1a1a;
    /* Card charcoal */
    --accent-color: #c6a35d;
    /* Antique Gold */
    --accent-ochre: #d9b46c;
    /* Warm Ochre */
    --text-color: #e0e0e0;
    /* Slightly warmer white */
    --text-muted: #999999;
    --white: #ffffff;
    --placeholder-color: rgba(0,0,0,0.4); /* Dynamic fallback */
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --header-height: 90px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* Smoother fonts on Mac/Chrome */
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
    position: relative;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.8;
}

p {
    font-weight: 300;
    /* Luxury light weight for body text */
}

h1,
h2,
h3,
h4,
.serif {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    /* Minimalist clean thin style */
    letter-spacing: 4px;
    /* Extreme spacing for architectural look */
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1.3;
}

a,
button,
.btn-luxury,
.property-card,
.property-card h3,
.image-container,
.logo a,
.hamburger,
.close-btn,
.nav-menu a,
.sidebar-nav a,
.back-to-top {
    cursor: pointer !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Nav - Natural Sticky Logic */
.main-header {
    background-color: var(--primary-color);
    padding: 0 5%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* Fixed to viewport */
    top: 0;
    left: 0;
    /* Locks to top */
    width: 100%;
    z-index: 99999;
    border-bottom: 2px solid var(--accent-color);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: var(--primary-color);
    opacity: 0.98;
    height: 70px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

/* Hero Section with Video */
.hero-section {
    position: relative;
    height: calc(100vh - 80px);
    /* Hero + Header = 100vh */
    margin-top: 80px;
    /* Offset for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 12, 12, 0.3) 0%, rgba(12, 12, 12, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 5rem;
    /* Imposing large size for PC */
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 2px;
    color: var(--text-color) !important;
}

/* Glassmorphism Search on Hero */
.hero-search-box {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box form {
    display: flex;
    width: 100%;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-search-box button {
    flex: 0 0 auto;
    width: 250px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 13px;
    letter-spacing: 2px;
}

.hero-search-box select,
.hero-search-box input {
    flex: 1;
    min-width: 200px;
    height: 55px; /* Consistent height for all fields */
    background: rgba(255, 255, 255, 0.05); /* Tinted transparent background */
    border: 1px solid var(--accent-color);
    border-radius: 0;
    color: white;
    padding: 0 20px; /* Adjust padding due to fixed height */
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hero-search-box {
        padding: 20px;
        width: 85%;
        margin: 20px auto;
        display: flex;
        justify-content: center;
    }

    .hero-search-box form {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .hero-search-box select,
    .hero-search-box input,
    .hero-search-box button {
        width: 100% !important;
        max-width: 320px !important;
        height: 55px !important;
        min-height: 55px !important; /* Force minimum height */
        margin-top: 0;
        text-align: center;
        text-align-last: center;
        appearance: none; /* Remove browser default styles */
        -webkit-appearance: none;
        -moz-appearance: none;
        padding: 0 15px !important;
        line-height: 55px !important; /* Center text vertically */
        border-radius: 0;
    }
}

/* Restored Nav Components */
.logo h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    letter-spacing: 5px;
    margin: 0;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    transition: var(--transition);
}

@media (max-width: 1280px) {
    .nav-menu ul {
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .nav-menu ul {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .logo h2 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

.nav-menu a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

.btn-luxury {
    display: inline-block;
    padding: 18px 45px;
    background: var(--accent-color);
    color: var(--btn-text) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-luxury:hover {
    background: var(--accent-color);
    color: #000 !important;
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-3px);
}

/* Scroll Mouse Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    /* Lowered to exactly 30px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
}

.mouse {
    width: 25px;
    height: 42px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite ease-in-out;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

.scroll-text {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Featured Section */
.featured-section {
    padding: 120px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--text-color) !important;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Property Card Luxury (The Framed Look) */
.property-card {
    background: var(--card-bg);
    transition: var(--transition);
    border: 1px solid var(--card-border);
}

.property-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.image-container {
    position: relative;
    height: 250px; /* Reduced to 250px for rectangular look */
    padding: 20px;
    overflow: hidden;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    padding: 8px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s;
}

.property-card:hover .image-frame img {
    transform: scale(1.1);
}

.card-price {
    position: absolute;
    bottom: 35px;
    left: 35px;
    background: rgba(12, 12, 12, 0.9);
    padding: 10px 20px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 5;
    border-left: 3px solid var(--accent-color);
}

.property-status {
    position: absolute;
    top: 35px;
    right: 35px;
    background: var(--accent-color);
    padding: 8px 15px;
    color: #000;
    font-weight: 800;
    font-size: 10px;
    z-index: 5;
    letter-spacing: 2px;
}

.card-content {
    padding: 15px 30px; /* Reduced vertical padding from 40px to 15px */
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-color) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    min-height: 3.6rem;
    /* Maintains uniform card heights for 1 or 2 lines */
}

.location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 0; /* Removed bottom margin */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    min-height: 3.1rem;
    line-height: 1.4;
}

.card-specs {
    display: flex;
    gap: 25px;
    padding-top: 20px; /* Reduced to 20px as requested */
    border-top: 1px solid #222;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-ochre);
    text-transform: uppercase;
}

.btn-view {
    display: block;
    margin-top: 30px;
    text-align: center;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--accent-color); /* Stronger gold border */
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.property-card:hover .btn-view {
    background: var(--accent-color);
    color: #000 !important;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* ZigZag Sections (Assignment / Request) - Dichromic Design */
.zigzag-section {
    display: flex;
    align-items: stretch;
    min-height: 600px;
    width: 100%;
}

/* Common Ochre Style for Content when on Ochre BG */
.zigzag-section .zigzag-content {
    background-color: var(--accent-ochre);
    /* Soften for large surfaces */
    position: relative;
    overflow: hidden;
}

.zigzag-section .zigzag-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.15); /* Subtle white veil to soften high-chroma colors */
    pointer-events: none;
}

.zigzag-section .zigzag-content > * {
    position: relative;
    z-index: 1;
}

.zigzag-section .zigzag-content h2,
.zigzag-section .zigzag-content .zigzag-label {
    color: var(--primary-color) !important;
}

.zigzag-section .zigzag-content .btn-luxury {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.zigzag-label {
    display: block;
    color: var(--accent-color);
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ASSIGNMENT: Black Image (Left) | Ochre Content (Right) */
#assignment .zigzag-img {
    background-color: var(--primary-color);
}

#assignment .zigzag-content {
    background-color: var(--accent-ochre);
}

/* REQUEST: Ochre Content (Left) | Black Image (Right) */
#request .zigzag-content {
    background-color: var(--accent-ochre);
}

#request .zigzag-img {
    background-color: var(--primary-color);
}

.zigzag-section.reverse {
    flex-direction: row-reverse;
}

/* ACTIVE MENU ITEM */
.nav-menu ul li a.active {
    color: var(--accent-color) !important;
}

.zigzag-img {
    flex: 0 0 50%;
    position: relative;
    min-height: 650px;
    /* Consitent height */
    overflow: visible;
    z-index: 10;
    perspective: 2000px;
}

/* Listings Trigger Bar Styles */
.filter-trigger-bar .results-count {
    font-size: 16px !important;
    letter-spacing: 1px !important;
}

.filter-trigger-bar .sort-controls span {
    font-size: 14px !important;
    color: var(--text-color) !important;
    opacity: 0.6;
    letter-spacing: 1px !important;
}

.filter-trigger-bar select.sort-select-ajax {
    font-size: 15px !important;
    padding: 10px 15px !important;
}

/* Sidebar Buttons Sync with Property Card Button */
.btn-sidebar-action {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sidebar-action:hover {
    background: var(--accent-color);
    color: #000 !important;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-3px);
}

/* THE ORNATE MUSEUM FRAME */
.zigzag-img::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 60px !important;
    right: 60px !important;
    bottom: 60px;
    border: 8px double var(--accent-color);
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: transparent !important;
    box-shadow: none;
}

/* Adjust frame for reverse sections */
.zigzag-section.reverse .zigzag-img::before {
    left: 40px;
    right: 80px;
}

.zigzag-img img {
    position: absolute;
    top: 100px;
    /* Centered inside frame (60+40) */
    left: 100px;
    right: 100px;
    bottom: 100px;
    width: calc(100% - 200px);
    /* Calculated width */
    height: calc(100% - 200px);
    /* Calculated height */
    object-fit: cover;
    z-index: 5;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateZ(0);
    /* Starts flat inside frame */
}

/* THE BREAKOUT ACTION - Pulling out 3D */
.zigzag-section:hover .zigzag-img img {
    transform: rotateY(12deg) rotateX(-2deg) scale(1.1) translateZ(100px) translateX(-40px);
    box-shadow: 40px 40px 80px rgba(0, 0, 0, 0.7);
}

.zigzag-section:hover .zigzag-img::before {
    transform: rotateY(-8deg) translateZ(-30px) translateX(20px);
    opacity: 0.5;
}

/* REVERSE (Ζήτηση) - Pulling out to the opposite side */
.zigzag-section.reverse:hover .zigzag-img img {
    transform: rotateY(-12deg) rotateX(-2deg) scale(1.1) translateZ(100px) translateX(40px);
}

.zigzag-section.reverse:hover .zigzag-img::before {
    transform: rotateY(8deg) translateZ(-30px) translateX(-20px);
}

/* OCHRE BG FRAME COLORS - BACK TO GOLD */
.zigzag-section.ochre-bg .zigzag-img::before {
    border-color: var(--accent-color) !important;
}

.zigzag-section.ochre-bg:hover .zigzag-img img {
    box-shadow: 40px 40px 80px rgba(0, 0, 0, 0.4);
    /* Softer shadow on yellow */
}

.zigzag-content {
    flex: 0 0 50%;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* CENTER CONTENT */
    text-align: center;
    /* CENTER TEXT */
}

.zigzag-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.zigzag-section.ochre-bg h2 {
    color: var(--primary-color);
}

.zigzag-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer Vertical Centered */
footer {
    background-color: var(--primary-color);
    border-top: 1px solid var(--secondary-bg);
    padding: 20px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

footer h2 {
    color: var(--accent-color);
    letter-spacing: 10px;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 300;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}

.footer-nav a:hover,
.footer-nav a.active {
    color: var(--text-color);
    font-weight: 700;
}

.footer-social-shared {
    margin-top: 10px;
    margin-bottom: 15px; /* 10px gap from content + 15px margin = 25px from nav to copyright */
}

.footer-bottom {
    font-size: 11px;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.contact-map {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: var(--navbar-bg);
    border: 1px solid var(--secondary-bg);
    overflow: hidden;
}

.contact-map iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(1);
    /* Dark mode map styling */
}

/* PREMIUM MAP HOTSPOT (RADAR EFFECT) */
.map-hotspot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 20px var(--accent-color);
}

.map-hotspot::before,
.map-hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radar-pulse 3s infinite ease-out;
    opacity: 0.5;
}

.map-hotspot::after {
    animation-delay: 1.5s;
}

@keyframes radar-pulse {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1184px) {
    .main-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 5%;
        height: 70px !important;
        background-color: var(--navbar-bg) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 99999;
        border-bottom: 2px solid var(--accent-color);
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex !important;
        cursor: pointer !important;
        position: relative;
        z-index: 100001;
    }

    .id-btn-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 0 !important;
        margin-top: -5px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .hero-tagline {
        font-size: 10px !important;
        letter-spacing: 3px !important;
        display: block;
        margin-bottom: 10px !important;
    }

    .hero-desc {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
        display: none !important;
        /* As per user request: hide on responsive */
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 30px !important;
    }

    .image-container {
        height: 280px !important;
        padding: 10px !important;
    }

    .image-frame {
        padding: 4px !important;
    }

    .card-content {
        padding: 20px 15px !important;
    }

    /* ZIGZAG MOBILE STACKING */
    .zigzag-section,
    .zigzag-section.reverse {
        flex-direction: column !important;
        min-height: auto;
    }

    .zigzag-img,
    .zigzag-content {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .zigzag-img {
        min-height: 300px !important;
    }

    .zigzag-img::before {
        top: 30px !important;
        left: 30px !important;
        right: 30px !important;
        bottom: 30px !important;
        border-width: 4px !important;
    }

    .zigzag-img img {
        top: 50px !important;
        left: 50px !important;
        right: 50px !important;
        bottom: 50px !important;
        width: calc(100% - 100px) !important;
        height: calc(100% - 100px) !important;
    }

    .zigzag-content {
        padding: 25px 10% !important;
    }

    .featured-section {
        padding: 60px 5% !important;
    }

    /* CONTACT GRID MOBILE */
    #contact>div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* ID SEARCH MOBILE */
    #id-search>div {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center;
    }

    #id-search>div>div:last-child {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }

    #id-search input {
        border: 1px solid #222 !important;
        width: 100% !important;
        padding: 20px !important;
        text-align: center;
    }

    #id-search button {
        width: 100% !important;
        padding: 20px !important;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    #id-search {
        padding: 40px 5% !important;
    }

    footer {
        padding: 40px 5% 20px !important;
    }

    footer .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}


/* -------------------------------------------------------------
   MOBILE MENU (HAMBURGER & SIDEBAR)
------------------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    pointer-events: auto;
    z-index: 10001;
    margin-left: 20px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger.active span {
    background-color: var(--accent-color) !important;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 100000;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    border-left: 1px solid var(--accent-color);
    box-shadow: -20px 0 80px rgba(0, 0, 0, 1);
    visibility: hidden;
}

.mobile-sidebar.active {
    right: 0;
    visibility: visible;
}

.sidebar-header {
    height: 70px;
    /* Match main header height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--secondary-bg);
}

.close-btn {
    font-size: 2.5rem;
    color: var(--accent-color);
    cursor: pointer;
    line-height: 1;
}

.sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-weight: 300;
    padding: 5px 0;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--accent-color);
    font-weight: 700;
    padding-left: 10px;
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
}

/* -------------------------------------------------------------
   BACK TO TOP
------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* -------------------------------------------------------------
   ABOUT PAGE SPECIFIC STYLES
------------------------------------------------------------- */

/* 1. About Hero */
.about-hero {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.about-hero .hero-content {
    z-index: 10;
}

/* 2. Full Width Legacy Content */
.legacy-content {
    position: relative;
    z-index: 5;
}

.legacy-main-text .dynamic-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
}

/* 3. Info Sidebar (Canva Style) */
.info-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--secondary-bg);
    z-index: 200000;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -30px 0 100px rgba(0, 0, 0, 0.9);
    border-left: 1px solid var(--card-border);
    visibility: hidden;
}

.info-sidebar.active {
    right: 0;
    visibility: visible;
}

@media (max-width: 768px) {
    .info-sidebar {
        right: -100%;
        width: 100%;
    }
}

.info-sidebar-inner {
    padding: 40px 30px;
    height: 100%;
    overflow-y: auto;
}

.info-sidebar-header {
    position: relative;
    padding: 15px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--secondary-bg);
    text-align: center;
}

.info-sidebar-header h3 {
    margin: 0 auto;
    font-size: 1.1rem;
    letter-spacing: 5px;
    color: var(--accent-color);
}

.close-info {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-info:hover {
    color: var(--accent-color);
}

.sidebar-img-box:hover img {
    transform: scale(1.1);
}

/* 4. Philosophy Section */
.phi-item i {
    transition: var(--transition);
}

.phi-item:hover i {
    transform: translateY(-10px) scale(1.1);
}

/* Responsive Overrides for About */
@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }

    .about-hero .hero-content {
        padding-top: 50px;
    }

    .about-hero h1 {
        font-size: 1.5rem !important;
        padding: 0 5px;
        line-height: 1.3 !important;
    }

    .about-hero .hero-tagline {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .about-hero .breadcrumbs {
        margin-top: 15px !important;
        font-size: 9px !important;
    }

    .legacy-content {
        padding: 60px 5% !important;
    }

    .legacy-header h2 {
        font-size: 1.8rem !important;
    }

    .legacy-header p {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
    }

    .legacy-main-text {
        font-size: 1rem;
        text-align: left;
    }

    .info-sidebar {
        width: 100%;
        border-left: none;
        /* Remove border on mobile to avoid overflow */
        right: -100%;
    }

    .info-sidebar-inner {
        padding: 20px;
        /* Reduced padding for mobile */
    }

    .filter-sidebar-content {
        padding: 10px 0;
        /* Align with inner padding */
    }

    .filter-radio-group {
        gap: 10px;
    }

    .filter-radio-option {
        padding: 12px 5px;
        font-size: 10px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Contact Form Stacking */
    .contact-form-box form>div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* 5. Listing Page Specifics */
.listing-hero {
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.listing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 12, 12, 0.4), var(--primary-color));
}

.listing-hero-content {
    position: relative;
    z-index: 2;
}

.filter-trigger-container {
    padding: 30px 5%;
    background: var(--navbar-bg);
    border-bottom: 3px solid var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 80px;
    z-index: 999;
}

.filter-controls-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 640px) {
    .filter-trigger-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
        text-align: center;
    }

    .filter-controls-group {
        flex-direction: column;
        gap: 15px;
    }

    .sort-container {
        justify-content: center;
    }
}

.btn-filter-open {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid #333;
    color: var(--text-color);
    padding: 12px 25px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
}

.btn-filter-open:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.results-count {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 400;
}

.results-count strong {
    color: var(--text-color);
    font-weight: 700;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
}

.sort-select {
    background: transparent;
    border: 1px solid var(--secondary-bg);
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

.properties-full-grid {
    padding: 50px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    background: var(--navbar-bg);
}

@media (max-width: 400px) {
    .properties-full-grid {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }
}

@media (max-width: 900px) {
    .properties-full-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .filter-trigger-container {
        top: 70px;
    }
}

/* Sidebar Form (Filter Canvas) */
.filter-sidebar-content {
    padding: 10px 30px;
}

.filter-sidebar-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--secondary-bg);
    padding-bottom: 10px;
    letter-spacing: 3px;
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: 300;
}

.filter-field {
    margin-bottom: 25px;
}

.filter-field label {
    display: block;
    font-size: 10px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}

.filter-select,
.filter-input {
    width: 100%;
    background: var(--secondary-bg);
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--input-text);
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--accent-color) !important;
}

.btn-apply-filters {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: var(--btn-text);
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 12px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-filters {
    width: 100%;
    background: #a68b5a;
    color: #fff;
    border: none;
    padding: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-filters:hover {
    background: #b59350;
}

.filter-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
}

.filter-radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--secondary-bg);
    padding: 15px;
    cursor: pointer;
    background: var(--secondary-bg);
    color: var(--text-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
}

.filter-radio-option:hover {
    border-color: var(--accent-color);
}

.filter-radio-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.filter-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    cursor: pointer;
}

.feature-check-item input {
    width: 16px;
    height: 16px;
}

/* Restore sidebar inner for dark background */
.info-sidebar-inner {
    padding: 40px 30px;
    height: 100%;
    overflow-y: auto;
    background: var(--primary-color) !important;
}

.info-sidebar-header h3 {
    color: var(--white) !important;
    font-weight: 300 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase;
}

.filter-field label {
    margin-bottom: 10px;
    color: var(--accent-color) !important;
}

.filter-select,
.filter-input {
    background: var(--secondary-bg) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

/* 6. Details Page Specifics */
.details-full-gallery {
    padding: 0;
    margin-bottom: 50px;
    display: flex;
    gap: 10px;
    background: var(--navbar-bg);
}

.gallery-main {
    flex: 2;
    height: 70vh;
    min-height: 500px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 70vh;
}

.gallery-side-item {
    height: calc(35vh - 5px);
}

.gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .details-full-gallery {
        flex-direction: column;
        height: auto;
    }

    .gallery-main {
        height: 40vh;
        min-height: 300px;
    }

    .gallery-side {
        height: auto;
        flex-direction: row;
    }

    .gallery-side-item {
        flex: 1;
        height: 150px;
    }
}

/* Detail Content Layout */
.details-wrapper {
    padding: 0 5% 100px;
    display: block;
    /* Full width now */
    background: var(--navbar-bg);
}

.detail-header {
    margin-bottom: 50px;
}

.detail-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 5px;
    color: var(--text-color);
    text-transform: uppercase;
}

.detail-header .detail-loc {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--secondary-bg);
    padding-bottom: 20px;
}

/* Specs & Features Grid */
.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid var(--secondary-bg);
    border-bottom: 1px solid var(--secondary-bg);
}

.spec-luxury-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-luxury-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.spec-luxury-item span {
    font-size: 10px;
    color: var(--text-color);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.spec-luxury-item strong {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Description Text */
.detail-description-section h4 {
    font-size: 1.4rem;
    letter-spacing: 5px;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

.detail-text {
    line-height: 2.2;
    font-size: 1.1rem;
    color: #bbb;
    font-weight: 300;
}

/* 7. Tools Row (Actions) */
.details-tools-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

/* 7.1 Detail Main Action Bar (Between price and specs) */
.detail-main-actions {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--secondary-bg);
    border-bottom: 1px solid var(--secondary-bg);
    flex-wrap: wrap;
}

.action-luxury-card {
    flex: 1;
    min-width: 300px;
    background: var(--secondary-bg);
    border: 1px solid var(--secondary-bg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.action-luxury-card {
    background: var(--secondary-bg);
    border: 1px solid #222;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 250px;
}

.action-luxury-card:hover {
    border-color: var(--accent-color);
    background: #080808;
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-3px);
}

.action-luxury-card i {
    font-size: 24px;
    color: var(--accent-color);
}

.action-text {
    display: flex;
    flex-direction: column;
}

.action-label {
    font-size: 9px;
    color: var(--text-color);
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.action-title {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Off-canvas Inquiry sidebar */
.inquiry-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--navbar-bg);
    z-index: 1000001;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -20px 0 80px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--accent-color);
}

.inquiry-sidebar.active {
    right: 0;
}

.inquiry-sidebar-header { 
    position: sticky; top: 0; left: 0; width: 100%; z-index: 100;
    background: var(--navbar-bg); padding: 25px 40px; border-bottom: 3px solid var(--accent-color);
    display: flex; justify-content: space-between; align-items: center; text-align: left;
}

.inquiry-sidebar-inner { flex: 1; overflow-y: auto; padding: 40px; }

@media (max-width: 768px) {
    .inquiry-sidebar { width: 100%; border-left: none; }
    .inquiry-sidebar-header { padding: 20px 25px; }
    .inquiry-sidebar-inner { padding: 25px; }
}

.filter-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    font-size: 13px;
}

/* Dynamic Placeholder Contrast Fix - High Visibility */
::placeholder {
    color: var(--input-placeholder) !important;
    opacity: 0.9 !important;
}
::-webkit-input-placeholder {
    color: var(--input-placeholder) !important;
    opacity: 0.9 !important;
}
::-moz-placeholder {
    color: var(--input-placeholder) !important;
    opacity: 0.9 !important;
}
:-ms-input-placeholder {
    color: var(--input-placeholder) !important;
    opacity: 0.9 !important;
}
::-ms-input-placeholder {
    color: var(--input-placeholder) !important;
    opacity: 0.9 !important;
}

.close-inquiry {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    line-height: 1;
}

.close-inquiry:hover {
    color: var(--accent-color);
}

.tool-luxury-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-bg);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
    padding: 12px 25px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition);
}

.tool-luxury-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-2px);
}

.tool-luxury-btn i {
    font-size: 14px;
}

/* 8. Full Technical List (T2 Style but Gold) */
.detail-tech-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    margin-top: 30px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #222;
    font-size: 13px;
}

.tech-item label {
    color: var(--text-color);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-item span {
    color: var(--text-color);
    font-weight: 400;
    text-align: right;
}

@media (max-width: 768px) {
    .detail-tech-list {
        grid-template-columns: 1fr;
    }
}

/* 9. Specialized Print Brochure */
@media print {

    .main-header,
    footer,
    .details-tools-row,
    .sidebar-sticky-box,
    .header-actions,
    .hamburger {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
    }

    .details-full-gallery {
        display: block !important;
        height: auto !important;
    }

    .gallery-main {
        height: 500px !important;
        page-break-after: always;
    }

    .gallery-side {
        display: none !important;
    }

    .details-wrapper {
        display: block !important;
        padding: 40px !important;
    }

    .detail-header h1 {
        color: #000 !important;
        font-size: 24pt !important;
    }

    .detail-price {
        color: #c6a35d !important;
        border-bottom: 2px solid #eee !important;
    }

    .spec-luxury-item strong,
    .tech-item span {
        color: #000 !important;
    }

    .spec-luxury-item i {
        color: #c6a35d !important;
    }
}

/* 10. Details Carousel */
.details-full-gallery {
    padding: 0;
    margin-bottom: 50px;
    display: block;
    /* Change from flex to block for carousel */
}

.details-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background: var(--navbar-bg);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navbar-bg);
}

.carousel-slide-bg {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.4);
    z-index: 1;
}

.carousel-slide img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: #000;
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* 11. Modal / Popup (Loan Calculator) */
.luxury-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.luxury-modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    color: #333;
}

.modal-content h2 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 4px solid var(--accent-ochre);
    padding-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.calculator-field {
    margin-bottom: 20px;
}

.calculator-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.calculator-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* 12. Sidebar Contact Person Box */
.filter-trigger-container {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--card-border);
    margin-bottom: 40px;
}

.contact-person-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border: 1px solid var(--card-border);
    margin-top: 30px;
}

.person-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--secondary-bg);
}

.person-header h4 {
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 10px;
    font-weight: 700;
}

.person-header h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 400;
}

.person-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.person-info-item i {
    width: 45px;
    height: 45px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 18px;
    border: 1px solid var(--card-border);
}

.person-info-text label {
    display: block;
    font-size: 9px;
    color: var(--text-color);
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 700;
}

.person-info-text span {
    color: var(--text-color);
    font-size: 14px;
    display: block;
}

/* Sticky Sidebar Card */
.sidebar-sticky-box {
    position: sticky;
    top: 140px;
}

.inquiry-card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
}

.inquiry-card-premium h3 {
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
    font-weight: 300;
    text-transform: uppercase;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.inquiry-field {
    margin-bottom: 20px;
}

.inquiry-field label {
    display: block;
    font-size: 10px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.inquiry-input,
.inquiry-textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.btn-luxury-submit {
    width: 100%;
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-luxury-submit:hover {
    background: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .details-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky-box {
        position: static;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .details-tools-row {
        flex-direction: column;
    }

    .tool-luxury-btn {
        width: 100% !important;
        justify-content: center;
    }

    .detail-main-actions {
        flex-direction: column;
    }

    .action-luxury-card {
        width: 100% !important;
        min-width: 100% !important;
    }
}

/* 13. Map & Hotspot */
.contact-map {
    width: 100%;
    height: 450px; /* Standardize height */
    overflow: hidden;
    position: relative;
    background: var(--navbar-bg);
    border: 1px solid #1a1a1a;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    border: none;
}

.map-hotspot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    animation: pulseHotspot 3s infinite;
}

.map-hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
}

@keyframes pulseHotspot {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}