﻿/* 
    Contact Theme CSS - Shree Ram Janki Dham
    Spiritual Premium Aesthetic
*/

:root {
    --contact-saffron: #ff9933;
    --contact-red: #c31432;
    --contact-gold: #FFD700;
    --contact-white: #ffffff;
    --contact-text: #333333;
    --contact-muted: #666666;
    --contact-bg-light: #fdf2f2;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SECTION 1 – BREADCRUMB HERO */
.contact-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../home2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 10s ease;
    z-index: 1;
}

.contact-hero:hover .contact-hero-bg {
    transform: scale(1.1);
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease;
    padding: 0 15px;
}

.contact-hero-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.breadcrumb-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    font-weight: 500;
}

.breadcrumb-list a {
    color: var(--contact-gold);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-list a:hover {
    color: var(--contact-saffron);
}

.breadcrumb-list .active {
    color: white;
    opacity: 0.8;
}

/* SECTION 2 – CONTACT INFO CARDS */
.contact-info-cards {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

.contact-glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: white;
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--contact-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
    transition: 0.3s;
}

.contact-glass-card:hover .contact-icon-wrapper {
    transform: rotateY(360deg);
}

.contact-link-box a {
    color: var(--contact-text);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.contact-link-box a:hover {
    color: var(--contact-red);
}

/* SECTION 3 – CONTACT FORM */
.contact-form-section {
    padding: 100px 0;
    background: var(--contact-bg-light);
}

.contact-form-card {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    max-width: 900px;
    margin: 0 auto;
}

.form-title-group {
    text-align: center;
    margin-bottom: 50px;
}

.form-title-group h3 {
    font-size: 32px;
    color: var(--contact-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.form-title-group p {
    color: var(--contact-muted);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    background: #fcfcfc;
    transition: var(--transition-base);
    font-weight: 500;
}

.contact-form .form-control:focus {
    border-color: var(--contact-saffron);
    background: white;
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.2);
    outline: none;
}

.contact-btn-premium {
    background: linear-gradient(to right, #c31432, #ff9933);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-base);
    box-shadow: 0 8px 20px rgba(195, 20, 50, 0.3);
    width: 100%;
}

.contact-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(195, 20, 50, 0.4);
    opacity: 0.9;
}

/* SECTION 4 – GOOGLE MAP */
.map-container {
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    background: white;
}

.map-container iframe {
    transition: 0.3s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 40px 20px;
    }

    .contact-hero {
        height: 250px;
    }

    .contact-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .contact-info-cards {
        margin-top: 20px;
    }

    .contact-glass-card {
        margin-bottom: 20px;
    }
}