/* ===== ROOT VARIABLES - Traditional Marathi Theme ===== */
:root {
    --saffron: #FF6F00;
    --deep-saffron: #E65100;
    --kumkum-red: #C62828;
    --temple-gold: #FFB300;
    --light-gold: #FFE082;
    --turmeric: #FFC107;
    --cream: #FFF8E1;
    --light-cream: #FFFDE7;
    --dark-brown: #3E2723;
    --medium-brown: #5D4037;
    --warm-white: #FFF3E0;
    --text-dark: #212121;
    --text-light: #F5F5F5;
    --green-sacred: #2E7D32;
    --maroon: #880E4F;
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== DECORATIVE TOP BORDER ===== */
.decorative-border-top {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--saffron) 0px,
        var(--saffron) 20px,
        var(--temple-gold) 20px,
        var(--temple-gold) 40px,
        var(--kumkum-red) 40px,
        var(--kumkum-red) 60px,
        var(--green-sacred) 60px,
        var(--green-sacred) 80px
    );
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: white;
    border: 2px solid var(--temple-gold);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.5);
}

.lang-icon {
    font-size: 18px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 6px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-brown), var(--medium-brown));
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--temple-gold);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(255,179,0,0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255,179,0,0.3)); }
    to { filter: drop-shadow(0 0 15px rgba(255,179,0,0.7)); }
}

.logo-text h1 {
    font-family: 'Yatra One', cursive;
    font-size: 1.4rem;
    color: var(--temple-gold);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--light-gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--warm-white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255, 179, 0, 0.2);
    color: var(--temple-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--temple-gold);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(62,39,35,0.85), rgba(198,40,40,0.7)),
        url('https://images.unsplash.com/photo-1621427638996-6e3e72bdb832?w=1920') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFB300' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-diyas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.diya {
    position: absolute;
    font-size: 2rem;
    animation: floatDiya 6s ease-in-out infinite;
    opacity: 0.6;
}

.diya:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.diya:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.2s; }
.diya:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 2.4s; }
.diya:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3.6s; }
.diya:nth-child(5) { top: 50%; left: 50%; animation-delay: 4.8s; }

@keyframes floatDiya {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.om-symbol {
    font-size: 5rem;
    color: var(--temple-gold);
    text-shadow: 0 0 40px rgba(255,179,0,0.6);
    animation: pulse 3s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero h1 {
    font-family: 'Yatra One', cursive;
    font-size: 4rem;
    color: var(--temple-gold);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gold);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hero-mantra {
    background: rgba(255,179,0,0.1);
    border: 1px solid rgba(255,179,0,0.3);
    border-radius: var(--border-radius);
    padding: 20px 40px;
    margin: 25px auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.hero-mantra p {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.1rem;
    color: var(--light-gold);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: white;
    box-shadow: 0 4px 15px rgba(255,111,0,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,111,0,0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--temple-gold);
    border: 2px solid var(--temple-gold);
}

.btn-secondary:hover {
    background: var(--temple-gold);
    color: var(--dark-brown);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--temple-gold);
    border-radius: 13px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--temple-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ===== TIMINGS TICKER ===== */
.timings-ticker {
    background: linear-gradient(135deg, var(--dark-brown), var(--maroon));
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 2px solid var(--temple-gold);
}

.ticker-content {
    display: flex;
    gap: 60px;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
    color: var(--light-gold);
    font-size: 0.95rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Yatra One', cursive;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 10px;
}

.decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--temple-gold), var(--kumkum-red));
    margin: 10px auto;
    border-radius: 2px;
}

.section-desc {
    color: #666;
    font-size: 1.1rem;
    margin-top: 10px;
}

.rangoli-divider {
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q25 0 50 10 Q75 20 100 10' fill='none' stroke='%23FF6F00' stroke-width='1'/%3E%3Cpath d='M0 10 Q25 20 50 10 Q75 0 100 10' fill='none' stroke='%23FFB300' stroke-width='1'/%3E%3C/svg%3E") repeat-x center;
    margin-bottom: 20px;
}

/* ===== ABOUT TEMPLE SECTION ===== */
.about-temple-section {
    background: linear-gradient(180deg, var(--cream), var(--light-cream));
}

.about-temple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--temple-gold);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255,179,0,0.4);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.temple-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover .temple-img {
    transform: scale(1.05);
}

.temple-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    background: white;
    padding: 18px 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-top: 3px solid var(--saffron);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saffron);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.temple-info h3 {
    font-family: 'Yatra One', cursive;
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.temple-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--saffron);
    border-radius: 2px;
}

.temple-info p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.temple-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 1.3rem;
    color: var(--saffron);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-brown);
}

/* ===== EVENTS SECTION ===== */
.events-section {
    background: 
        linear-gradient(135deg, rgba(62,39,35,0.95), rgba(136,14,79,0.9)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFB300' fill-opacity='0.05'%3E%3Cpath fill-rule='evenodd' d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z'/%3E%3C/g%3E%3C/svg%3E");
}

.events-section .section-header h2 {
    color: var(--temple-gold);
}

.events-section .section-desc {
    color: var(--light-gold);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
}

.event-card {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,179,0,0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--temple-gold);
    box-shadow: 0 8px 30px rgba(255,179,0,0.2);
}

.event-date {
    min-width: 90px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: white;
    text-align: center;
}

.event-month {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
}

.event-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tag-festival { background: rgba(255,179,0,0.2); color: var(--temple-gold); }
.tag-puja { background: rgba(198,40,40,0.2); color: #EF5350; }
.tag-special { background: rgba(46,125,50,0.2); color: #66BB6A; }

.event-details h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.event-details p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.event-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.event-meta span {
    color: var(--light-gold);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    font-size: 0.75rem;
}

/* ===== SOCIAL ACTIVITIES ===== */
.activities-section {
    background: var(--cream);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.activity-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--temple-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--saffron);
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cream), var(--warm-white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid var(--light-gold);
}

.activity-icon i {
    font-size: 1.8rem;
    color: var(--saffron);
}

.activity-card h3 {
    font-family: 'Yatra One', cursive;
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 12px;
}

.activity-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.activity-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--cream);
    color: var(--saffron);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--light-gold);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--light-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62,39,35,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--temple-gold);
    font-weight: 600;
    font-size: 1rem;
}

/* ===== ABOUT US SECTION ===== */
.about-us-section {
    background: 
        linear-gradient(180deg, var(--cream), var(--warm-white));
}

.about-us-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
}

.about-us-text h3 {
    font-family: 'Yatra One', cursive;
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-bottom: 20px;
}

.about-us-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.value-item {
    text-align: center;
    padding: 20px 10px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-item i {
    font-size: 2rem;
    color: var(--saffron);
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 0.85rem;
    color: var(--dark-brown);
}

.trust-members h3 {
    font-family: 'Yatra One', cursive;
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 25px;
    text-align: center;
}

.member-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--saffron);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.member-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-avatar i {
    color: white;
    font-size: 1.2rem;
}

.member-avatar span {
    color: white;
}

.member-card h4 {
    font-size: 0.95rem;
    color: var(--dark-brown);
}

.member-card p {
    font-size: 0.8rem;
    color: var(--saffron);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: 
        linear-gradient(135deg, rgba(62,39,35,0.95), rgba(93,64,55,0.95)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFB300' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l3 3-3 3zM0 20h2v20H0V20zm4 0h2v20H4V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-section .section-header h2 {
    color: var(--temple-gold);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,179,0,0.2);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.contact-card:hover {
    border-color: var(--temple-gold);
    transform: translateY(-3px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--temple-gold);
    margin-bottom: 12px;
}

.contact-card h4 {
    color: var(--temple-gold);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,179,0,0.2);
    padding: 35px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: var(--temple-gold);
    font-family: 'Yatra One', cursive;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.3rem;
}

.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px 14px 45px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,179,0,0.3);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--temple-gold);
    background: rgba(255,255,255,0.12);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--temple-gold);
    font-size: 0.9rem;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 16px;
}

/* Captcha */
.captcha-group {
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-radius: 10px;
    padding: 12px 14px 12px 14px;
    border: 1.5px solid #ffe0b2;
}
.captcha-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.captcha-group input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid #ffcc80;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    outline: none;
    transition: border 0.2s;
}
.captcha-group input[type="number"]::-webkit-inner-spin-button,
.captcha-group input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.captcha-group input[type="number"]:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,111,0,0.15); }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-brown);
    color: var(--warm-white);
    padding-top: 0;
}

.footer-decorative {
    height: 6px;
    background: linear-gradient(90deg, var(--saffron), var(--temple-gold), var(--kumkum-red), var(--green-sacred), var(--temple-gold), var(--saffron));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 50px 0 30px;
}

.footer-logo {
    width: 60px;
    margin-bottom: 10px;
}

.footer-col h3 {
    font-family: 'Yatra One', cursive;
    color: var(--temple-gold);
    margin-bottom: 10px;
}

.footer-col h4 {
    color: var(--temple-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--temple-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,179,0,0.15);
    border: 1px solid rgba(255,179,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--temple-gold);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--saffron);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,179,0,0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-bottom p:last-child {
    color: var(--temple-gold);
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.1rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: white;
    border: 2px solid var(--temple-gold);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255,111,0,0.4);
    transition: var(--transition);
    z-index: 9998;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,111,0,0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header,
.event-card,
.activity-card,
.contact-card,
.member-card,
.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.section-header { animation-delay: 0.1s; }
.event-card:nth-child(1), .activity-card:nth-child(1) { animation-delay: 0.2s; }
.event-card:nth-child(2), .activity-card:nth-child(2) { animation-delay: 0.3s; }
.event-card:nth-child(3), .activity-card:nth-child(3) { animation-delay: 0.4s; }
.event-card:nth-child(4), .activity-card:nth-child(4) { animation-delay: 0.5s; }
.event-card:nth-child(5), .activity-card:nth-child(5) { animation-delay: 0.6s; }
.event-card:nth-child(6), .activity-card:nth-child(6) { animation-delay: 0.7s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-temple-grid,
    .about-us-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--dark-brown);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        transform: translateY(-120%);
        transition: var(--transition);
        border-bottom: 3px solid var(--temple-gold);
        z-index: 9998;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        padding: 12px 15px;
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-mantra {
        padding: 15px 20px;
    }

    .hero-mantra p {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .events-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .lang-toggle {
        top: 12px;
        right: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .temple-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .member-cards {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .om-symbol {
        font-size: 3.5rem;
    }

    .temple-features {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 10px;
        padding: 12px;
    }

    .event-day {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
    }
}
