/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 60% - Dominant Colors (Backgrounds) */
    --primary-bg: #FFFFFF;
    --secondary-bg: #F8F9FA;
    --tertiary-bg: #F3F4F6;
    
    /* 30% - Secondary Colors (Gold from logo) */
    --gold-primary: #D4AF37;
    --gold-light: #E5C57F;
    --gold-dark: #B8941C;
    --cyan-accent: #00BCD4; /* Blue from your logo */
    
    /* 10% - Accent Colors (Dark from logo) */
    --dark-primary: #1A1A1A;
    --dark-secondary: #2C2C2C;
    --dark-light: #3A3A3A;
    
    /* Supporting Colors */
    --text-dark: #333333;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --border-light: #E5E7EB;
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--primary-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER (60% White, 10% Dark text, 30% Gold accents)
   ========================================== */
.header {
    background: var(--primary-bg); /* 60% */
    box-shadow: 0 2px 8px var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 3px solid var(--gold-primary); /* 30% Gold accent */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    background:none;
    width: auto;
    filter: drop-shadow(0 2px 4px var(--shadow-sm));
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--cyan-accent); /* Cyan from logo */
    letter-spacing: 1px;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark); /* 10% Dark */
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav a:not(.btn-admin):hover {
    color: var(--gold-primary); /* 30% Gold */
}

.nav a:not(.btn-admin)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary); /* 30% Gold */
    transition: width 0.3s ease;
}

.nav a:not(.btn-admin):hover::after {
    width: 100%;
}

.btn-admin {
    
    background: var(--gold-primary); /* 10% Dark accent */
    color: var(--primary-bg);
    padding: 10px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--gold-primary); /* 30% Gold */
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-primary);
    cursor: pointer;
}

/* ==========================================
   HERO SECTION (60% Image, 30% Gold overlay, 10% Dark text)
   ========================================== */
.hero {
    background: linear-gradient(
        135deg, 
        rgba(26, 26, 26, 0.7) 0%, /* 10% Dark */
        rgba(212, 175, 55, 0.3) 100% /* 30% Gold */
    ),
    url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1920') center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    color: var(--primary-bg); /* 60% White text */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--primary-bg); /* 60% White */
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: var(--primary-bg); /* 60% White */
}

/* SEARCH BOX (60% White bg, 30% Gold accents) */
.search-box {
    background: var(--primary-bg); /* 60% White */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    border: 3px solid var(--gold-primary); /* 30% Gold */
}

.search-input {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--secondary-bg); /* 60% Light bg */
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.search-input:focus-within {
    border-color: var(--gold-primary); /* 30% Gold */
}

.search-input i {
    color: var(--gold-primary); /* 30% Gold */
    font-size: 20px;
}

.search-input input {
    flex: 1;
    border: none;
    background: none;
    font-size: 16px;
    outline: none;
    color: var(--dark-primary); /* 10% Dark */
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.search-filters select {
    padding: 14px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--primary-bg); /* 60% White */
    cursor: pointer;
    transition: all 0.3s;
}

.search-filters select:focus {
    outline: none;
    border-color: var(--gold-primary); /* 30% Gold */
}

.btn-search {
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   PROPERTIES SECTION (60% Light bg)
   ========================================== */
.properties {
    padding: 80px 0;
    background: var(--secondary-bg); /* 60% Light background */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-primary); /* 10% Dark */
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-primary); /* 30% Gold */
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

/* FILTER TABS (60% White, 30% Gold when active) */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--primary-bg); /* 60% White */
    border: 2px solid var(--border-light);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.filter-tab .count {
    background: var(--secondary-bg);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.filter-tab:hover {
    border-color: var(--gold-primary); /* 30% Gold */
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--gold-primary); /* 30% Gold */
    border-color: var(--gold-primary);
    color: var(--dark-primary); /* 10% Dark */
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.filter-tab.active .count {
    background: var(--dark-primary); /* 10% Dark */
    color: var(--primary-bg);
}

/* PROPERTIES GRID */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* PROPERTY CARD (60% White, 30% Gold accents, 10% Dark text) */
.property-card {
    background: var(--primary-bg); /* 60% White */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-sm);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-md);
    border-color: var(--gold-primary); /* 30% Gold */
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-badge.new {
    background: var(--cyan-accent);
    color: var(--primary-bg);
}

.property-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    color: var(--primary-bg); /* 60% White */
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.property-status.rented {
    background: var(--text-light);
}

/* PROPERTY CONTENT */
.property-content {
    padding: 25px;
}

.property-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-primary); /* 30% Gold */
    margin-bottom: 10px;
}

.property-price span {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.property-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-primary); /* 10% Dark */
    margin-bottom: 10px;
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-location i {
    color: var(--gold-primary); /* 30% Gold */
}

.property-features {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 2px solid var(--border-light);
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 15px;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.property-features i {
    color: var(--gold-primary); /* 30% Gold */
    font-size: 16px;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity {
    background: var(--secondary-bg); /* 60% Light */
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.amenity:hover {
    background: var(--gold-light); /* 30% Gold */
    border-color: var(--gold-primary);
    color: var(--dark-primary);
}

.amenity i {
    color: var(--gold-primary); /* 30% Gold */
}

.property-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-view,
.btn-contact {
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view {
    background: var(--secondary-bg); /* 60% Light */
    color: var(--dark-primary); /* 10% Dark */
    border-color: var(--border-light);
}

.btn-view:hover {
    background: var(--dark-primary); /* 10% Dark */
    color: var(--primary-bg);
    border-color: var(--dark-primary);
}

.btn-contact {
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    border-color: var(--gold-primary);
}

.btn-contact:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* LOAD MORE */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: var(--primary-bg); /* 60% White */
    border: 2px solid var(--gold-primary); /* 30% Gold */
    color: var(--gold-primary);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    transform: scale(1.05);
}

/* ==========================================
   WHY US SECTION (60% White bg)
   ========================================== */
.why-us {
    padding: 80px 0;
    background: var(--primary-bg); /* 60% White */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 35px 25px;
    border-radius: 15px;
    background: var(--secondary-bg); /* 60% Light */
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-md);
    border-color: var(--gold-primary); /* 30% Gold */
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-primary); /* 30% Gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.feature-icon i {
    font-size: 36px;
    color: var(--dark-primary); /* 10% Dark */
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-primary); /* 10% Dark */
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION (60% Light bg, 30% Gold, 10% Dark)
   ========================================== */
.contact {
    padding: 80px 0;
    background: var(--secondary-bg); /* 60% Light */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-logo {
    width: 120px;
    margin-bottom: 20px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-primary); /* 10% Dark */
}

.contact-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: start;
    padding: 15px;
    background: var(--primary-bg); /* 60% White */
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary); /* 30% Gold */
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gold-primary); /* 30% Gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-primary); /* 10% Dark */
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    color: var(--dark-primary); /* 10% Dark */
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-dark);
    margin: 0;
}

/* CONTACT FORM (60% White, 30% Gold button) */
.contact-form {
    background: var(--primary-bg); /* 60% White */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-sm);
    border: 2px solid var(--gold-primary); /* 30% Gold */
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border 0.3s;
    background: var(--primary-bg); /* 60% White */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary); /* 30% Gold */
}

.btn-submit {
    width: 100%;
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   FOOTER (10% Dark bg, 30% Gold accents, 60% Light text)
   ========================================== */
.footer {
    background: var(--dark-primary); /* 10% Dark */
    color: var(--primary-bg); /* 60% Light text */
    padding: 60px 0 20px;
    border-top: 4px solid var(--gold-primary); /* 30% Gold */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 100px;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--gold-primary); /* 30% Gold */
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8); /* 60% Light */
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--primary-bg);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--gold-primary); /* 30% Gold */
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--dark-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--gold-primary); /* 30% Gold */
    color: var(--dark-primary); /* 10% Dark */
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   MODAL (60% White, 30% Gold, 10% Dark)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9); /* 10% Dark overlay */
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--primary-bg); /* 60% White */
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    border: 3px solid var(--gold-primary); /* 30% Gold */
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--gold-primary); /* 30% Gold */
    border: none;
    border-radius: 50%;
    color: var(--dark-primary); /* 10% Dark */
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--dark-primary); /* 10% Dark */
    color: var(--gold-primary);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: var(--primary-bg); /* 60% White */
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px var(--shadow-md);
        transition: left 0.3s;
        border-top: 3px solid var(--gold-primary); /* 30% Gold */
    }
    
    .nav.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .property-actions {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
    }
}