/* Contact Us Page Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Contact Information Section */
.contact-info {
    padding: 5rem 0 3rem;
    background-color: #f8f9fa;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f06292 0%, #ec407a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card__icon i {
    font-size: 1.75rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-card__link {
    color: #ec407a;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card__link:hover {
    color: #e91e63;
}

.contact-card__hours {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.response-promise {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.response-promise i {
    color: #4caf50;
    font-size: 1.5rem;
}

.response-promise p {
    margin: 0;
    font-weight: 500;
    color: #333;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #f06292 0%, #ec407a 100%);
    color: white;
    padding: 3rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-form {
    padding: 3rem;
}

.form-section {
    margin-bottom: 3rem;
}

.form-section:last-of-type {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-field label[data-required]::after {
    content: " *";
    color: #ec407a;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: white;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #ec407a;
    box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.1);
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
    border-color: #f44336;
}

.error-message {
    display: none;
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    position: absolute;
}

.form-field.has-error .error-message {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-submit {
    background: linear-gradient(135deg, #f06292 0%, #ec407a 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 64, 122, 0.3);
}

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

.form-submit i {
    transition: transform 0.3s ease;
}

.form-submit:hover i {
    transform: translateX(3px);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #ec407a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Success/Error Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.form-message--success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.form-message--error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.form-message i {
    font-size: 1.25rem;
}

/* Loading State */
.form-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading span {
    display: none;
}

.form-submit.loading::after {
    content: "Sending...";
}

/* Fix for navigation dropdowns */
.nav__dropdown {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    min-width: 600px !important;
}

.nav__item--locations .nav__dropdown {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 350px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .contact-info {
        padding: 3rem 0 2rem;
    }
    
    .contact-info__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .response-promise {
        flex-direction: column;
        text-align: center;
    }
    
    .form-header {
        padding: 2rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .contact-card__icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-card__icon i {
        font-size: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-submit {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}