/* Variables */
:root {
    --primary-navy: #0B1D51;
    --accent-gold: #D4AF37;
    --bg-ivory: #F9F6F1;
    --text-charcoal: #2E2E2E;
    --text-gray: #888888;
    --white: #FFFFFF;
    --border-gray: #E5E5E5;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-charcoal);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #C19B2F;
}

.btn-outline {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

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

/* Header & Navigation */
.header {
    background-color: var(--primary-navy);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.logo h1 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 29, 81, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Search Filter */
.search-filter {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #2E2E2E;
    font-weight: 500;
    font-size: 1.1em;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    appearance: none;
    cursor: pointer;
    height: 48px;
}

.select-wrapper i.fas {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #D4AF37;
    pointer-events: none;
    font-size: 0.9em;
}

.btn.btn-primary {
    height: 48px;
    padding: 0 30px;
    background-color: #0B1D51;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 32px; /* This aligns the button with the select boxes */
}

.btn.btn-primary:hover {
    background-color: #D4AF37;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* Customer Reviews */
.reviews-section {
    background: var(--bg-ivory);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.reviewer-info h4 {
    margin: 0;
    color: var(--primary-navy);
}

.reviewer-info p {
    color: var(--text-gray);
}

.review-stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
}

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

/* Responsive Design */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-navy);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .filter-grid {
        flex-wrap: wrap;
    }

    .filter-group {
        flex: 1 1 100%;
    }

    .search-filter {
        padding: 20px;
    }

    .features-grid,
    .review-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .carousel-container {
        width: 400%; /* For 1 item visible on mobile */
    }

    .carousel-slide {
        flex: 0 0 25%; /* Each slide takes full width on mobile */
    }

    .property-card {
        max-width: 340px;
    }

    .property-image {
        height: 200px;
    }

    .property-title {
        font-size: 1.1rem;
    }

    .property-features {
        font-size: 0.85rem;
    }

    .property-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Featured Properties Section */
.featured-properties {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.property-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.property-features i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.btn-view-details {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-details:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.view-all-properties {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .filter-grid {
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 1 1 calc(50% - 10px);
    }
    
    .btn.btn-primary {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* Property Search Section */
.property-search-section {
    background: var(--bg-ivory);
    padding: 40px 0 0 0;
    margin-top: -60px; /* overlap slightly with hero for a modern look */
    z-index: 2;
    padding-bottom: 60px;
    position: relative;
}

@media (max-width: 768px) {
    .property-search-section {
        padding: 20px 0 0 0;
        margin-top: 0;
    }
}

.sale-banner {
    background: var(--primary-navy);
    color: var(--white);
    padding: 80px 0 20px 0;
    text-align: center;
}

.sale-banner h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

/* Bento Grid for Gallery Style */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.bento-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bento-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.13);
}

.bento-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.bento-info {
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-info h3 {
    color: var(--primary-navy);
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.bento-info p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bento-item img {
        height: 160px;
    }
} 