/* ==========================================================================
   AKYN PROPERTY - ULTRA-MODERN FLOATING GLASSMORPHIC LUXURY STYLESHEET
   Colors: Gold (#D4AF37), Metallic Gold (#F3E5AB / #B8860B), Dark (#0A0A0C / #121215), White (#FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --gold-gradient: linear-gradient(135deg, #F5DF88 0%, #D4AF37 50%, #997412 100%);
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    --bg-dark: #070709;
    --bg-card: #111115;
    --bg-card-hover: #18181F;
    --bg-glass: rgba(18, 18, 24, 0.85);
    
    --text-white: #FFFFFF;
    --text-muted: #FFFFFF;
    --text-gold: #D4AF37;
    
    --border-dark: rgba(255, 255, 255, 0.07);
    --border-gold: rgba(212, 175, 55, 0.28);
    
    --shadow-luxury: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.12);
    --radius-main: 16px;
    --radius-pill: 50px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-muted {
    color: #FFFFFF !important;
}

.text-secondary {
    color: #E2E8F0 !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

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

a:hover {
    color: var(--gold-light);
}

/* ==========================================================================
   TOP HOTLINE BAR
   ========================================================================== */
.top-bar {
    background: #040406;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 0.82rem;
    color: #FFFFFF !important;
    padding: 7px 0;
    z-index: 1060;
    position: relative;
}

.top-hotline {
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.top-hotline:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px var(--gold-glow);
}

.top-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.top-social-icon:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--gold-glow);
}

.lang-select-glass {
    background: rgba(18, 18, 24, 0.9) !important;
    border: 1px solid var(--border-gold) !important;
    color: #fff !important;
    font-size: 0.75rem;
    padding: 3px 24px 3px 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* ==========================================================================
   ULTRA-MODERN FLOATING GLASSMORPHIC NAVBAR
   ========================================================================== */
.akyn-navbar-wrapper {
    position: sticky;
    top: 10px;
    z-index: 1050;
    padding: 0 15px;
}

.akyn-navbar {
    background: rgba(15, 15, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 10px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.12);
    transition: var(--transition);
}

.akyn-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.akyn-brand-logo {
    height: 75px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.akyn-logo-badge {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    box-shadow: 0 0 20px var(--gold-glow);
    transition: var(--transition);
}

.akyn-logo:hover .akyn-logo-badge {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

.brand-text-gold {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5DF88 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-subtext {
    font-size: 0.68rem;
    letter-spacing: 3.5px;
    color: var(--gold-primary);
    font-weight: 700;
    margin-top: -4px;
}

/* Nav Links - Underline Animated Style */
.nav-link {
    color: #E2E8F0 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--gold-primary);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary) !important;
    background: transparent !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 75%;
}

/* Header Action Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #000 !important;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-size: 0.88rem;
    box-shadow: 0 4px 20px var(--gold-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    color: #000 !important;
}

.btn-outline-gold {
    background: rgba(18, 18, 24, 0.6);
    color: var(--gold-primary) !important;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-pill);
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: #000 !important;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* Center Purpose Tabs (CeylonProperty Style) */
.purpose-pill-tabs {
    background: rgba(0, 0, 0, 0.6);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.btn-gold-tab {
    color: #FFFFFF !important;
    background: transparent;
    border: none !important;
    border-radius: 50px !important;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-gold-tab:hover {
    color: var(--gold-primary) !important;
}

.btn-check:checked + .btn-gold-tab {
    background: var(--gold-gradient) !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-glass-search {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary) !important;
    border-radius: var(--radius-pill);
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-glass-search:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #FFF !important;
    box-shadow: 0 0 15px var(--gold-glow);
}

/* ==========================================================================
   GLASS CARDS & UTILITIES
   ========================================================================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-luxury);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-gold);
}

/* ==========================================================================
   HERO SLIDER & SEARCH BOX
   ========================================================================== */
.hero-slider-section {
    position: relative;
    min-height: 580px;
}

.hero-slide-item {
    height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.45) 0%, rgba(7, 7, 9, 0.95) 100%);
    display: flex;
    align-items: center;
}

.hero-search-box {
    margin-top: -60px;
    z-index: 100;
    position: relative;
}

.search-glass-wrapper {
    background: rgba(18, 18, 24, 0.94);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.1);
}

.form-control-dark, .form-select-dark {
    background: #0A0A0E !important;
    border: 1px solid var(--border-dark) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 16px;
}

.form-control-dark:focus, .form-select-dark:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 12px var(--gold-glow) !important;
}

/* ==========================================================================
   PROPERTY CARD
   ========================================================================== */
.property-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-main);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-luxury);
}

.property-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

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

.property-card:hover .property-thumb img {
    transform: scale(1.08);
}

.badge-purpose {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.badge-ref {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-primary);
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 10px 0;
    margin: 15px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.property-specs span i {
    color: var(--gold-primary);
    margin-right: 4px;
}

.favorite-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.favorite-btn:hover, .favorite-btn.active {
    background: #e11d48;
    color: #fff;
    border-color: #e11d48;
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-main);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.cat-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.cat-icon {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px auto;
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.akyn-footer {
    background: #040406;
    border-top: 1px solid var(--border-gold);
    padding-top: 60px;
    padding-bottom: 30px;
    color: var(--text-muted);
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-primary);
    border: 1px solid var(--border-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--gold-primary);
    color: #000;
    transform: translateY(-3px);
}

/* ==========================================================================
   THEME PALETTE PRESETS (User Choice: Green&White, Black&Grey, Brown&White)
   ========================================================================== */
/* 1. Green & White (Emerald Luxury Real Estate Theme) */
body[data-theme="green-white"] {
    --gold-primary: #10B981;
    --gold-light: #6EE7B7;
    --gold-dark: #047857;
    --gold-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gold-glow: rgba(16, 185, 129, 0.4);
    --border-gold: rgba(16, 185, 129, 0.4);
    --bg-dark: #064E3B;
    --bg-card: #04392B;
    --bg-card-hover: #065F46;
}
body[data-theme="green-white"] .text-warning,
body[data-theme="green-white"] .btn-gold {
    color: #10B981 !important;
}
body[data-theme="green-white"] .btn-gold {
    background: #10B981;
    color: #fff !important;
}

/* 2. Black & Grey Theme */
body[data-theme="black-grey"] {
    --gold-primary: #9CA3AF;
    --gold-light: #F3F4F6;
    --gold-dark: #4B5563;
    --gold-gradient: linear-gradient(135deg, #4B5563 0%, #111827 100%);
    --gold-glow: rgba(156, 163, 175, 0.3);
    --border-gold: rgba(156, 163, 175, 0.4);
    --bg-dark: #000000;
    --bg-card: #121212;
    --bg-card-hover: #1F1F1F;
}

/* 3. Brown & White Theme */
body[data-theme="brown-white"] {
    --gold-primary: #D97706;
    --gold-light: #FBBF24;
    --gold-dark: #92400E;
    --gold-gradient: linear-gradient(135deg, #B45309 0%, #78350F 100%);
    --gold-glow: rgba(217, 119, 6, 0.4);
    --border-gold: rgba(217, 119, 6, 0.4);
    --bg-dark: #1C1917;
    --bg-card: #292524;
    --bg-card-hover: #44403C;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Foldables & Small Screens)
   ========================================================================== */
iframe {
    max-width: 100% !important;
}

.glass-card iframe {
    width: 100% !important;
    border-radius: 12px;
}

@media (max-width: 1199.98px) {
    .akyn-brand-logo {
        height: 65px;
        max-width: 240px;
    }
}

@media (max-width: 991.98px) {
    .akyn-navbar-wrapper {
        top: 5px;
        padding: 0 10px;
    }
    .akyn-navbar {
        padding: 8px 16px;
    }
    .akyn-brand-logo {
        height: 50px;
        max-width: 200px;
    }
    .akyn-navbar .navbar-collapse {
        background: rgba(12, 12, 16, 0.98);
        border: 1px solid var(--border-gold);
        border-radius: 18px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.95);
        backdrop-filter: blur(20px);
    }
    .akyn-navbar .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .akyn-navbar .nav-link::after {
        display: none;
    }
    .akyn-navbar .nav-actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 15px;
    }
    .akyn-navbar .nav-actions .btn,
    .akyn-navbar .nav-actions .dropdown,
    .akyn-navbar .nav-actions .dropdown .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-slider-section, .hero-slide-item {
        height: 480px;
        min-height: 480px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 6px 0;
        font-size: 0.78rem;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .hero-search-box {
        margin-top: -30px;
    }
    .search-glass-wrapper {
        padding: 20px 16px !important;
        border-radius: 20px;
    }
    .purpose-pill-tabs {
        width: 100%;
        border-radius: 16px;
        padding: 6px;
    }
    .btn-gold-tab {
        flex: 1 1 45%;
        text-align: center;
        padding: 8px 6px !important;
        font-size: 0.78rem;
        border-radius: 12px !important;
    }
    section .display-4, .stat-counter-num {
        font-size: 2rem !important;
    }
    .display-6 {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 576px) {
    .akyn-brand-logo {
        height: 42px;
        max-width: 160px;
    }
    .hero-slider-section, .hero-slide-item {
        height: 420px;
        min-height: 420px;
    }
    .hero-slide-item h1 {
        font-size: 1.75rem !important;
        line-height: 1.25;
    }
    .hero-slide-item p.lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.2rem !important;
    }
    .hero-slide-item .btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .btn-gold, .btn-outline-gold, .btn-glass-search {
        padding: 9px 16px;
        font-size: 0.82rem;
    }
    .cat-card {
        padding: 18px 10px;
    }
    .cat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .property-thumb {
        height: 190px;
    }
    .property-price {
        font-size: 1.15rem;
    }
    .property-specs {
        font-size: 0.78rem;
        gap: 8px;
    }
    .w-100-sm {
        width: 100% !important;
    }
}

@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* ==========================================================================
   PRINT STYLESHEET (Luxury Property Brochure Output)
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 12mm 10mm 12mm 10mm;
    }

    html, body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* Hide standard web navbar, footer, sidebars, interactive controls */
    .no-print, header, footer, .top-bar, .akyn-navbar-wrapper, .btn, .favorite-btn, .related-section, .dropdown, select, input, .modal, body > .container.py-5 {
        display: none !important;
    }

    /* Display ONLY the high-resolution brochure wrapper */
    .print-brochure-wrapper {
        display: block !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        width: 100% !important;
    }

    .print-brochure-wrapper * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .print-brochure-header img {
        max-height: 65px !important;
        width: auto !important;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
    }

    .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .col-8 { width: 66.666667% !important; }
    .col-4 { width: 33.333333% !important; }
    .col-3 { width: 25% !important; }
}

