/* Forest Ridge HOA - Stacked Layout Design CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.3)), url('assets/scenic-bailey-mountains.jpg');
    background-size: cover;
    background-position: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.hero-intro {
    font-size: 1.25rem;
    color: #e2e8f0;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.contact-section {
    padding: 5rem 2rem;
    flex: 1;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.address-card {
    background-color: #ffffff;
    border-left: 4px solid #4a6b82;
    padding: 1.5rem;
    border-radius: 6px;
    color: #475569;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.address-card strong {
    color: #1e293b;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.3rem;
}

.form-wrapper {
    flex: 1;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.company-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

label {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

textarea {
    resize: none;
}

input, textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a6b82;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 107, 130, 0.15);
}

button {
    background-color: #4a6b82;
    color: #ffffff;
    border: none;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 0.5rem;
}

button:hover {
    background-color: #385266;
}

button:active {
    transform: translateY(1px);
}

.site-footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    a {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    a:hover {
        color: #4a6b82;
    }
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        align-items: flex-start;
    }
}