/* ==========================================
   A1 INTERIOR & REAL-ESTATE HUB
   Core Style & Premium Design Tokens
   ========================================== */

/* Keyframe animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}


/* Design Variables - Luxel Deep Emerald Theme */
:root {
    /* Color System */
    --primary: #0b2b26;        /* Deep Dark Emerald Teal (Matches Hero) */
    --primary-light: #133e38;  /* Rich Emerald Slate */
    --primary-dark: #061c19;   /* Dark Forest Emerald */
    --accent: #C5A880;         /* Warm Gold/Champagne */
    --accent-light: #E2D4C0;   /* Light Champagne */
    --accent-dark: #A3855E;    /* Dark Bronze/Gold */
    --bg-light: #FAFAFA;       /* Pure Off-White */
    --bg-alt: #F0F5F4;         /* Ice Mint Tinted Emerald Gray */
    --text-dark: #0b2b26;      /* Deep Emerald Charcoal text */
    --text-muted: #3a5c56;     /* Muted Emerald Slate text */
    --accent-contrast: #0b2b26; /* High-contrast text */
    --white: #FFFFFF;
    --border: #D1E0DD;         /* Soft Emerald Border */
    --navbar-bg: #0b2b26;
    --navbar-text: #FFFFFF;
    
    /* Font System */
    --font-heading: 'Urbanist', system-ui, -apple-system, sans-serif;
    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
    
    /* Layout & Styling Values */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(11, 43, 38, 0.08), 0 4px 6px -2px rgba(11, 43, 38, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(11, 43, 38, 0.12), 0 10px 10px -5px rgba(11, 43, 38, 0.04);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --header-height: 80px;
}

/* Reset and Core Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

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

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Container Utility */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Main Header Navigation styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--navbar-bg, #0b2b26); /* Deep Emerald Header BG */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: #0b2b26 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 76px;
    width: auto;
    object-fit: contain;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Inactive nav link item style (high contrast crisp white on dark/sticky header) */
.nav-link,
.main-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--accent);
    transition: var(--transition-quick);
}

.nav-link:hover,
.main-header.scrolled .nav-link:hover {
    color: var(--white) !important;
}

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

/* Active item style in default and sticky header (Champagne Gold high contrast) */
.nav-link.active,
.main-header.scrolled .nav-link.active {
    color: var(--accent) !important; /* #C5A880 Champagne Gold */
    font-weight: 600 !important;
}

.nav-link.active::after,
.main-header.scrolled .nav-link.active::after {
    background-color: var(--accent) !important;
    width: 100%;
}

/* Admin Dashboard navbar items */
.admin-badge {
    border: 1px solid var(--primary);
    padding: 6px 16px !important;
    border-radius: var(--radius-full);
    color: var(--primary) !important;
}
.admin-badge:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.logout-btn {
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 5px 14px !important;
    border-radius: var(--radius-sm);
    color: #ef4444 !important;
    opacity: 0.9;
}
.logout-btn:hover {
    background-color: #ef4444;
    color: var(--white) !important;
    border-color: #ef4444;
}

/* Brand Text Logo (Luxel Style) */
.brand-text-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

/* Header Right Action Group */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header White Pill CTA Button */
.header-btn-pill {
    background-color: #ffffff;
    color: #0b2b26 !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-btn-pill:hover {
    background-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #0b2b26 !important;
}

/* Dropdown Navigation Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #0b2b26;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 24px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.hamburger-icon {
    fill: #ffffff !important; /* High-contrast white */
    transition: transform 0.3s ease, fill 0.3s ease;
    display: block;
}

.mobile-nav-toggle:hover .hamburger-icon,
.mobile-nav-toggle.open .hamburger-icon,
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
    fill: var(--accent) !important; /* Champagne Gold when open/hover */
}

/* Page Content spacer */
.page-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 400px); /* Fill space */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Secondary buttons inside light background elements/forms */
.admin-dashboard .btn-secondary,
.admin-form-panel .btn-secondary,
.contact-section .btn-secondary,
.properties-catalog-section .btn-secondary {
    color: var(--primary) !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
}

.admin-dashboard .btn-secondary:hover,
.admin-form-panel .btn-secondary:hover,
.contact-section .btn-secondary:hover,
.properties-catalog-section .btn-secondary:hover {
    color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    background-color: rgba(197, 168, 128, 0.05) !important;
}

/* Footer styling */
.main-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-item svg {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.gmb-profile-widget {
    margin-top: 12px;
}

.gmb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-light);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(197, 168, 128, 0.2);
    font-size: 14px;
    font-weight: 600;
}

.gmb-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
        background-color: #0b2b26 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .header-btn-pill {
        display: none !important;
    }
    
    .page-content {
        margin-top: 70px;
    }
    
    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .hamburger-icon {
        fill: #ffffff !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #0b2b26 !important; /* Deep Dark Emerald Drawer */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 24px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 10px 0;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent) !important; /* Champagne Gold Active */
    }

    .nav-menu .nav-link.active::after {
        background-color: var(--accent) !important;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================
   A1 PREMIUM LAYOUTS, CARDS & DASHBOARDS
   ========================================== */

/* Hero Board styles */
.home-hero-section {
    padding: 120px 0 80px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.82)), url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&w=1920&q=80') no-repeat center center / cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.home-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.sub-heading-gold {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}
.hero-main-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--accent-light);
    margin-bottom: 30px;
    line-height: 1.6;
}
.owner-summary-board {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.45); /* Dark translucent glassmorphism */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.owner-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
    font-weight: 700; /* Bold label for readability */
}
.owner-name-display {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 2px;
}
.owner-title-display {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75); /* Increased contrast */
}
.owner-actions-row {
    display: flex;
    gap: 12px;
}
.action-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08); /* Brighter for readability */
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}
.action-item:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.action-item.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25D366;
}
.action-item.whatsapp:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}
.hero-actions {
    display: flex;
    gap: 20px;
}
.hero-image-col {
    position: relative;
    display: flex;
    justify-content: center;
}
.owner-image-mobile-wrapper {
    display: none;
}
.owner-image-wrapper {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: visible;
}
.owner-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    position: relative;
}
.gold-accent-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    z-index: 1;
    pointer-events: none;
}

/* Home Categories Section */
.section-header {
    margin-bottom: 50px;
}
.section-title {
    font-size: 36px;
    margin-bottom: 12px;
}
.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.category-block {
    position: relative;
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}
.category-image-holder {
    width: 100%;
    height: 100%;
    position: relative;
}
.cat-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
}
.category-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: var(--white) !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-smooth);
    background: rgba(10, 15, 30, 0.92) !important; /* Premium deep dark slate glassmorphism */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}
.category-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-title-row h3 {
    color: var(--white);
    font-size: 22px;
}
.category-icon {
    fill: var(--accent);
    color: var(--accent);
}
.sub-category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.sub-category-list a {
    color: rgba(255, 255, 255, 0.9); /* Brighter for readability */
    font-size: 14px;
}
.sub-category-list a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}
.cat-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
}
.category-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.category-block:hover .cat-bg-img {
    transform: scale(1.08);
}
.category-block:hover .sub-category-list {
    max-height: 120px;
    opacity: 1;
}

/* Home About Us Section */
.home-about-intro-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
}
.about-intro-box {
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.about-intro-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.divider-gold {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin-bottom: 24px;
}
.about-intro-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Homepage Grids: metrics, why-choose, workflow, testimonials */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Services / About / Properties Pages */
.services-hero-section, .properties-header, .about-hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0;
}
.premium-title {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 12px;
}
.hero-desc {
    color: var(--accent-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}
.services-details-section {
    padding: 100px 0;
}
.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.service-detail-row:last-child {
    margin-bottom: 0;
}
.service-detail-row.reverse {
    direction: rtl;
}
.service-detail-row.reverse .service-detail-info {
    direction: ltr;
}
.gold-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--accent-dark);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.service-detail-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.service-bullets {
    list-style: none;
    margin: 25px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bullet-icon {
    fill: var(--accent);
    color: var(--accent);
    flex-shrink: 0;
}
.service-visual-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.services-cta-section {
    background-color: var(--bg-alt);
    padding: 80px 0;
}
.cta-inner {
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.cta-inner h2 {
    font-size: 30px;
    margin-bottom: 12px;
}
.cta-inner p {
    margin-bottom: 25px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
}

/* About Page Custom */
.about-story-section {
    padding: 100px 0;
}
.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.story-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.story-text {
    font-size: 16px;
    line-height: 1.8;
}
.story-visual {
    position: relative;
}
.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.story-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.badge-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.owner-bio-section {
    background-color: var(--bg-alt);
}
.owner-card-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
}
.owner-bio-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.owner-bio-image {
    height: 100%;
}
.owner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.owner-bio-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.owner-designation {
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.owner-bio-details h3 {
    font-size: 28px;
    margin-bottom: 16px;
}
.owner-quote {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}
.owner-direct-contact {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.owner-direct-contact h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--primary);
}
.owner-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.owner-contact-list strong {
    color: var(--text-dark);
}
.owner-contact-list a {
    color: var(--accent-dark);
}
.owner-actions {
    display: flex;
    gap: 15px;
}
.owner-actions .btn {
    flex: 1;
}

/* Properties & Land Catalog */
.properties-catalog-section {
    padding: 60px 0 100px 0;
}
.catalog-filter-bar {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}
.filter-form {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 20px;
    align-items: flex-end;
}
.filter-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-input-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}
.filter-input-group input, .filter-input-group select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-quick);
}
.filter-input-group input:focus, .filter-input-group select:focus {
    border-color: var(--accent);
}
.filter-btn-group {
    display: flex;
    gap: 10px;
}
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.listing-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}
.card-image-holder {
    height: 240px;
    position: relative;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--accent);
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid rgba(197, 168, 128, 0.3);
}
.card-price-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--primary);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.card-body {
    padding: 24px;
}
.card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 15px;
}
.card-location svg {
    color: var(--accent-dark);
}
.card-features {
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    margin-bottom: 15px;
    font-size: 13px;
}
.feature-item strong {
    color: var(--primary);
}
.card-desc {
    font-size: 14px;
    margin-bottom: 20px;
}
.card-actions {
    display: flex;
    gap: 10px;
}
.card-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
}
.btn-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: var(--transition-quick);
}
.btn-whatsapp-icon:hover {
    background-color: #25D366;
    color: var(--white);
}
.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.listing-card:hover .card-img {
    transform: scale(1.05);
}
.empty-catalog {
    padding: 60px;
    border-radius: var(--radius-md);
}

/* Portfolio Page Custom */
.portfolio-section {
    padding: 60px 0 100px 0;
}
.portfolio-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.portfolio-section p {
    margin-bottom: 40px;
}
.gallery-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 24px;
    background-color: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-quick);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.portfolio-card {
    transition: var(--transition-smooth);
}
.portfolio-card.hidden {
    display: none;
}

/* Contact Us Page Custom */
.contact-section {
    padding: 60px 0 100px 0;
}
.contact-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.contact-section p {
    margin-bottom: 40px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}
.contact-form-container, .contact-info-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.contact-form-container h2, .contact-info-container h2 {
    font-size: 24px;
    margin-bottom: 24px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}
.form-group input, .form-group select, .form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    background-color: var(--white);
    outline: none;
    transition: var(--transition-quick);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent);
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.02);
}
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}
.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}
.contact-inquiry-ref {
    margin-bottom: 25px;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--accent);
    background-color: rgba(197, 168, 128, 0.05);
}
.contact-inquiry-ref p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--accent-dark);
}

/* Admin Dashboard Portal */
.admin-login-section {
    padding: 100px 0;
}
.login-form-box {
    max-width: 460px;
    margin: 40px auto 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.admin-dashboard h1 {
    font-size: 36px;
    margin-bottom: 8px;
}
.admin-dashboard p {
    margin-bottom: 40px;
}
.admin-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 35px;
    gap: 5px;
}
.admin-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
}
.admin-tab-btn:hover {
    color: var(--primary);
}
.admin-tab-btn.active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-table-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow-x: auto;
    margin-bottom: 30px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.admin-table th, .admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.admin-table th {
    background-color: var(--bg-alt);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--primary);
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover td {
    background-color: rgba(241, 245, 249, 0.5);
}
.table-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-badge.active { background-color: rgba(34, 197, 94, 0.1); color: #16a34a; }
.status-badge.sold { background-color: rgba(239, 68, 68, 0.1); color: #dc2626; }
.status-badge.completed { background-color: rgba(59, 130, 246, 0.1); color: #2563eb; }

.btn-actions {
    display: flex;
    gap: 8px;
}
.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}
.btn-edit { background-color: var(--bg-alt); color: var(--primary); }
.btn-edit:hover { background-color: var(--border); }
.btn-delete { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.btn-delete:hover { background-color: #ef4444; color: var(--white); }

/* Leads view */
.leads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.lead-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.lead-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.lead-meta h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.lead-date {
    font-size: 12px;
    color: var(--text-muted);
}
.lead-detail-row {
    font-size: 14px;
    margin-bottom: 8px;
}
.lead-message {
    background-color: var(--bg-alt);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-top: 15px;
    border: 1px solid var(--border);
}
.lead-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Edit / Add Forms Panel */
.admin-form-panel {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 35px;
}
.admin-form-panel h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .categories-grid, .listings-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-detail-row {
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .owner-image-mobile-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 35px;
    }
    .hero-image-col {
        display: none;
    }
    .owner-summary-board {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .owner-actions-row {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    .hero-actions, .cta-buttons {
        justify-content: center;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .why-choose-grid, .workflow-steps-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .categories-grid, .listings-grid, .gallery-grid, .leads-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-row, .service-detail-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .service-visual-img {
        height: 280px;
    }
    .filter-form {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    /* Homepage and About Page Grid Resets */
    .metrics-grid, .why-choose-grid, .workflow-steps-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .owner-bio-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .owner-bio-image {
        height: 280px;
    }
    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Mobilized visual categories card blocks */
    .category-block {
        height: auto !important;
        display: flex;
        flex-direction: column;
    }
    .category-image-holder {
        height: 220px !important;
    }
    .category-info-panel {
        position: relative !important;
        box-shadow: none !important;
        border-top: 1px solid var(--border) !important;
        background: var(--white) !important;
        padding: 24px 20px !important;
    }
    .category-title-row h3 {
        color: var(--primary) !important;
    }
    .sub-category-list {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 12px;
    }
    .sub-category-list a {
        color: var(--text-dark) !important;
    }
    .cat-btn {
        margin-top: 12px;
    }
    
    /* Showcase filter controls horizontal touch scrolling */
    .showcase-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 6px 12px !important;
        margin: 0 auto 30px auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .showcase-filters::-webkit-scrollbar {
        display: none;
    }
    .filter-tab-btn {
        flex-shrink: 0;
        padding: 8px 16px;
    }
    
    /* Premium animated Hamburger to X */
    .mobile-nav-toggle svg rect {
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        transform-origin: center;
    }
    .mobile-nav-toggle.open svg rect:nth-child(1) {
        transform: translateY(30px) rotate(45deg);
    }
    .mobile-nav-toggle.open svg rect:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.open svg rect:nth-child(3) {
        transform: translateY(-30px) rotate(-45deg);
    }
    
    /* Realigned responsive nav menu overlay */
    .nav-menu {
        background-color: var(--navbar-bg, rgba(255, 255, 255, 0.98)) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }
    .nav-link {
        color: var(--navbar-text, var(--text-dark)) !important;
    }
}
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* High Contrast Accent Labels on light sections */
.main-categories-section .sub-heading-gold,
.home-about-intro-section .sub-heading-gold,
.featured-properties-section .sub-heading-gold,
.home-why-choose-us .sub-heading-gold,
.properties-catalog-section .sub-heading-gold,
.services-details-section .sub-heading-gold,
.portfolio-section .sub-heading-gold,
.contact-section .sub-heading-gold {
    color: var(--accent-contrast);
}

/* Floating Hero Badges & Background Glow */
.floating-hero-badge {
    position: absolute;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.floating-hero-badge:hover {
    transform: translateY(-5px);
}
.first-badge {
    top: 50px;
    left: -40px;
}
.second-badge {
    bottom: 50px;
    right: -40px;
}
.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge-info {
    display: flex;
    flex-direction: column;
}
.badge-info strong {
    font-size: 13px;
    color: var(--primary);
    font-family: var(--font-body);
}
.badge-info span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Background Glow Blob */
.hero-image-col::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

/* Adjustments for Mobile Floating Badges */
@media (max-width: 1024px) {
    .first-badge {
        left: -10px;
    }
    .second-badge {
        right: -10px;
    }
}
@media (max-width: 480px) {
    .floating-hero-badge {
        display: none; /* Hide badges on extremely small mobile screens */
    }
    .owner-image-wrapper {
        width: 260px;
        height: 325px;
    }
}

/* Wide Call Button on Cards */
.btn-call-wide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #2563eb;
    color: var(--white);
    background: #2563eb;
    transition: var(--transition-quick);
}
.btn-call-wide:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: var(--white);
}

/* Homepage Showcase Filter Tabs - Premium Segmented Control Design */
.showcase-filters {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    width: max-content;
    margin: 0 auto 40px auto;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
.filter-tab-btn {
    position: relative;
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-tab-btn:hover {
    color: var(--primary);
}
.filter-tab-btn.active {
    color: var(--primary) !important;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}
.filter-tab-btn .progress-bar {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 2.5px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}
.filter-tab-btn.active .progress-bar {
    animation: tabProgress 5s linear forwards;
}
.showcase-filters.manual .progress-bar {
    display: none !important;
}
@keyframes tabProgress {
    from { width: 0%; left: 50%; }
    to { width: 80%; left: 10%; }
}

/* Card Filtering Utility */
.listing-card.hidden-card {
    display: none !important;
}

/* ==========================================
   MEDIA LIBRARY MODAL SYSTEM
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease forwards;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 850px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    font-size: 20px;
    color: var(--primary);
    font-family: var(--font-heading);
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-quick);
}
.modal-close:hover {
    color: var(--primary);
}
.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}
.modal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.modal-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
}
.modal-tab-btn:hover {
    color: var(--primary);
}
.modal-tab-btn.active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}
.media-tab-content {
    display: none;
}
.media-tab-content.active {
    display: block;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    max-height: 40vh;
    overflow-y: auto;
    padding: 4px;
}
.media-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: var(--transition-quick);
}
.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-item:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.media-item.selected {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
}
.media-item.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent-dark);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}
.drag-drop-zone {
    border: 2px dashed var(--accent);
    border-radius: var(--radius-md);
    background: rgba(197, 168, 128, 0.03);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-quick);
}
.drag-drop-zone:hover {
    background: rgba(197, 168, 128, 0.08);
}
.drag-drop-zone p {
    font-size: 15px;
    color: var(--accent-dark);
    font-weight: 600;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Gallery & Lightbox Styles */
.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    #gallery-lightbox button[onclick="prevImage()"] {
        left: 10px !important;
        background: rgba(15, 23, 42, 0.7) !important;
    }
    #gallery-lightbox button[onclick="nextImage()"] {
        right: 10px !important;
        background: rgba(15, 23, 42, 0.7) !important;
    }
}


/* Partners Logo Grid – 2 columns on mobile */
@media (max-width: 600px) {
    .partners-logo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 12px !important;
    }
    .partner-logo-item img {
        max-height: 60px !important;
    }
}

/* Why Choose PK Interior - Relaxo Style Section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGradient {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 124, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 124, 0, 0);
    }
}

.relaxo-style-section {
    background-color: var(--white);
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.relaxo-style-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.relaxo-style-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.relaxo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.relaxo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.relaxo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.relaxo-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB300 0%, #F57C00 50%, #E65100 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.relaxo-icon-wrapper:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(245, 124, 0, 0.4);
    animation: pulseGradient 1.5s infinite;
}

.relaxo-icon-wrapper svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
    transition: transform 0.4s ease;
}

.relaxo-icon-wrapper:hover svg {
    transform: scale(1.1);
}

.relaxo-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.relaxo-card-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

/* ══════════════════════════════════════════════════════════════
   LOGO DIMENSIONS — Prevents CLS (Cumulative Layout Shift)
══════════════════════════════════════════════════════════════ */
.site-logo {
    width: 160px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}
.footer-logo-img {
    width: 140px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

/* ══════════════════════════════════════════════════════════════
   STICKY WHATSAPP WIDGET
══════════════════════════════════════════════════════════════ */
.sticky-whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 84px;
    z-index: 99999;
    will-change: transform;
}

.whatsapp-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-sticky-btn::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulse 2s infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0%   { transform: scale(0.9); opacity: 0.8; }
    50%  { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.whatsapp-sticky-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #20ba59 0%, #0e7266 100%);
}

.whatsapp-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0b2b26;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(197, 168, 128, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0b2b26;
}

.whatsapp-sticky-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 576px) {
    .sticky-whatsapp-widget {
        right: 16px;
        bottom: 72px;
    }
    .whatsapp-sticky-btn {
        width: 42px;
        height: 42px;
    }
    .whatsapp-sticky-btn svg {
        width: 22px;
        height: 22px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
══════════════════════════════════════════════════════════════ */
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #0b2b26;
    color: var(--accent);
    border: 1px solid rgba(197, 168, 128, 0.35);
    box-shadow: 0 8px 25px rgba(11, 43, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99990;
    will-change: transform, opacity;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: #133e38;
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(11, 43, 38, 0.5);
}

@media (max-width: 576px) {
    .scroll-to-top-btn {
        bottom: 18px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
    .scroll-to-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

