/* ============================================
   Darshan Orbit - Complete Stylesheet
   Theme: Golden Temple (Saffron/Orange)
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F5A623;
    --primary-rgb: 230, 126, 34;
    --secondary: #FFF8F0;
    --accent-gold: #F39C12;
    --accent-saffron: #E8740C;
    --accent-green: #27AE60;
    --dark: #2C1810;
    --dark-brown: #3E2723;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --light-bg: #FDF6EC;
    --cream: #FFF3E0;
    --border-color: #F0E0D0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 8px 24px rgba(230, 126, 34, 0.25);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ---- Utility Classes ---- */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-gap {
    padding: 40px 0;
}

/* ============================================
   1. TOP UTILITY BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
    position: relative;
    z-index: 1001;
}

.top-bar .container-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__tagline {
    font-weight: 400;
    letter-spacing: 0.3px;
}

.top-bar__tagline span {
    color: var(--primary);
    font-weight: 600;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__link {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    transition: var(--transition);
}

.top-bar__link:hover {
    color: var(--primary);
}

.top-bar__link i {
    font-size: 13px;
}

.top-bar__divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   2. NAVBAR
   ============================================ */
.navbar-main {
    background: var(--white);
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 50%, var(--primary) 100%) 1;
}

.navbar-main.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-main .container-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
}

/* Logo */
/* ============================================
   LOGO — cloned from reference image
   ============================================ */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: -10px;
}

/* Gopuram icon wrapper */
.navbar-logo__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo__gopuram {
    font-size: 38px;
    color: #C8860A;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(200,134,10,0.25));
}

/* Hide old img icon */
.navbar-logo__icon {
    display: none;
}

.navbar-logo__text {
    line-height: 1.2;
}

/* Title row: TEMPLE + CONNECT */
.navbar-logo__title {
    font-size: 0; /* use child spans for size */
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0;
}

/* "TEMPLE" — bold, uppercase, warm gold */
.logo-temple {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #C8860A;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* "CONNECT" — same case, lighter weight */
.logo-connect {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: #C8860A;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Tagline: "Darshan | Travel | Devotion" */
.navbar-logo__subtitle {
    font-family: var(--font-primary);
    font-size: 10px;
    color: #C8860A;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 3px;
    opacity: 0.9;
}

/* Pipe separators */
.logo-pipe {
    margin: 0 4px;
    color: #C8860A;
    font-weight: 300;
    opacity: 0.7;
}



/* Navigation Links */
.navbar-nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: nowrap;
}

.navbar-nav-links__item {
    position: relative;
    white-space: nowrap;
}

.navbar-nav-links__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 9px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    border-radius: var(--radius-md);
    margin: 6px 0;
    white-space: nowrap;
}

.navbar-nav-links__icon {
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.navbar-nav-links__link:hover {
    color: var(--primary);
    background: rgba(230, 126, 34, 0.08);
}

.navbar-nav-links__link:hover .navbar-nav-links__icon {
    color: var(--primary);
    transform: scale(1.15);
}

.navbar-nav-links__link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-saffron) 100%);
    box-shadow: 0 3px 12px rgba(230, 126, 34, 0.35);
    font-weight: 600;
}

.navbar-nav-links__link.active .navbar-nav-links__icon {
    color: var(--white);
}

.navbar-nav-links__link.active::after {
    display: none;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-actions__search {
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar-actions__search:hover {
    background: var(--cream);
    color: var(--primary);
}

.navbar-actions__cart {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-actions__cart:hover {
    color: var(--primary);
}

.navbar-actions__cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-saffron) 100%);
    background-size: 200% auto;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-login:hover {
    background-position: right center;
    box-shadow: 0 8px 22px rgba(230, 126, 34, 0.5);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.4);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
    position: relative;
}

.navbar-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

/* ============================================
   3. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 3s ease-in-out, transform 3s ease-out;
}

.hero__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__slide--active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero__slide--exiting {
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 3s ease-in-out, transform 3s ease-in;
    z-index: 0;
}

/* ====== LIVE DARSHAN SECTION ====== */
.live-darshan-section {
    padding: 40px 0 20px;
}

.live-darshan__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.live-darshan__card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.live-darshan__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.live-darshan__video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.live-darshan__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.live-darshan__video--link {
    display: block;
    cursor: pointer;
}

.live-darshan__video--link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-darshan__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(230,126,34,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    transition: transform 0.3s;
}

.live-darshan__video--link:hover .live-darshan__play {
    transform: translate(-50%, -50%) scale(1.15);
}

.live-darshan__info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-darshan__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-darshan__badge i {
    font-size: 7px;
    animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-darshan__name {
    font-size: 16px;
    font-weight: 700;
    color: #2c1810;
    margin: 4px 0 0;
}

.live-darshan__location {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.live-darshan__location i {
    color: #E67E22;
}

.live-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border-radius: 50%;
    position: relative;
}

.live-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e74c3c;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}

@media (max-width: 768px) {
    .live-darshan__grid {
        grid-template-columns: 1fr;
    }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(44, 24, 16, 0.3) 0%,
        rgba(44, 24, 16, 0.1) 40%,
        rgba(44, 24, 16, 0.4) 100%
    );
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 40px 20px 20px;
    width: 100%;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 8px;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 0.8s ease-out;
}

.hero__subtitle {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Hero Search Bar */
.hero__search {
    position: relative;
    z-index: 3;
    max-width: 780px;
    width: 90%;
    margin: 25px auto 20px;
    background: var(--white);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero__search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-right: 1px solid var(--border-color);
    min-width: 0;
}

.hero__search-field:last-of-type {
    border-right: none;
}

.hero__search-field i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.hero__search-field input,
.hero__search-field select {
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--text-primary);
    background: transparent;
    width: 100%;
    min-width: 0;
}

.hero__search-field input::placeholder {
    color: var(--text-light);
}

.hero__search-field select {
    color: var(--text-light);
    cursor: pointer;
    appearance: auto;
}

.hero__search-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-saffron) 100%);
    background-size: 200% auto;
    color: var(--white);
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    position: relative;
    overflow: hidden;
}

.hero__search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.hero__search-btn:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(230, 126, 34, 0.55);
}

.hero__search-btn:hover::before {
    left: 100%;
}

.hero__search-btn:hover i {
    transform: rotate(15deg);
}

.hero__search-btn i {
    transition: transform 0.3s ease;
}

.hero__search-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Hero Services - White card style matching reference */
.hero__services {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    flex-wrap: nowrap;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-top: 3px solid var(--primary-light);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero__services::-webkit-scrollbar { display: none; }

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 14px 20px 12px;
    flex: 1;
    min-width: 90px;
    border-right: 1px solid rgba(230, 126, 34, 0.15);
    position: relative;
}

.service-icon:last-child {
    border-right: none;
}

.service-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.service-icon:hover::after {
    width: 70%;
}

.service-icon:hover {
    background: rgba(230, 126, 34, 0.05);
    transform: none;
}

.service-icon__circle {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(145deg, #FFF3E0, #FFE0B2);
    border: 1.5px solid rgba(230, 126, 34, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.12);
}

.service-icon:hover .service-icon__circle {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
    transform: translateY(-3px);
}

.service-icon__circle i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-icon:hover .service-icon__circle i {
    color: var(--white);
    transform: scale(1.1);
}

.service-icon__circle img {
    width: 28px;
    height: 28px;
    filter: none;
    transition: var(--transition);
}

.service-icon:hover .service-icon__circle img {
    filter: brightness(0) invert(1);
}

.service-icon__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.service-icon:hover .service-icon__label {
    color: var(--primary);
}

/* Premium service icon — special gold/orange styling */
.service-icon--premium {
    background: linear-gradient(135deg, rgba(230,126,34,0.08), rgba(243,156,18,0.08), rgba(231,76,60,0.06));
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 3px 12px rgba(230,126,34,0.15);
    transition: all 0.3s ease;
    border-right: none;
}
.service-icon--premium:hover {
    background: linear-gradient(135deg, rgba(230,126,34,0.15), rgba(243,156,18,0.15), rgba(231,76,60,0.1));
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(230,126,34,0.3);
}
.service-icon--premium::after { display: none; }

.service-icon__circle--premium {
    background: linear-gradient(135deg, #E67E22, #F39C12, #E74C3C);
    border-color: rgba(230,126,34,0.4);
    box-shadow: 0 3px 10px rgba(230,126,34,0.35);
}
.service-icon__circle--premium i {
    color: #FFD700;
}
.service-icon--premium:hover .service-icon__circle--premium {
    background: linear-gradient(135deg, #d35400, #E67E22, #C0392B);
    box-shadow: 0 6px 16px rgba(230,126,34,0.5);
    transform: translateY(-2px);
}
.service-icon--premium:hover .service-icon__circle--premium i {
    color: #FFD700;
    transform: scale(1.15);
}

.service-icon__label--premium {
    background: linear-gradient(135deg, #E67E22, #E74C3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.service-icon--premium:hover .service-icon__label--premium {
    background: linear-gradient(135deg, #d35400, #C0392B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   4. TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-bar .container-custom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-2px);
}

.trust-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item__icon i {
    font-size: 20px;
    color: var(--primary);
}

.trust-item__text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1px;
}

.trust-item__text p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================
   5. CONTENT SECTIONS
   ============================================ */
.content-sections {
    padding: 35px 0 40px;
    background: var(--light-bg);
}

.content-sections .container-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Section Card Base */
.section-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.section-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-card__view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.section-card__view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ---- Popular Temples ---- */
.popular-temples__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.popular-temples__grid::-webkit-scrollbar {
    display: none;
}

.temple-card {
    min-width: 140px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}

.temple-card:hover {
    transform: translateY(-3px);
}

.temple-card__image {
    width: 100%;
    height: 130px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin-bottom: 8px;
    transition: var(--transition);
}

.temple-card:hover .temple-card__image {
    box-shadow: var(--shadow-md);
}

.temple-card__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.temple-card__location {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.temple-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.temple-card__rating i {
    color: var(--accent-gold);
    font-size: 11px;
}

.temple-card__rating strong {
    color: var(--text-primary);
}

/* ---- Upcoming Darshan ---- */
.darshan-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.darshan-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.darshan-item:hover {
    background: var(--cream);
}

.darshan-item__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--cream);
}

.darshan-item__info {
    flex: 1;
    min-width: 0;
}

.darshan-item__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.darshan-item__date {
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-book-now {
    padding: 7px 18px;
    background: var(--cream);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-book-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent-saffron));
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.btn-book-now:hover {
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.35);
    transform: translateY(-2px);
}

.btn-book-now:hover::before {
    transform: scaleX(1);
}

.btn-book-now:active {
    transform: translateY(0) scale(0.96);
}

/* ---- Featured Packages ---- */
.package-carousel {
    position: relative;
}

.package-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.package-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-card__image {
    transform: scale(1.03);
}

.package-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 60px 16px 16px;
    color: var(--white);
}

.package-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--white);
    font-weight: 500;
    z-index: 2;
}

.package-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.package-card__duration {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.package-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.package-card__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.package-card__price span {
    font-size: 14px;
    font-weight: 400;
}

.btn-view-details {
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-view-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent-saffron));
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.btn-view-details:hover {
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
}

.btn-view-details:hover::before {
    transform: scaleX(1);
}

.btn-view-details:active {
    transform: translateY(0) scale(0.96);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.carousel-dots__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dots__dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ---- Pooja Services ---- */
.pooja-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pooja-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.pooja-item:hover {
    background: var(--cream);
}

.pooja-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pooja-item__icon i {
    font-size: 20px;
    color: var(--primary);
}

.pooja-item__info {
    flex: 1;
    min-width: 0;
}

.pooja-item__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pooja-item__price {
    font-size: 12px;
    color: var(--text-secondary);
}

.pooja-item .btn-book-now {
    border: none;
    background: none;
    color: var(--primary);
    font-weight: 600;
    padding: 4px 0;
    position: relative;
    overflow: visible;
}

.pooja-item .btn-book-now::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent-saffron));
    transition: width 0.3s ease;
    transform: none;
    border-radius: 0;
}

.pooja-item .btn-book-now:hover {
    background: none;
    color: var(--primary-dark);
    text-decoration: none;
    box-shadow: none;
    transform: none;
}

.pooja-item .btn-book-now:hover::before {
    width: 100%;
    transform: none;
}

/* ============================================
   6. NEWSLETTER SECTION
   ============================================ */
.newsletter {
    background: var(--white);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter .container-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter__icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter__icon i {
    font-size: 22px;
    color: var(--primary);
}

.newsletter__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.newsletter__subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.newsletter__form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 420px;
}

.newsletter__input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.newsletter__input:focus {
    border-color: var(--primary);
}

.newsletter__btn {
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-saffron) 100%);
    background-size: 200% auto;
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
}

.newsletter__btn:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.newsletter__btn:active {
    transform: scale(0.97);
}

.newsletter__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter__social-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.social-icon--fb { background: #1877F2; }
.social-icon--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon--yt { background: #FF0000; }
.social-icon--wa { background: #25D366; }

/* ============================================
   7. FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, #2C1810 0%, #1A0E08 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 35px;
}

/* Footer Brand */
.footer__brand {
    padding-right: 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer__logo-text {
    line-height: 1.2;
}

.footer__logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.footer__logo-title span {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer__logo-subtitle {
    font-size: 9px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1.5px;
}

.footer__description {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social .social-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__social .social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Footer Columns */
.footer__column-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: block;
}

.footer__link i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 11px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer__link:hover i {
    opacity: 1;
}

/* Footer Contact */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
}

.footer__contact-item i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item a:hover {
    color: var(--primary);
}

/* Payment Methods */
.footer__payment-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.payment-badge {
    height: 28px;
    min-width: 44px;
    padding: 3px 8px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.payment-badge:hover {
    transform: translateY(-2px);
}

.payment-badge svg {
    max-width: 100%;
    max-height: 100%;
}

.payment-badge--visa { background: white; }
.payment-badge--mc { background: white; }
.payment-badge--rupay { background: white; }
.payment-badge--upi { background: white; }
.payment-badge--phonepe { background: white; }
.payment-badge--gpay { background: white; }
.payment-badge--paytm { background: white; }

.footer__cashfree {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #5D2D91;
}

.footer__cashfree svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer__bottom-link:hover {
    color: var(--primary);
}

/* ============================================
   8. SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

/* ============================================
   9. ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   10. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .content-sections .container-custom {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .navbar-nav-links__link.active::after {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        min-height: 380px;
        justify-content: flex-start;
        padding-top: 30px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 13px;
    }

    .hero__search {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 10px;
        gap: 6px;
        margin-top: 16px;
        width: 92%;
    }

    .hero__search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 6px 0;
        width: 100%;
    }

    .hero__search-field input,
    .hero__search-field select {
        font-size: 12px;
    }

    .hero__search-field:last-of-type {
        border-bottom: none;
    }

    .hero__search-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero__services {
        justify-content: flex-start;
        position: relative;
        margin-top: auto;
    }

    .service-icon {
        padding: 12px 14px 10px;
        min-width: 80px;
    }

    .service-icon__circle {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .service-icon__circle i {
        font-size: 20px;
    }

    .hero__slide {
        transition: opacity 1.5s ease-in-out, transform 1.5s ease-out;
    }

    .hero__slide--exiting {
        transition: opacity 1.5s ease-in-out, transform 1.5s ease-in;
    }

    .hero__overlay {
        background: linear-gradient(
            to bottom,
            rgba(44, 24, 16, 0.45) 0%,
            rgba(44, 24, 16, 0.2) 40%,
            rgba(44, 24, 16, 0.55) 100%
        );
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .top-bar__tagline {
        font-size: 11px;
    }

    .top-bar__right {
        gap: 10px;
    }

    .content-sections .container-custom {
        grid-template-columns: 1fr;
    }

    .darshan-item {
        flex-wrap: wrap;
    }

    .darshan-item__info {
        flex: 1 1 calc(100% - 56px);
    }

    .pooja-item {
        flex-wrap: wrap;
    }

    .pooja-item__info {
        flex: 1 1 calc(100% - 56px);
    }

    .pooja-item .btn-book-now {
        flex: 1 1 100%;
        margin-top: 4px;
    }

    .btn-book-now {
        flex: 1 1 100%;
        padding: 8px 14px;
        font-size: 12px;
        margin-top: 4px;
    }

    .newsletter .container-custom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter__left {
        flex-direction: column;
    }

    .newsletter__form {
        max-width: 100%;
        width: 100%;
    }

    .newsletter__social {
        justify-content: center;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column-title {
        text-align: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer__payment-icons {
        justify-content: center;
    }

    .footer__contact-item {
        justify-content: center;
    }

    .footer__cashfree {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .top-bar { display: none; }
    .top-bar__right .top-bar__link:not(:first-child):not(:last-child) {
        display: none;
    }

    .hero {
        min-height: 340px;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__subtitle {
        font-size: 13px;
    }

    .hero__slide {
        transition: opacity 1.5s ease-in-out, transform 1.5s ease-out;
    }

    .hero__overlay {
        background: linear-gradient(
            to bottom,
            rgba(44, 24, 16, 0.5) 0%,
            rgba(44, 24, 16, 0.15) 35%,
            rgba(44, 24, 16, 0.15) 65%,
            rgba(44, 24, 16, 0.6) 100%
        );
    }

    .service-icon {
        padding: 10px 12px 8px;
        min-width: 70px;
    }

    .service-icon__circle {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .service-icon__circle i {
        font-size: 18px;
    }

    .service-icon__label {
        font-size: 10px;
    }

    .hero__services {
        gap: 8px;
    }

    .darshan-item {
        gap: 8px;
        padding: 8px;
    }

    .darshan-item__avatar {
        width: 38px;
        height: 38px;
    }

    .darshan-item__name {
        font-size: 12px;
    }

    .darshan-item__date {
        font-size: 10px;
    }

    .pooja-item {
        gap: 8px;
        padding: 8px;
    }

    .pooja-item__icon {
        width: 38px;
        height: 38px;
    }

    .pooja-item__icon i {
        font-size: 17px;
    }

    .pooja-item__name {
        font-size: 12px;
    }

    .pooja-item__price {
        font-size: 11px;
    }

    .btn-book-now {
        padding: 6px 12px;
        font-size: 11px;
    }

    .trust-bar .container-custom {
        flex-direction: column;
        gap: 16px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__column-title {
        text-align: center;
    }

    .footer__contact-item {
        justify-content: center;
    }

    .footer__payment-icons {
        justify-content: center;
    }

    .footer__bottom-links {
        justify-content: center;
    }

    .newsletter__form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .newsletter__input {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xl);
        text-align: center;
    }

    .newsletter__btn {
        border-radius: var(--radius-xl);
        width: 100%;
    }

    .btn-login {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ============================================
   DARK THEME
   ============================================ */
[data-theme="dark"] {
    --primary: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F5A623;
    --primary-rgb: 230, 126, 34;
    --secondary: #1a1a2e;
    --accent-gold: #F39C12;
    --accent-saffron: #E8740C;
    --accent-green: #2ECC71;
    --dark: #f5f5f5;
    --dark-brown: #e0e0e0;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-light: #707070;
    --white: #1e1e2e;
    --light-bg: #12121a;
    --cream: #1a1a2e;
    --border-color: #2a2a3e;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 24px rgba(230, 126, 34, 0.3);
}

[data-theme="dark"] body {
    background: var(--light-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .section-card,
[data-theme="dark"] .navbar,
[data-theme="dark"] .footer {
    background: var(--white) !important;
    color: var(--text-primary);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--light-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] table {
    color: var(--text-primary);
}

[data-theme="dark"] a {
    color: var(--primary);
}

[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #12121a 0%, #1a1a2e 100%) !important;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .theme-toggle .sun-icon { display: inline; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
.theme-toggle .sun-icon { display: none; }

/* ============================================
   RESPONSIVE — NAVBAR
   ============================================ */
@media (max-width: 1280px) {
    .navbar-nav-links__link {
        padding: 7px 8px;
        font-size: 12px;
        gap: 4px;
    }
    .navbar-nav-links__icon {
        font-size: 11px;
    }
    .logo-temple { font-size: 18px; letter-spacing: 2px; }
    .logo-connect { font-size: 14px; letter-spacing: 1.5px; }
    .navbar-logo__subtitle { font-size: 9px; }
}

@media (max-width: 1100px) {
    .navbar-nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 70px 0 20px;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1050;
    }
    .navbar-nav-links.show {
        display: flex;
        right: 0;
    }
    .navbar-nav-links__link {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        gap: 10px;
        margin: 2px 0;
        justify-content: flex-start;
    }
    .navbar-nav-links__icon {
        display: inline;
        font-size: 15px;
        width: 20px;
        text-align: center;
    }
    .navbar-toggle {
        display: flex;
    }
}

@media (max-width: 992px) {
    .navbar-nav-links__icon {
        display: inline;
    }
}

@media (max-width: 768px) {
    .navbar-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 4px;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1050;
    }
    .navbar-nav-links.show {
        right: 0;
    }
    .navbar-nav-links__link {
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
        gap: 10px;
        margin: 2px 0;
    }
    .navbar-nav-links__icon {
        display: inline;
        font-size: 15px;
        width: 20px;
        text-align: center;
    }
    .navbar-logo__text {
        display: none;
    }
    .navbar-toggle {
        display: flex;
    }
    .navbar-actions {
        gap: 6px;
    }
    .navbar-actions__search {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .navbar-actions__cart {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
    }
    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .navbar-actions .lang-switcher {
        display: none;
    }
    .navbar-actions__search {
        display: none;
    }
    .btn-login span {
        display: none;
    }
    .btn-login {
        padding: 6px 10px;
        font-size: 14px;
    }
    .navbar-logo__icon-wrap img {
        height: 34px;
    }
}
.theme-toggle .moon-icon { display: inline; }

/* ============================================
   RESPONSIVE — FRONTEND PAGE GRID OVERRIDES
   Target inline grid-template-columns styles
   ============================================ */
@media (max-width: 992px) {
    /* 2-column layouts with fixed sidebar (detail pages, booking pages, cart, checkout, darshan, live-darshan) */
    .section-card[style*="grid-template-columns:1fr 340px"],
    .section-card[style*="grid-template-columns:1fr 360px"],
    .section-card[style*="grid-template-columns:1fr 320px"],
    .section-card[style*="grid-template-columns:1fr 300px"],
    div[style*="grid-template-columns:1fr 340px"],
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns:1fr 320px"],
    div[style*="grid-template-columns:1fr 300px"],
    div[style*="grid-template-columns:1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 3-column listing grids (hotels, tours, donation, eprasad) */
    div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 4-column category filter grids (pooja, tours, eprasad) */
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 4-column search filter (hotels.php) */
    form[style*="grid-template-columns:2fr 1fr 1fr auto"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* 4-column quick stats (eprasad) */
    div[style*="grid-template-columns:repeat(4,1fr)"][style*="text-align:center"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* All 2-column form grids collapse to 1 */
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 3-column listing grids collapse to 1 */
    div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* 4-column grids collapse to 2 */
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 3-column grids (hotel-form, tour-form) collapse to 1 */
    div[style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 2-column sidebar layouts collapse to 1 */
    div[style*="grid-template-columns:1fr 340px"],
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns:1fr 320px"],
    div[style*="grid-template-columns:1fr 300px"],
    div[style*="grid-template-columns:1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Search filter collapses to 1 */
    form[style*="grid-template-columns:2fr 1fr 1fr auto"] {
        grid-template-columns: 1fr !important;
    }

    /* Support page 2-column */
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:32px"] {
        grid-template-columns: 1fr !important;
    }

    /* Contact page 4-column info cards */
    div[style*="grid-template-columns:repeat(4,1fr)"][style*="gap:0"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Container padding reduction */
    .container-custom {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Section padding reduction */
    section[style*="padding:40px 0 60px"],
    section[style*="padding:40px 0"] {
        padding: 24px 0 !important;
    }

    /* Section card padding reduction */
    .section-card {
        padding: 16px !important;
    }

    /* Hero sections with fixed height */
    section[style*="height:300px"],
    section[style*="height:340px"] {
        height: 220px !important;
    }

    /* Headings in detail pages */
    h1[style*="font-size:28px"],
    h1[style*="font-size:32px"] {
        font-size: 22px !important;
    }

    h2[style*="font-size:20px"] {
        font-size: 17px !important;
    }

    /* Flex layouts with gap in detail pages */
    div[style*="display:flex;gap:20px;margin-bottom:24px"] {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Images in flex layouts on booking pages */
    div[style*="display:flex;gap:20px"] img[style*="width:100px;height:100px"] {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 576px) {
    /* All multi-column grids collapse to 1 */
    div[style*="grid-template-columns:repeat(2,1fr)"],
    div[style*="grid-template-columns:repeat(3,1fr)"],
    div[style*="grid-template-columns:repeat(4,1fr)"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Listing card images */
    img[style*="height:180px"],
    img[style*="height:200px"],
    img[style*="height:150px"],
    img[style*="height:140px"] {
        height: 160px !important;
    }

    /* Amount buttons wrap */
    .amt-btn {
        flex: 1 1 calc(50% - 10px) !important;
        text-align: center !important;
    }

    /* Detail page hero */
    section[style*="height:300px"],
    section[style*="height:340px"],
    section[style*="height:220px"] {
        height: 180px !important;
    }

    h1[style*="font-size:28px"],
    h1[style*="font-size:32px"],
    h1[style*="font-size:22px"] {
        font-size: 18px !important;
    }

    /* Nearby/related items grids */
    div[style*="grid-template-columns:repeat(2,1fr)"][style*="gap:12px"] {
        grid-template-columns: 1fr !important;
    }

    /* Horizontal flex with image + text (darshan temple card, booking headers) */
    div[style*="display:flex;gap:20px;align-items:center"] {
        flex-direction: column !important;
        text-align: center !important;
    }

    div[style*="display:flex;gap:20px;align-items:center"] img[style*="width:80px"],
    div[style*="display:flex;gap:20px;align-items:center"] img[style*="width:100px"] {
        width: 64px !important;
        height: 64px !important;
    }

    /* Trust bar items */
    .trust-bar .container-custom {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .trust-item {
        flex: 1 1 50% !important;
        min-width: 140px !important;
    }
}

@media (max-width: 380px) {
    .container-custom {
        padding-left: 10px;
        padding-right: 10px;
    }

    .section-card {
        padding: 12px !important;
    }

    /* Amount buttons full width */
    .amt-btn {
        flex: 1 1 100% !important;
    }
}

/* ================================================
   GLOBAL MOBILE RESPONSIVE OVERRIDES
   Catches inline grid/flex patterns not covered above
   ================================================ */
@media (max-width: 768px) {
    /* Inline 2-column grids → 1 column */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns:1fr 1.5fr"],
    div[style*="grid-template-columns:1.5fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"],
    div[style*="grid-template-columns:1fr 2fr"],
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns:1fr 300px"],
    div[style*="grid-template-columns:260px 1fr"],
    div[style*="grid-template-columns:repeat(2,1fr)"],
    div[style*="grid-template-columns:repeat(3,1fr)"],
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Flex space-between headers → stack vertically */
    div[style*="display:flex;justify-content:space-between;align-items:center"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    /* Flex rows with fixed gaps → wrap */
    div[style*="display:flex;gap:20px"]:not([style*="flex-wrap"]),
    div[style*="display:flex;gap:24px"]:not([style*="flex-wrap"]),
    div[style*="display:flex;gap:32px"]:not([style*="flex-wrap"]) {
        flex-wrap: wrap !important;
    }

    /* Section padding reduce */
    section[style*="padding:60px"],
    section[style*="padding:70px"],
    section[style*="padding:80px"] {
        padding: 30px 0 !important;
    }

    /* Card padding reduce */
    .section-card[style*="padding:36px"],
    .section-card[style*="padding:32px"],
    .section-card[style*="padding:28px"] {
        padding: 18px !important;
    }

    /* Large headings reduce */
    h1[style*="font-size:42px"],
    h1[style*="font-size:40px"],
    h1[style*="font-size:38px"],
    h2[style*="font-size:36px"],
    h2[style*="font-size:32px"] {
        font-size: 26px !important;
    }

    /* Tables → horizontal scroll */
    table:not(.rev-table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    /* All grids already 1fr from 768px, keep enforced */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns:repeat(2,1fr)"],
    div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Hero font sizes smaller */
    h1[style*="font-size:42px"],
    h1[style*="font-size:40px"],
    h1[style*="font-size:38px"],
    h1[style*="font-size:32px"],
    h1[style*="font-size:28px"] {
        font-size: 22px !important;
    }

    h2[style*="font-size:26px"],
    h2[style*="font-size:24px"] {
        font-size: 20px !important;
    }

    /* Reduce section padding further */
    section[style*="padding:30px"],
    section[style*="padding:40px"] {
        padding: 20px 0 !important;
    }
}
