/* Contact Page Specific Styles */
.contact-page {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--coral-pink);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card,
.hours-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#order-notice {
    position: fixed;
    top: 30%;
    margin: 1em;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 24px rgba(0,0,0, .2);
    text-align: center;
    border: solid 2px var(--coral-pink);
    background: white;
}

#order-notice > p,
#order-notice > a {
    padding-top: 8px;
}

#order-notice a {
    color: var(--coral-pink);
    text-decoration: none;
}

#order-notice-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    justify-items: center;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, .2);
}

.info-card h2,
.hours-card h2 {
    font-size: 1.5rem;
    color: var(--coral-pink);
    margin-bottom: 1rem;
    text-align: center;
}

.hours-card h4 {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: normal;
    color: var(--medium-text);
    text-align: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p * {
    color: var(--medium-text);
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content p a:hover {
    color: var(--coral-pink);
}

/* Hours list spacing handled by individual .hours-item padding */

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--dark-text);
}

.hours-item span:last-child {
    color: var(--medium-text);
}

.order-notice {
    background: var(--cream);
    border: 2px solid var(--primary-yellow);
}

.order-notice h3 {
    color: var(--coral-pink);
    margin-bottom: 1rem;
}

.order-notice p {
    color: var(--medium-text);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.contact-form h2 {
    font-size: 1.8rem;
    color: var(--coral-pink);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral-pink);
}

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

.form-failure {
    border: 2px solid var(--coral-pink);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background-color: #ffe0e0 !important;
}

/* Form Success Message */
.form-success {
    border: 2px solid var(--coral-pink);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.form-success h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--medium-text);
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.hidden {
    display: none !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    color: var(--coral-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .info-card,
    .hours-card {
        padding: 1.5rem;
    }

    #order-notice > h3 {
        padding-top: 8px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 2rem 0;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

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

    .contact-form-container,
    .info-card,
    .hours-card {
        padding: 1rem;
    }

    .info-item {
        align-items: center;
    }

    .nav-btn.close {
        --size: 40px;
        --padding: 0.5em;
    }
}
