/* CSS Styles */
:root {
    --primary-color: #1B3B5A; /* Navy Blue */
    --secondary-color: #2C5F6E; /* Teal */
    --accent-color: #F4A460; /* Warm Gold */
    --light-color: #F8F9FA;
    --dark-color: #2C3E50;
    --text-color: #333333;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(27, 59, 90, 0.7), rgba(44, 95, 110, 0.7)), 
                url('../images/front-yard.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: none;
}

.hero-cta:hover {
    background-color: #e5944f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Photo Gallery */
.gallery {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 59, 90, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Virtual Tour Section */
.virtual-tour {
    padding: 80px 0;
    background-color: white;
}

.tour-container {
    max-width: 900px;
    margin: 0 auto;
}

.tour-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.tour-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.tour-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.tour-btn.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.tour-btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Neighborhood Section */
.neighborhood {
    padding: 80px 0;
    background-color: var(--light-color);
}

.neighborhood-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.neighborhood-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.neighborhood-list {
    list-style: none;
}

.neighborhood-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.neighborhood-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.neighborhood-map {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact h2 {
    color: white;
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #e5944f;
    transform: translateY(-2px);
}

/* Open House Banner */
.open-house-banner {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.open-house-banner a {
    color: white;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.disclaimer {
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .neighborhood-content {
        grid-template-columns: 1fr;
    }
    
    .tour-buttons {
        flex-direction: column;
    }
    
    .tour-btn {
        width: 100%;
        text-align: center;
    }
}

/* Sticky Contact Bar (Mobile) */
.sticky-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    justify-content: space-around;
    z-index: 1000;
}

.sticky-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .sticky-contact {
        display: flex;
    }
    
    body {
        padding-bottom: 60px;
    }
}
