/* ================================================
   LUXURY REAL ESTATE DESIGN - Zambian Market
   Inspired by JamesEdition / Luxury Portfolio
   ================================================ */

:root {
    /* Zambian Flag Color Palette - Luxury Edition */
    --luxury-dark: #0A0E27; /* Deep navy for contrast */
    --luxury-primary: #1a5f3f; /* Zambian Green - Primary */
    --luxury-primary-dark: #134730; /* Darker green */
    --luxury-accent: #ff6b35; /* Zambian Orange/Red - Accent */
    --luxury-accent-light: #ff8c6b; /* Lighter orange */
    --luxury-gold: #d4af37; /* Gold accents */
    --luxury-white: #FFFFFF;
    --luxury-gray: #F5F5F5;
    --luxury-text: #1A1A1A;
    --luxury-text-light: #6C757D;
    --luxury-black: #000000; /* Zambian flag black */
    
    /* Zambian Flag Colors */
    --zambia-green: #1a5f3f;
    --zambia-orange: #ff6b35;
    --zambia-red: #dc143c;
}

/* ================================================
   LUXURY NAVIGATION - Dark Header
   ================================================ */

.navbar {
    background: var(--luxury-primary) !important;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border-bottom: 2px solid var(--luxury-accent);
}

.navbar .container {
    max-width: 1400px;
}

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

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--luxury-white) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .accent {
    color: var(--luxury-accent) !important;
    background: linear-gradient(135deg, var(--luxury-accent), var(--luxury-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--luxury-white) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: var(--luxury-accent) !important;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.nav-buttons .btn-secondary {
    border-color: var(--luxury-white);
    color: var(--luxury-white);
    background: transparent;
}

.nav-buttons .btn-secondary:hover {
    background: var(--luxury-white);
    color: var(--luxury-dark);
}

.nav-buttons .btn-primary {
    background: var(--luxury-accent);
    color: var(--luxury-white);
    border: none;
}

.nav-buttons .btn-primary:hover {
    background: var(--luxury-accent-light);
    color: var(--luxury-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ================================================
   LUXURY HERO SECTION - Full Width Image
   ================================================ */

.hero {
    min-height: 70vh;
    position: relative;
    background: linear-gradient(135deg, var(--luxury-primary) 0%, var(--luxury-primary-dark) 100%);
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--hero-background-image, url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1600&q=80'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.hero-background::before,
.hero-background::after {
    display: none;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.7) 0%, rgba(26, 31, 58, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
}

.hero-badge {
    display: none;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem) !important;
    font-weight: 700;
    color: var(--luxury-white);
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-display);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--luxury-accent), var(--luxury-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ================================================
   LUXURY SEARCH CONTAINER - Glassmorphism
   ================================================ */

.search-container {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.search-tabs {
    background: transparent;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    gap: 0;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: var(--luxury-text-light);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    background: white;
    color: var(--luxury-dark);
    border-bottom-color: var(--luxury-accent);
}

.tab-btn:hover {
    color: var(--luxury-dark);
    background: rgba(26, 31, 58, 0.05);
}

.search-form {
    padding: 30px;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 15px;
    align-items: end;
}

.search-field label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--luxury-text);
    margin-bottom: 10px;
    display: block;
}

.search-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    font-family: var(--font-main);
}

.search-field select:focus {
    outline: none;
    border-color: var(--luxury-accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn {
    background: var(--luxury-dark) !important;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: fit-content;
    align-self: end;
}

.search-btn:hover {
    background: var(--luxury-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.search-btn::before {
    display: none;
}

/* ================================================
   TRUSTED AGENCIES SECTION
   ================================================ */

.trusted-agencies {
    background: var(--luxury-gray);
    padding: 60px 0;
    text-align: center;
}

.trusted-agencies .container {
    max-width: 1400px;
}

.trusted-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.trusted-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--luxury-text-light);
    margin: 0;
}

.agencies-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.agency-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    font-weight: 600;
    color: var(--luxury-text);
    font-size: 1.1rem;
}

.agency-logo:hover {
    opacity: 1;
}

/* ================================================
   PROPERTIES SECTION - Luxury Cards
   ================================================ */

.properties {
    background: white;
    padding: 80px 0;
}

.properties .container {
    max-width: 1400px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--luxury-text);
    margin: 0;
    letter-spacing: -1px;
}

.section-header h2::after {
    display: none;
}

.section-header p {
    display: none;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--luxury-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--luxury-accent);
}

.carousel-nav {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--luxury-text);
}

.carousel-btn:hover {
    border-color: var(--luxury-accent);
    color: var(--luxury-accent);
    transform: scale(1.1);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
    .properties-grid {
        display: flex;
        gap: 30px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .property-card {
        flex: 0 0 350px;
        scroll-snap-align: start;
    }
}

/* ================================================
   LUXURY PROPERTY CARDS
   ================================================ */

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid #f0f0f0;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--luxury-accent);
}

.property-card::before {
    display: none;
}

.property-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--luxury-gray);
}

.property-image::after {
    display: none;
}

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

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.property-heart {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.2rem;
}

.property-heart:hover {
    background: var(--luxury-accent);
    color: white;
    transform: scale(1.1);
}

.property-info {
    padding: 25px;
    background: white;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--luxury-text);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--luxury-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.property-details {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.property-detail {
    color: var(--luxury-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================================================
   STATS SECTION - Remove or Redesign
   ================================================ */

.stats-section {
    display: none;
}

/* ================================================
   FEATURES SECTION - Redesign
   ================================================ */

.features {
    background: white;
    padding: 100px 0;
}

.features .container {
    max-width: 1400px;
}

.features .section-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 60px;
}

.features .section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.features .section-header p {
    display: block;
    font-size: 1.2rem;
    color: var(--luxury-text-light);
    font-weight: 400;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.feature-card {
    text-align: left;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.feature-card:hover {
    transform: none;
}

.feature-card::before,
.feature-card::after {
    display: none;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 0 25px 0;
    background: var(--luxury-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: none;
    background: var(--luxury-dark);
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--luxury-text);
    font-family: var(--font-display);
}

.feature-card p {
    color: var(--luxury-text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ================================================
   CTA SECTION - Newsletter Style
   ================================================ */

.cta-section {
    background: white;
    padding: 80px 0;
    border-top: 1px solid #f0f0f0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--luxury-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--luxury-text-light);
    margin-bottom: 40px;
}

/* ================================================
   LUXURY FOOTER
   ================================================ */

.footer {
    background: var(--luxury-dark);
    padding: 80px 0 40px;
    color: var(--luxury-white);
}

.footer .container {
    max-width: 1400px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--luxury-white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-family: var(--font-display);
}

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--luxury-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.developer-credit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--luxury-accent);
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.social-links a:hover {
    background: var(--luxury-accent);
    color: white;
    transform: translateY(-3px);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-btn {
        grid-column: 1 / -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

