/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Contact Hero Section */
.contact-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.info-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card.location-card {
    cursor: default;
}

.contact-card.location-card:hover {
    transform: none;
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-note {
    font-size: 14px;
    color: var(--text-light);
}

.contact-arrow {
    width: 24px;
    height: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-arrow svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

/* Business Hours */
.business-hours {
    padding: 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
}

.business-hours h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-hours h3 svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-item .day {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hours-item .time {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 2px solid rgba(16, 185, 129, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.faq-card {
    padding: 28px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-hero {
        padding: 120px 20px 60px;
    }

    .contact-hero-title {
        font-size: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 16px 50px;
    }

    .contact-hero-title {
        font-size: 32px;
    }

    .contact-hero-subtitle {
        font-size: 16px;
    }

    .contact-section {
        padding: 60px 16px;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .info-header h2,
    .form-header h2 {
        font-size: 26px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }

    .contact-hero-subtitle {
        font-size: 15px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .info-header h2,
    .form-header h2 {
        font-size: 24px;
    }

    .faq-title {
        font-size: 24px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .contact-card:hover {
        transform: translateY(-4px);
    }

    .contact-arrow {
        display: none;
    }

    .faq-card {
        padding: 24px;
    }

    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Dark Theme Specific Adjustments */
[data-theme="dark"] .contact-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
}

[data-theme="dark"] .contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .business-hours {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .faq-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
