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

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #3b7ea1;
    --dark-color: #2d3142;
    --light-color: #f8f9fa;
    --text-color: #333;
    --spacing: 2rem;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 126, 161, 0.3);
}

.btn-cta:hover {
    background-color: #2d6485;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 126, 161, 0.4);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Hero Image Section with Overlay */
.hero-image {
    position: relative;
    width: 100%;
    min-height: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-image .house-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(44, 95, 45, 0.85);
    backdrop-filter: blur(2px);
    padding: 3rem 2rem;
    margin: 2rem 2rem 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Features Overlay Section */
.features-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

/* Features Section */
.features {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    color: #666;
}

/* Location Section */
.location {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.address {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.address h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.address p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Booking Section */
.booking {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5a9bb8 100%);
    text-align: center;
}

.booking-content {
    max-width: 700px;
    margin: 0 auto;
}

.booking h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.booking p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.booking-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.85;
}

.booking .btn-cta {
    background-color: white;
    color: var(--accent-color);
}

.booking .btn-cta:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    opacity: 0.8;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        min-height: 1000px;
    }

    .hero-overlay {
        margin: 1rem 1rem 0.5rem 1rem;
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .features {
        padding: 2rem 1rem;
    }

    .features h2,
    .location h2,
    .booking h2 {
        font-size: 2rem;
    }

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

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-image {
        min-height: 950px;
    }

    .hero-overlay {
        margin: 0.5rem 0.5rem 0.25rem 0.5rem;
        padding: 1.5rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .features {
        padding: 1.5rem 0.5rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

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