/* ==========================================================================
   Raza Property - Elite Luxury Design System
   Theme: Dubai-inspired Luxury, Deep Navy, Champagne Gold, Minimalist White
   Fonts: Playfair Display (Serif) & Plus Jakarta Sans (Sans-serif)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #070e1b;         /* Obsidian Navy (Deep Luxury Black/Navy) */
    --primary-light: #121e33;
    --secondary: #d4af37;       /* Metallic Gold */
    --secondary-light: #f4e8c1;  /* Soft Warm Gold Accent */
    --bg-light: #faf9f6;        /* Alabaster Warm White (Luxury standard) */
    --bg-white: #ffffff;
    --white: #ffffff;
    --text-main: #2b2e35;       /* Charcoal Text */
    --text-muted: #7e8492;      /* Low-contrast Muted Text */
    --text-light: #ffffff;
    
    /* Modern Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 30px 60px rgba(7, 14, 27, 0.04);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Corners */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --container-width: 1440px;
}

/* ==========================================================================
   Base Elements
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 6%; }
.section { padding: 140px 0; }

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--primary);
    margin-bottom: 70px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.section-title span { font-style: italic; color: var(--secondary); font-weight: 400; }
.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}
.text-center { text-align: center; }

/* ==========================================================================
   Luxury Buttons & Inputs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(7, 14, 27, 0.15);
}
.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.btn-gold {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}
.btn-gold:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 14, 27, 0.2);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    box-shadow: none;
}
.btn-outline-gold:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.navbar.scrolled .btn-outline-gold {
    color: var(--primary);
    border-color: var(--primary);
}
.navbar.scrolled .btn-outline-gold:hover {
    background-color: var(--primary);
    color: var(--white);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    transition: var(--transition);
}

/* ==========================================================================
   Header & Navbar (Enhanced Logo + Name)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    transition: var(--transition);
    padding: 30px 0;
}

.navbar.scrolled {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(7, 14, 27, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.brand-logo img {
    height: 55px;
    transition: var(--transition);
    /* Make the logo look more modern with filter adjustments if needed */
}
.navbar.scrolled .brand-logo img { height: 45px; }

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: var(--transition);
}
.brand-name span {
    font-style: italic;
    color: var(--secondary);
}
.navbar.scrolled .brand-name {
    color: var(--primary);
}

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}
.navbar.scrolled .nav-link { color: var(--primary); }
.nav-link:hover, .nav-link.active { color: var(--secondary) !important; }

.hamburger { display: none; background: none; border: none; font-size: 28px; color: var(--white); cursor: pointer; transition: var(--transition); }
.navbar.scrolled .hamburger { color: var(--primary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(20px);
    min-width: 240px; padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px rgba(7, 14, 27, 0.08);
    opacity: 0; visibility: hidden; transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(10px); }
.dropdown-menu a {
    display: block; padding: 12px 15px; color: var(--primary);
    border-radius: var(--radius-sm); font-size: 0.9rem; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
}
.dropdown-menu a:hover { background: rgba(212, 175, 55, 0.05); color: var(--secondary); padding-left: 20px; }
.dropdown-menu hr { border: none; border-top: 1px solid rgba(0,0,0,0.05); margin: 10px 0; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 450px; height: 100vh;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(30px); z-index: 1001; padding: 40px;
    transition: var(--transition); box-shadow: -20px 0 60px rgba(7, 14, 27, 0.05);
    display: flex;
    flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-shrink: 0; }
.mobile-menu-header img { height: 40px; }
.close-btn { background: none; border: none; font-size: 32px; color: var(--primary); cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.close-btn:hover { color: var(--secondary); transform: rotate(90deg); }
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 5px;
    padding-bottom: 20px;
}
.mobile-nav-links::-webkit-scrollbar {
    width: 5px;
}
.mobile-nav-links::-webkit-scrollbar-track {
    background: transparent;
}
.mobile-nav-links::-webkit-scrollbar-thumb {
    background: rgba(7, 14, 27, 0.1);
    border-radius: 3px;
}
.mobile-nav-links a { font-size: 1.4rem; font-family: var(--font-heading); color: var(--primary); border-bottom: 1px solid rgba(0,0,0,0.03); padding-bottom: 15px; }
.mobile-nav-links a:hover { color: var(--secondary); padding-left: 10px; }

/* ==========================================================================
   Hero Section (Cinematic Split Screen Layout)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 850px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 2s ease-in-out, transform 12s linear;
    background-size: cover; background-position: center; transform: scale(1.08);
}
.hero-slide.active { opacity: 1; transform: scale(1); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(7, 14, 27, 0.9) 0%, rgba(7, 14, 27, 0.4) 100%);
    z-index: 0;
}
.hero-content {
    position: relative; z-index: 1; color: var(--white);
    max-width: 800px;
    padding-top: 100px;
}
.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 600;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}
.hero-title span { font-style: italic; color: var(--secondary); }
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}
.hero-actions { display: flex; gap: 20px; }

/* ==========================================================================
   Luxury Brand Highlights Bar
   ========================================================================== */
.highlights-container {
    margin-top: -90px;
    position: relative;
    z-index: 10;
}
.highlights-bar {
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 40px 80px rgba(7, 14, 27, 0.15);
    padding: 35px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    backdrop-filter: blur(20px);
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.highlight-item:last-child {
    border-right: none;
}
.highlight-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.highlight-item:hover .highlight-icon {
    transform: scale(1.15) rotate(5deg);
}
.highlight-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: -0.2px;
}
.highlight-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    font-weight: 300;
}

/* ==========================================================================
   Property Cards (Premium Frameless Design)
   ========================================================================== */
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 50px; }
.property-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(7, 14, 27, 0.02);
    transition: var(--transition);
}
.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(7, 14, 27, 0.08);
}
.property-img-wrap {
    height: 320px;
    position: relative;
    overflow: hidden;
}
.property-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.property-card:hover .property-img-wrap img {
    transform: scale(1.08);
}
.property-tag {
    position: absolute; top: 30px; left: 30px;
    background: rgba(7, 14, 27, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.property-price-tag {
    position: absolute; bottom: 30px; right: 30px;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.15rem;
}
.status-badge {
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
}
.status-badge.available {
    background-color: #28a745;
}
.status-badge.sold {
    background-color: #dc3545;
}
.status-badge.rented {
    background-color: #17a2b8;
}
.property-card-status {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.property-info { padding: 40px 35px; }
.property-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}
.property-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 15px;
}
.property-loc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.property-specs {
    display: flex; justify-content: space-between;
    padding-top: 25px; border-top: 1px solid #f0f0f3;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.property-specs span { display: flex; align-items: center; gap: 8px; }
.property-specs i { color: var(--secondary); }

/* ==========================================================================
   Premium Categories
   ========================================================================== */
.category-card {
    background: var(--bg-white);
    border: 1px solid rgba(7, 14, 27, 0.05);
    border-radius: var(--radius-md);
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(7, 14, 27, 0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: var(--transition);
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(7, 14, 27, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
}
.category-card:hover::before {
    transform: scaleX(1);
}
.category-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}
.category-card i {
    font-size: 32px;
    color: var(--secondary);
    transition: var(--transition);
}
.category-card:hover .category-icon-wrapper {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}
.category-card:hover i {
    color: var(--primary);
    transform: scale(1.1);
}
.category-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==========================================================================
   Horizontal Filter Console
   ========================================================================== */
.filter-bar-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.horizontal-filter-card {
    background: var(--bg-white);
    border: 1px solid rgba(7, 14, 27, 0.05);
    border-radius: var(--radius-md);
    padding: 25px 40px;
    box-shadow: 0 30px 60px rgba(7, 14, 27, 0.04);
}
.filter-console-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 180px;
    gap: 30px;
    align-items: end;
}
.filter-control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-control-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.filter-control-group label i {
    color: var(--secondary);
    margin-right: 5px;
}
.filter-control-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(7, 14, 27, 0.08);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-light);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    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='%23070e1b' stroke-width='2' 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 18px center;
    background-size: 14px;
    padding-right: 40px;
}
.filter-control-group select:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.05);
}
.filter-action-group .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
    height: 52px;
}

@media (max-width: 992px) {
    .horizontal-filter-card {
        padding: 25px;
    }
    .filter-console-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .filter-console-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .filter-bar-section {
        margin-top: -30px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background-color: var(--primary); color: rgba(255,255,255,0.5); padding: 120px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 80px; margin-bottom: 80px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 15px; margin-bottom: 35px; }
.footer-logo { height: 55px; filter: brightness(0) invert(1); }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.8rem; color: var(--white); }
.footer-brand-name span { font-style: italic; color: var(--secondary); }

.brand-col p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 35px; }

.social-links { display: flex; align-items: center; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.05); margin-right: 15px;
    font-size: 1.3rem; transition: var(--transition);
}
.social-links a.youtube-btn { color: #FF0000; }
.social-links a.youtube-btn:hover { background: #FF0000; color: var(--white); box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4); transform: translateY(-4px); }
.social-links a.instagram-btn { color: #E1306C; }
.social-links a.instagram-btn:hover { background: #E1306C; color: var(--white); box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4); transform: translateY(-4px); }

.footer-col h3 { color: var(--white); margin-bottom: 35px; font-size: 1.25rem; font-weight: 500; font-family: var(--font-heading); }
.footer-col > a { display: block; color: rgba(255,255,255,0.5); margin-bottom: 18px; font-size: 0.95rem; }
.footer-col > a:hover { color: var(--secondary); padding-left: 8px; }

.contact-col p { margin-bottom: 25px; display: flex; gap: 15px; }
.contact-col i { color: var(--secondary); font-size: 1.2rem; margin-top: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.legal-links a { color: rgba(255,255,255,0.5); margin-left: 30px; }
.legal-links a:hover { color: var(--white); }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(60px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive Grid Adjustments & Helper Classes
   ========================================================================== */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.grid-2-col-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.grid-why-choose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 4.5rem; }
    .highlights-bar { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .highlight-item { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .grid-why-choose { gap: 40px; }
}

@media (max-width: 992px) {
    .grid-contact {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 30px; }
    .section { padding: 80px 0; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-title { font-size: 3.2rem; }
    .hero { min-height: 650px; }
    .section-title { font-size: 2.6rem; margin-bottom: 40px; }
    .highlights-container { margin-top: -40px; }
    .highlights-bar { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
    .highlight-item { padding: 10px 0; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .highlight-item:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 25px; text-align: center; }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .grid-why-choose {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .grid-2-col > div:first-child, 
    .grid-why-choose > div:last-child {
        order: 2;
    }
    .grid-2-col > div:last-child, 
    .grid-why-choose > div:first-child {
        order: 1;
    }
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
    }
    .legal-links a {
        margin-left: 0;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    .category-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    .category-card i {
        font-size: 26px;
    }
    .category-card h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; }
    .section-title { font-size: 2.0rem; }
    .brand-name { font-size: 1.4rem; }
    .brand-logo img { height: 40px; }
    .navbar.scrolled .brand-logo img { height: 35px; }
    .nav-actions .btn-outline-gold { display: none; }
    .grid-2-col-compact { grid-template-columns: 1fr; }
    .grid-categories { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
    
    .category-card {
        padding: 25px 15px;
    }
    .category-icon-wrapper {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    .category-card i {
        font-size: 20px;
    }
    .category-card h3 {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Property Detail Modal (Non-Scrolling Split Layout)
   ========================================================================== */
.property-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 14, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
    padding: 20px;
}
.property-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.property-modal-content {
    background: var(--bg-white);
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    max-height: 750px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(50px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}
.property-modal-overlay.active .property-modal-content {
    transform: translateY(0) scale(1);
}
.property-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}
.property-modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 35px; height: 35px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 101;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.property-modal-close:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: rotate(90deg);
}

/* 2-column Grid */
.property-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    height: 100%;
    width: 100%;
}

/* Left side media showcase */
.property-media-showcase {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #000;
    border-right: 1px solid rgba(0,0,0,0.05);
    min-width: 0;
}
.property-main-media {
    flex: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
}
.property-main-media img,
.property-main-media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Thumbnails strip at the bottom */
.property-thumbnails {
    height: 90px;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    align-items: center;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.property-thumbnails::-webkit-scrollbar {
    height: 8px;
}
.property-thumbnails::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.property-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
}
.thumb-item {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.thumb-item.active {
    border-color: var(--secondary);
    opacity: 1;
}
.thumb-item:hover {
    opacity: 1;
}
.thumb-video-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.thumb-video-wrapper .play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Toggles & View All Styling for Thumbs */
.mobile-only-thumb {
    display: none !important;
}

.thumb-view-all {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.12);
    border: 2px dashed var(--secondary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    gap: 3px;
    flex-shrink: 0;
    transition: var(--transition);
}
.thumb-view-all i {
    font-size: 1.1rem;
}
.thumb-view-all span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.thumb-view-all:hover {
    background: var(--secondary);
    color: var(--primary);
    border-style: solid;
}

/* Gallery Modal Grid */
.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}
.gallery-modal-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #000;
}
.gallery-modal-item.image-item {
    cursor: pointer;
}
.gallery-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-modal-item.image-item:hover img {
    transform: scale(1.08);
}
.gallery-modal-item .zoom-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 14, 27, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}
.gallery-modal-item.image-item:hover .zoom-overlay {
    opacity: 1;
}
.gallery-modal-item.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 500px) {
    .gallery-modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
}

/* Right side details panel */
.property-details-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    background: var(--bg-white);
    overflow: hidden;
    min-width: 0;
}
.property-details-header {
    margin-bottom: 20px;
    flex-shrink: 0;
}
.property-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.property-title {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
    word-wrap: break-word;
}
.property-location {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Specs compact */
.property-specs-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
    background: rgba(197, 160, 89, 0.05); /* rgba of secondary gold */
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}
.spec-item i {
    font-size: 1.1rem;
    color: var(--secondary);
    width: 20px;
}

/* Scrollable description */
.property-description-compact {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}
.property-description-compact::-webkit-scrollbar {
    width: 5px;
}
.property-description-compact::-webkit-scrollbar-track {
    background: transparent;
}
.property-description-compact::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}
.property-description-compact h3 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--primary);
}
.property-description-compact p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    white-space: pre-wrap;
}

/* Pricing & Action CTA at bottom */
.property-cta-compact {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    flex-shrink: 0;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.price-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.price-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action-buttons .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
}

.hidden-thumb {
    display: none !important;
}

/* Responsive (Stack elements on mobile) */
@media (max-width: 850px) {
    .property-modal-overlay {
        padding: 0;
    }
    .property-modal-content {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        border-radius: 0;
    }
    .property-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
    }
    .property-media-showcase {
        height: 300px;
        border-right: none;
    }
    .property-thumbnails {
        height: 80px;
    }
    .property-details-panel {
        height: auto;
        padding: 20px;
        overflow: visible;
    }
    .property-description-compact {
        overflow: visible;
        max-height: none;
    }
    .desktop-only-thumb {
        display: none !important;
    }
    .mobile-only-thumb {
        display: flex !important;
    }
}

/* ==========================================================================
   Image Lightbox
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 10000; /* Higher than property modal */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px; right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}
.lightbox-close:hover {
    color: var(--secondary);
}

/* ==========================================================================
   Sticky Actions (Floating WhatsApp, Call, and Scroll-to-Top Buttons)
   ========================================================================== */
.sticky-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.sticky-btn:hover {
    transform: translateY(-5px) scale(1.05);
}
.sticky-btn.whatsapp {
    background-color: #25D366;
}
.sticky-btn.whatsapp:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}
.sticky-btn.call {
    background-color: var(--secondary);
    color: var(--primary);
}
.sticky-btn.call:hover {
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}
.sticky-btn.scroll-top {
    background-color: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.3rem;
}
.sticky-btn.scroll-top.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
@media (max-width: 768px) {
    .sticky-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .sticky-btn.scroll-top {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   SPA Page Transitions & Loading States
   ========================================================================== */
#app-root {
    min-height: 80vh;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#app-root.fade-out {
    opacity: 0;
}
.skeleton-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    width: 100%;
}
.skeleton-loader .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Website Entrance Intro Animations (Desktop & Mobile)
   ========================================================================== */
.navbar .brand-logo {
    opacity: 0;
    animation: 
        fadeInBrand 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s,
        glowpulse 4s infinite ease-in-out alternate 1.7s;
}

.navbar .nav-links,
.navbar .nav-actions,
#app-root,
.footer,
.sticky-actions {
    opacity: 0;
    animation: fadeInContent 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.6s;
}

@keyframes fadeInBrand {
    from {
        opacity: 0;
        transform: translateX(-20px);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.55)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.25));
    }
}

@keyframes glowpulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.55)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.25));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.45));
    }
}

@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar .brand-logo,
    .navbar .nav-links,
    .navbar .nav-actions,
    #app-root,
    .footer,
    .sticky-actions {
        opacity: 1 !important;
        animation: none !important;
        filter: none !important;
    }
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    padding: 0 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
    font-family: inherit;
}
.faq-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-right: 15px;
}
.faq-header:hover h3 {
    color: var(--secondary);
}
.faq-icon {
    color: var(--secondary);
    font-size: 0.95rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.05);
}
.faq-header:hover .faq-icon {
    background: rgba(212, 175, 55, 0.15);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer {
    /* Fallback large max-height in case JS scrollHeight calculation is unavailable */
    max-height: 800px;
}
.faq-answer-content {
    padding: 0 30px 25px 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Open FAQ Item state */
.faq-item.open {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(7, 14, 27, 0.03);
}
.faq-item.open .faq-header h3 {
    color: var(--secondary);
}
.faq-item.open .faq-icon {
    transform: rotate(135deg);
    background: var(--secondary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .faq-header {
        padding: 18px 20px;
    }
    .faq-header h3 {
        font-size: 1.05rem;
        padding-right: 10px;
    }
    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 0.9rem;
    }
}




