/* ========================================================================
   CONTACT PAGE STYLES
   ======================================================================== */

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.contact-hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* ========================================================================
   CONTACT CONTAINER & SECTION HEADERS
   ======================================================================== */

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

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

/* ========================================================================
   CONTACT FORM SECTION
   ======================================================================== */

.contact-section {
    margin-bottom: 80px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

/* ========================================================================
   FORM ACTIONS
   ======================================================================== */

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-submit,
.btn-reset {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
    max-width: 200px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-reset {
    background: #e0e0e0;
    color: #333;
}

.btn-reset:hover {
    background: #d0d0d0;
}

/* ========================================================================
   SUCCESS MESSAGE
   ======================================================================== */

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #28a745;
    font-size: 1rem;
}

.success-message strong {
    display: block;
    margin-bottom: 5px;
}

/* ========================================================================
   CONTACT DETAILS SECTION
   ======================================================================== */

.contact-details-section {
    margin-bottom: 80px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-detail-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-detail-card:hover {
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.contact-detail-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.detail-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
    line-height: 1.5;
}

.detail-value a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.detail-note {
    font-size: 0.9rem;
    color: #999;
}

/* ========================================================================
   SOCIAL LINKS
   ======================================================================== */

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #667eea;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* ========================================================================
   BUSINESS HOURS
   ======================================================================== */

.hours-list {
    text-align: left;
}

.hours-list p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.hours-list strong {
    color: #1a1a1a;
}

/* ========================================================================
   CONTACT MAP SECTION
   ======================================================================== */

.contact-map-section {
    margin-bottom: 80px;
}

.contact-map-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 40px;
}

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

.map-container iframe {
    border-radius: 10px;
}

.map-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.map-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.map-details p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.directions-note {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #667eea;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.directions-note i {
    color: #667eea;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========================================================================
   RESPONSIVE DESIGN - TABLET (768px)
   ======================================================================== */

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 20px;
        margin-bottom: 40px;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .contact-detail-card {
        padding: 25px;
    }

    .detail-icon {
        font-size: 2rem;
    }

    .contact-detail-card h3 {
        font-size: 1.2rem;
    }

    .contact-map-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map-wrapper .map-container {
        order: 2;
    }

    .contact-map-wrapper .map-details {
        order: 1;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        max-width: none;
    }
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE (480px)
   ======================================================================== */

@media (max-width: 480px) {
    .contact-container {
        padding: 0 15px;
    }

    .contact-hero {
        padding: 40px 15px;
        margin-bottom: 30px;
    }

    .contact-hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 20px;
        gap: 15px;
    }

    .contact-form {
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .contact-detail-card {
        padding: 20px;
    }

    .detail-icon {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .contact-detail-card h3 {
        font-size: 1.1rem;
    }

    .detail-title {
        font-size: 0.9rem;
    }

    .detail-value {
        font-size: 1rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-map-section {
        margin-bottom: 60px;
    }

    .contact-map-wrapper {
        margin-top: 30px;
    }

    .map-container iframe {
        height: 300px !important;
    }

    .map-details {
        padding: 20px;
    }

    .map-details h3 {
        font-size: 1.2rem;
    }

    .map-details p {
        font-size: 0.95rem;
    }

    .directions-note {
        padding: 12px;
        font-size: 0.9rem;
    }

    .directions-note i {
        font-size: 1.2rem;
    }
}
