/* ============================================================
   Contact Page Styles
   ============================================================ */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--temple-white), var(--sandal-cream));
    padding: 120px 20px 100px;
    text-align: center;
    color: var(--text-main);
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0l2 18h18l-15 11 6 18-11-13-11 13 6-18-15-11h18z" fill="%23E6A817" fill-opacity="0.05" fill-rule="evenodd"/></svg>');
    opacity: 0.2;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--sacred-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Grid */
.contact-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styling */
.contact-form-card {
    background: var(--ivory);
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
}

.contact-form-card h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 35px;
    color: var(--text-heading);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    border: 2px solid var(--sandal-cream);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--temple-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--saffron);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--saffron-gradient);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(.22, .61, .36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(199, 62, 29, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Info Cards */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--ivory);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(.22, .61, .36, 1);
    border: 1px solid var(--glass-border);
}

.info-card:hover {
    transform: translateX(10px);
    border-color: rgba(199, 62, 29, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.info-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--sandal-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kumkum-red);
    box-shadow: 0 4px 12px rgba(182, 90, 60, 0.1);
}

.info-icon .material-symbols-outlined {
    font-size: 28px;
}

.info-content h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.info-content p {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-heading);
}

/* Social Links in Contact */
.contact-social {
    margin-top: 10px;
    background: var(--sandal-cream);
    background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0l1 9h9l-7 6 3 9-6-7-6 7 3-9-7-6h9z" fill="%23B65A3C" fill-opacity="0.04" fill-rule="evenodd"/></svg>');
    padding: 35px;
    border-radius: 28px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.contact-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #6B1D2A;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kumkum-red);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.social-btn:hover {
    background: var(--saffron);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--saffron);
}

/* Map Placeholder */
.map-section {
    padding: 0 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-card {
    height: 400px;
    background: #f0f0f0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #777;
}

.map-placeholder .material-symbols-outlined {
    font-size: 60px;
    margin-bottom: 15px;
    color: var(--saffron);
}

/* Contact Row — desktop 2-column grid */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================================
   Mobile Responsive — Contact Page
   ============================================================ */
@media (max-width: 768px) {

    /* Hero */
    .contact-hero {
        padding: 80px 16px 50px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 12px;
        margin-top: -30px;
    }

    /* Form Card */
    .contact-form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .contact-form-card h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Stack name + phone fields on mobile */
    .contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* Info Cards */
    .info-card {
        padding: 20px 16px;
        border-radius: 18px;
        gap: 14px;
    }

    .info-card:hover {
        transform: none;
    }

    .info-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
    }

    .info-icon .material-symbols-outlined {
        font-size: 24px;
    }

    .info-content h3 {
        font-size: 12px;
    }

    .info-content p {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Social Section */
    .contact-social {
        padding: 24px 16px;
        border-radius: 18px;
    }

    .contact-social h3 {
        font-size: 16px;
    }

    /* Map */
    .map-section {
        padding: 0 12px 40px;
    }

    .map-card {
        height: 260px;
        border-radius: 20px;
    }
}