.contact-page {
    padding: 2rem 0;
}

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #333);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    max-width: 80%;
    background: #f8f9fa;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    margin-right: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

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

form input, form textarea {
    font-size: var(--font-size-text);
    color: #333;
    font-family: 'Lato', sans-serif;
}

form label {
    font-family: 'Lato', sans-serif;
    color: var(--primary-color, #333);
}

.btn-submit {
    background: var(--green);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Theano Didot', sans-serif;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid #f5c6cb;
}

.map-section {
    position: relative;
    margin: 0 1rem;
}

.google-map-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-map-container iframe {
    display: block;
    border-radius: 8px;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    justify-content: space-around;
}

.contact-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color, #333);
}

.contact-info p, .contact-info a {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.5;
}

.contact-info .contact-us-text a {
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: var(--font-size-text);
}

.contact-info .contact-us-text a .link-text {
    position: relative;
}

.contact-info .contact-us-text a .link-text::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--orange);
    bottom: -5px;
    left: 0;
    transition: left 0.3s ease;
}

.contact-info .contact-us-text a .icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.directions-link,
.view-larger-map {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

/* Hover effects */ 
@media (hover: hover) and (pointer: fine) {
   .directions-link:hover, .view-larger-map:hover {
        text-decoration: underline;
    }

    .btn-submit:hover {
        background: var(--brown);
        letter-spacing: 4px;
    }

    .contact-info .contact-us-text a:hover .link-text::before {
        left: calc(100% - 30px);
    }

}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
        max-width: initial;
    }

    .contact-info {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}