/* ============================================================
   RADHA KRISHNA MANDIR — Contact Page Styles
   Address info, map embed, contact form, mobile actions
   ============================================================ */

.contact-page {
    padding: var(--space-xl) 0 var(--space-2xl);
}

/* ── Two-Column Layout ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

/* ── Contact Info Column ─────────────────────────────────── */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--burgundy);
    margin-top: 2px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.info-content h3 {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--burgundy);
    margin-bottom: var(--space-xs);
}

.info-content p,
.info-content a {
    font-size: var(--fs-sm);
    color: var(--text-body);
    margin-bottom: 0;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--gold);
}

/* Temple Timings List */
.timings-list {
    font-size: var(--fs-sm);
    color: var(--text-body);
}

.timings-list li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--tan);
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

.timings-list li:last-child {
    border-bottom: none;
}

.timings-list .timing-label {
    font-weight: var(--fw-medium);
    color: var(--burgundy);
}

.timings-list .timing-time {
    color: var(--text-muted);
}

/* ── Mobile Action Buttons ───────────────────────────────── */
.mobile-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

@media (min-width: 768px) {
    .mobile-actions {
        display: none;
    }
}

.mobile-actions .btn {
    flex: 1;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
}

/* ── Contact Form Column ─────────────────────────────────── */
.contact-form-col h2 {
    margin-bottom: var(--space-lg);
}

/* ── Map Section ─────────────────────────────────────────── */
.map-section {
    margin-top: var(--space-xl);
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid var(--tan);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .map-container {
        padding-bottom: 40%;
    }
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Map placeholder if iframe not loaded */
.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e0d0, #d4c9b0);
    color: var(--text-muted);
    font-size: var(--fs-lg);
}

/* ── Contact Info Cards (alternative mobile layout) ──────── */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--tan);
    box-shadow: var(--shadow-sm);
}

/* ── Form Status Messages ────────────────────────────────── */
.form-status {
    margin-top: var(--space-md);
    padding: 0;
    border-radius: var(--border-radius-sm, 6px);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.form-status:empty {
    display: none;
}

.form-status--success {
    padding: var(--space-sm) var(--space-md);
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status--error {
    padding: var(--space-sm) var(--space-md);
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

#contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}