/**
 * TOWD Contact Page Styles
 * Styles for contact form, map, and contact info sections
 */

.contact-wrapper {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    background: var(--gray-light);
    border-radius: 20px;
    padding: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 180px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--black);
}

.contact-item-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.contact-item-content a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
}

.contact-item-content a:hover {
    color: var(--yellow-dark, #d4c41a);
}

.emergency-box {
    background: var(--black);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.emergency-box h3 {
    color: var(--yellow);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.emergency-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yellow);
    color: var(--black);
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    background: var(--yellow-light);
    transform: scale(1.02);
}

.emergency-phone svg {
    width: 20px;
    height: 20px;
}

.hours-list {
    margin-top: 1rem;
}

.hours-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

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

.hours-row span:first-child {
    color: var(--gray);
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--black);
    text-align: right;
}

@media (min-width: 768px) {
    .contact-wrapper {
        padding: 5rem 2rem;
    }

    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding: 2.5rem;
    }
}
