/* ===== GLOBAL RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1E4D2B;
    --secondary-green: #2E6B3E;
    --accent-soil: #8B5A2B;
    --light-soil: #D2B48C;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray: #6C757D;
    --gray-dark: #343A40;
    --dark: #212529;
    --error-red: #D32F2F;
    --success-green: #2E7D32;
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --border-radius: 12px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #F4F6F4;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #14381E 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-soil);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

/* ===== CARDS COMMON STYLES ===== */
.contact-info-card,
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.info-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ===== INFO ITEMS ===== */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.info-icon {
    min-width: 45px;
    height: 45px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-text a,
.info-text address {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    font-style: normal;
    transition: color 0.2s;
}

.info-text a:hover {
    color: var(--primary-green);
}

/* ===== BUSINESS HOURS ===== */
.business-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E9ECEF;
}

.business-hours h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-hours p {
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.closed {
    color: var(--error-red);
    font-weight: 600;
}

/* ===== FORM STYLES ===== */
.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

/* Floating label container */
.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 1.5rem 0.8rem 0.7rem;
    font-size: 1rem;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    font-family: inherit;
}

.floating-label textarea {
    resize: vertical;
    min-height: 120px;
}

.floating-label label {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 0 0.3rem;
    color: var(--gray);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.floating-label textarea ~ label {
    top: 1.2rem;
    transform: none;
}

.floating-label input:focus,
.floating-label textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(30, 77, 43, 0.15);
}

/* Floating label active state */
.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label {
    top: -0.1rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Validation icon */
.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.validation-icon::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.25s ease;
}

/* Show green check when .valid class added */
.form-group.valid .validation-icon::after {
    opacity: 1;
    transform: scale(1);
}

/* Error state */
.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-red);
    background-color: #FFF8F8;
}

.form-group.error label {
    color: var(--error-red);
}

.form-group.error .validation-icon::after {
    background: var(--error-red);
    opacity: 1;
    transform: scale(1);
}

/* Submit button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--secondary-green);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ===== MAP SECTION ===== */
.map-section {
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.map-section iframe {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}