/* ============================================================
   CONTACT.CSS - Contact Page Styles
   ============================================================
   Page-specific styles for contact.html
   
   Main stylesheet: style.css
   Contains styles for contact form, Google Map,
   contact information display, and form validation.
   ============================================================ */

/* Contact page header section */
.contact-page-intro {
    text-align: center;
    margin-bottom: 30px;
}

.contact-page-intro h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 36px;
}

.contact-page-intro p {
    color: #666;
    font-size: 16px;
}

/* Contact information boxes */
.contact-info-box {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-info-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-box-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info-box h5 {
    color: #333;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-info-box p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.contact-info-box p a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-box p a:hover {
    color: var(--secondary);
}

/* Contact form */
.contact__form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #f0f0f0;
}

.contact__form h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
}

.contact__form__text {
    margin-bottom: 15px;
}

.contact__form__text input,
.contact__form__text textarea,
.contact__form__text select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact__form__text textarea {
    min-height: 120px;
    resize: vertical;
}

.contact__form__text input:focus,
.contact__form__text textarea:focus,
.contact__form__text select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.contact__form__text input::placeholder,
.contact__form__text textarea::placeholder {
    color: #999;
}

.contact__form__text.fullwidth {
    margin-bottom: 15px;
}

/* Form buttons */
.contact__form button {
    background: var(--primary);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact__form button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Form success/error messages */
#form-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 15px;
}

.contact__human-check {
    margin: 15px 0;
    text-align: left;
}

.contact__human-check label {
    font-size: 15px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact__human-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5bc0de;
}

#form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map container */
.contact__map {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact__map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .contact__map iframe {
        height: 300px;
    }
}

/* Required field indicator */
.required {
    color: #e74c3c;
    font-weight: 700;
}

.contact-map-note {
    color: #5bc0de;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
