/* Import Black Han Sans font for logo - must be first */
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* RAbnb Brand Colors - Remain constant in both themes */
    --primary-color: #dd7447;        /* Mandarin - Main brand color */
    --primary-dark: #c4613c;         /* Darker Mandarin for hover states */
    --primary-light: #f0a67d;        /* Lighter Mandarin for gradients */
    --secondary-color: #f3c237;      /* Gold Poppy - Highlights and badges */
    --accent-color: #0f509b;         /* Spanish Blue - CTAs and accents */
    --accent-dark: #0a3a6f;          /* Darker Spanish Blue */
    
    /* Theme Colors - Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #fffaea;         /* Floral White - Light backgrounds */
    --bg-tertiary: #f9fafb;
    --bg-elevated: #ffffff;          /* Cards, modals */
    
    --text-primary: #1f2937;         /* Main text */
    --text-secondary: #6b7280;       /* Secondary text */
    --text-tertiary: #9ca3af;        /* Muted text */
    --text-inverse: #ffffff;         /* Text on dark backgrounds */
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --divider: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Legacy variable support */
    --text-dark: var(--text-primary);
    --text-light: var(--text-secondary);
    --bg-light: var(--bg-secondary);
    --white: var(--bg-primary);
    --light-gray: var(--border-color);
}

/* NOTE: Dark Mode Theme moved to /css/dark-mode.css */

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Print-only logo container (hidden by default, shown in @media print) */
.print-logo {
    display: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transition: all 0.3s ease;
}

/* ==============================================
   PRINT STYLES - Property & Public Pages
   ============================================== */
@media print {
    /* Force light mode regardless of theme */
    html,
    body,
    [data-theme="dark"],
    [data-theme="light"] {
        background: #ffffff !important;
        color: #111827 !important;
    }

    /* Normalize colors so text is always dark on white */
    *,
    *::before,
    *::after {
        color: #111827 !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    img,
    picture,
    video {
        background-color: transparent !important;
    }

    /* Hide global nav bar, show standalone print logo instead */
    .navbar {
        display: none !important;
    }

    .print-logo {
        display: flex !important;
        justify-content: center;
        margin: 0 0 16px;
    }

    .print-logo-inner {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .print-logo svg {
        width: 60px;
        height: auto;
    }

    .print-logo-text {
        font-family: 'Black Han Sans', sans-serif;
        font-size: 1.8rem;
        letter-spacing: -0.5px;
        color: #111827 !important;
    }

    /* Hide breadcrumbs on property pages */
    .breadcrumb {
        display: none !important;
    }

    /* Hide share/favorite/notes bar in property header */
    .property-share-bar {
        display: none !important;
    }

    /* Hide primary booking CTA in sidebar */
    #booking-open-calendar,
    .booking-card .cta-primary {
        display: none !important;
    }

    /* Hide \"You May Also Like\" / similar-properties section */
    .similar-properties,
    .flexible-dates-section {
        display: none !important;
    }

    /* Footer: show only bottom legal line, hide other footer content */
    .footer .footer-content {
        display: none !important;
    }

    .footer .footer-bottom {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo svg {
    width: 45px;
    height: 35px;
    margin-right: 4px;
}

.nav-logo span {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    color: white;
}

.nav-logo .logo-accent {
    color: #dd7447;
}

.nav-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-buttons .btn-secondary,
.auth-buttons .btn-primary {
    font-size: 0.9rem;
    padding: 8px 16px;
    white-space: nowrap;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 6px 14px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #222;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.user-menu-toggle:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.user-menu-toggle i.fa-bars {
    font-size: 0.9rem;
    color: #222;
}

.user-menu-toggle i.fa-user-circle {
    font-size: 1.8rem;
    color: #717171;
}

/* For logged-in users - no hamburger icon, smaller styling */
.user-menu-toggle:not(.auth-toggle) {
    gap: 8px;
    padding: 6px 12px;
}

.user-menu-toggle:not(.auth-toggle) i.fa-bars {
    display: none;
}

.user-menu-toggle:not(.auth-toggle) i.fa-user-circle {
    font-size: 1.5rem;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* User Menu Header */
.user-menu-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.user-menu-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-menu-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.user-menu-item:hover {
    background: var(--bg-hover);
}

.user-menu-item i {
    width: 18px;
    color: var(--text-secondary);
}

/* Primary menu item (Sign up) */
.user-menu-primary {
    font-weight: 600;
    color: var(--accent-primary) !important;
}

.user-menu-primary i {
    color: var(--accent-primary) !important;
}

.user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.user-menu-logout {
    color: #ef4444;
}

.user-menu-logout i {
    color: #ef4444;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.1rem;
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
    color: #fbbf24;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .sun-icon {
    color: #f59e0b;
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('/assets/hero-bg-for-now.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
}

/* Retro 70s Polaroid-inspired overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Warm vintage filter with better text contrast */
    background: linear-gradient(
        to bottom, 
        rgba(180, 130, 80, 0.45) 0%, /* Darker golden top - ensures text readability */ 
        rgb(52 37 26 / 50%) 40%, /* Warm mid-tone with good opacity */ 
        rgba(50, 30, 20, 0.75) 100% /* Deep dark bottom for strong contrast */
        );
    pointer-events: none;
    z-index: 1;
}

/* Add slight grain/noise texture for vintage feel */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;  /* Slightly more visible grain */
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    /* Subtle diffused shadow - creates separation without harsh shadow */
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    /* Lighter diffused shadow for subtitle */
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search Container */
.search-container {
    background: var(--white);
    border-radius: 50px;
    padding: 10px;
    display: flex;
    gap: 10px;
    /* Diffused shadow creates subtle dark area around search box */
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 16px 48px rgba(0, 0, 0, 0.10);
    animation: fadeInUp 1s ease 0.4s both;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 40px;
    background: var(--bg-light);
    flex: 1;
    min-width: 150px;
}

.search-box i {
    color: var(--text-light);
    margin-right: 10px;
}

.search-box input,
.search-box select {
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.search-box input::placeholder {
    color: var(--text-light);
}

/* Hero Date Boxes - Calendar-style */
.hero-date-box {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-date-box:hover {
    background: rgba(255, 255, 255, 0.95);
}

.hero-date-box.active {
    background: rgba(196, 97, 60, 0.1);
    border: 2px solid rgba(196, 97, 60, 0.3);
}

.hero-date-display {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.hero-date-display .placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.hero-date-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    top: -9999px;
    left: -9999px;
    pointer-events: none;
}

.hero-date-box i {
    color: #c4613c;
    margin-right: 10px;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Featured Properties Section */
/* .featured-properties {
    padding: 80px 20px;
} */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-title .logo-font {
    font-family: 'Black Han Sans', sans-serif;
    letter-spacing: -0.5px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.property-card:hover .property-image img {
    transform: scale(1.03);
}

/* Carousel Images */
.property-image-carousel {
    position: relative;
}

.property-image-carousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.property-image-carousel .carousel-image.active {
    position: relative;
    opacity: 1;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-image-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav-prev {
    left: 12px;
}

.carousel-nav-next {
    right: 12px;
}

.carousel-nav i {
    color: var(--text-dark);
    font-size: 0.875rem;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

.carousel-dot.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.favorite-btn i {
    font-size: 1.2rem;
}

.property-info {
    padding: 20px;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.property-features i {
    color: var(--primary-color);
}

.property-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: var(--text-light);
    margin-left: 5px;
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.property-rating i {
    color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--white);
}

.features .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 2rem;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}

/* Homepage "Why Choose RAbnb?" – override property-detail.css and center the grid */
.features .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--bg-primary);
}

/* About Hero Section */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(55, 65, 81, 0.75)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13, 28, 44, 0.75), rgba(221, 116, 71, 0.3));
    mix-blend-mode: multiply;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(243, 194, 55, 0.95);
    margin-bottom: 16px;
    font-weight: 600;
}

.about-hero-text h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.2;
}

.about-hero-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.about-primary-btn {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(221, 116, 71, 0.4);
}

.about-primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(221, 116, 71, 0.5);
}

.about-secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.about-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* About Stats Section */
.about-stats {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-stat-card {
    background: var(--bg-elevated);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(221, 116, 71, 0.3);
}

.about-stat-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-stat-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About CTA Section */
.about-cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(221, 116, 71, 0.1), rgba(196, 97, 60, 0.05));
    border-top: 1px solid var(--border-color);
}

.about-cta-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.about-cta-text {
    flex: 1;
    min-width: 300px;
}

.about-cta-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-cta-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(221, 116, 71, 0.3);
    white-space: nowrap;
}

.about-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(221, 116, 71, 0.4);
}

.about-cta-btn i {
    transition: transform 0.3s ease;
}

.about-cta-btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 10px;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f3c237;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

/* Load More Button (All Devices) - Minimalist Design */
#load-more-btn {
    display: block;
    width: auto;
    margin: 40px auto;
    padding: 12px 32px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#load-more-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff5f0;
}

#load-more-btn i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#load-more-btn:hover i {
    transform: translateY(2px);
}

#load-more-btn.loading {
    opacity: 0.6;
    cursor: wait;
}

#load-more-btn.hidden {
    display: none;
}

/* Hide cards for lazy loading */
.lazy-hidden {
    display: none !important;
}

/* Subtle fade-in animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
}

.footer-logo svg {
    width: 45px;
    height: 35px;
    margin-right: 4px;
}

.footer-logo span {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.footer-logo .logo-accent {
    color: #dd7447;
}

.footer-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3c237;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==============================================
   CONTACT SECTION
   ============================================== */

.contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact .contact-info {
    text-align: left;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
}

.contact-item > div {
    flex: 1;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1;
    padding-top: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.5;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--bg-elevated);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(221, 116, 71, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-submit-btn {
    margin-top: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 116, 71, 0.3);
}

.contact-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-submit-btn .btn-loader {
    display: none;
}

.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 8px;
}

.form-message.active {
    display: block;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Section Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }
}

/* Animations - fadeInUp is already defined earlier in the file */

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hero {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-container {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-box {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    /* Property card styles moved to css/components/property-cards.css */
    
    /* Mobile adjustments for Load More button */
    #load-more-btn {
        max-width: 300px;
        padding: 15px;
        font-size: 1rem;
    }

    .about-hero {
        min-height: 50vh;
        padding: 80px 20px 60px;
    }

    .about-hero-text h2 {
        font-size: 2rem;
    }

    .about-hero-text p {
        font-size: 1rem;
    }

    .about-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .about-stats {
        padding: 60px 20px;
    }

    .about-stat-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-cta-section {
        padding: 40px 20px;
    }

    .about-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .about-cta-text {
        min-width: auto;
    }

    .about-cta-text h3 {
        font-size: 1.75rem;
    }

    .about-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    /* Even more compact cards for small phones */
    .container {
        padding: 0 12px;
    }
}

/* NOTE: Dark mode enhancements moved to /css/dark-mode.css */

/* Consent banner */
.rabnb-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-secondary, #1e293b);
    color: var(--text-primary, #f1f5f9);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
}
.rabnb-consent-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}
.rabnb-consent-text {
    margin: 0;
    flex: 1;
    min-width: 260px;
    font-size: 0.9rem;
    line-height: 1.45;
}
.rabnb-consent-text a {
    color: var(--accent-primary, #dd7447);
    text-decoration: underline;
}
.rabnb-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.rabnb-consent-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.rabnb-consent-btn-essential {
    background: transparent;
    color: var(--text-primary, #f1f5f9);
    border: 1px solid var(--border-color, #475569);
}
.rabnb-consent-btn-essential:hover {
    background: rgba(255, 255, 255, 0.08);
}
.rabnb-consent-btn-accept {
    background: var(--accent-primary, #dd7447);
    color: white;
}
.rabnb-consent-btn-accept:hover {
    background: #c9653a;
    color: white;
}
@media (max-width: 600px) {
    .rabnb-consent-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .rabnb-consent-buttons {
        justify-content: stretch;
    }
    .rabnb-consent-btn {
        flex: 1;
    }
}
