/* ═══════════════════════════════════════════════
   Sri Chappidi Venkaiah Gari Kalyana Mandapam
   Main Stylesheet - Green & Blue Theme
═══════════════════════════════════════════════ */
:root {
  --green: #3aaa35;
  --green-dark: #2d8a29;
  --green-light: #5dc457;
  --blue: #3ab5e5;
  --blue-dark: #1a8fb5;
  --blue-light: #6fcfef;
  --gold: #d4a843;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light: #f8fffe;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(58,170,53,0.10);
  --shadow-blue: 0 4px 24px rgba(58,181,229,0.13);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --radius: 12px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light); }

/* ── Typography ─────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.3; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: clamp(28px,4vw,42px); color: var(--dark); margin-bottom: 16px; }
.section-title h2 span { color: var(--green); }
.section-title p { color: var(--gray); font-size: 17px; max-width: 600px; margin: 0 auto; }
.section-title .title-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.section-title .title-line::before, .section-title .title-line::after { content:''; flex:1; height:2px; background: linear-gradient(90deg,transparent,var(--green)); max-width: 80px; }
.section-title .title-line::after { background: linear-gradient(90deg,var(--blue),transparent); }
.script-tag { font-family: var(--font-script); color: var(--green); font-size: 24px; display: block; margin-bottom: 8px; }

/* ── Buttons ────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: linear-gradient(135deg,var(--green),var(--green-dark)); color: #fff; box-shadow: 0 4px 20px rgba(58,170,53,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(58,170,53,0.4); }
.btn-secondary { background: linear-gradient(135deg,var(--blue),var(--blue-dark)); color: #fff; box-shadow: 0 4px 20px rgba(58,181,229,0.3); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(58,181,229,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); background: var(--green); color: #fff; }

/* ── Topbar ─────────────────────────────── */
.topbar { background: linear-gradient(135deg,var(--dark),#16213e); color: #cdd6e0; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left a, .topbar-left span { color: #cdd6e0; display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--green-light); }
.topbar-right a { color: #cdd6e0; transition: var(--transition); }
.topbar-right a:hover { color: var(--blue-light); }
.btn-top { background: var(--green); color: #fff !important; padding: 4px 14px; border-radius: 20px; font-size: 12px; }
.btn-top:hover { background: var(--green-dark) !important; }

/* ── Header ─────────────────────────────── */
.main-header { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: var(--transition); }
.main-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo a { display: flex; align-items: center; gap: 14px; }
.logo img { height: 58px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--green); line-height: 1.2; }
.logo-sub { font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: 0.5px; }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li a { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--dark); position: relative; }
.main-nav ul li a::after { content:''; position:absolute; bottom:4px; left:50%; transform:translateX(-50%); width:0; height:2px; background:var(--green); border-radius:2px; transition:var(--transition); }
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { width: 60%; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--green); }

.btn-whatsapp { background: linear-gradient(135deg,#25d366,#128c7e); color: #fff; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); color: #fff; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Flash Messages ─────────────────────── */
.flash-msg { padding: 12px 0; font-size: 15px; font-weight: 500; }
.flash-msg .container { display: flex; align-items: center; justify-content: space-between; }
.flash-success { background: #d1fae5; color: #065f46; border-bottom: 2px solid #10b981; }
.flash-error { background: #fee2e2; color: #991b1b; border-bottom: 2px solid #ef4444; }
.flash-info { background: #dbeafe; color: #1e40af; border-bottom: 2px solid #3b82f6; }
.flash-msg button { background: none; border: none; font-size: 20px; cursor: pointer; opacity: 0.6; }

/* ── Hero Section ───────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(58,170,53,0.25) 50%, rgba(58,181,229,0.35) 100%); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; position: relative; }
.hero-content { position: relative; z-index: 2; padding: 80px 0; color: #fff; }
.hero-content .script-tag { color: var(--green-light); font-size: 28px; }
.hero-content h1 { font-size: clamp(32px,5vw,64px); line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content h1 span { color: var(--blue-light); }
.hero-content p { font-size: 18px; opacity: 0.9; max-width: 560px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 800; font-family: var(--font-head); color: var(--green-light); }
.hero-stat .label { font-size: 13px; opacity: 0.8; }
.hero-decoration { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); z-index: 2; width: 400px; }

/* Slider controls */
.hero-slider { position: relative; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; }
.slider-dot.active { background: var(--green-light); transform: scale(1.3); }

/* ── About Section ──────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img-float { position: absolute; bottom: -20px; right: -20px; width: 200px; border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow); overflow: hidden; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--gray); margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.about-feature i { color: var(--green); font-size: 18px; }
.about-badge { background: linear-gradient(135deg,var(--green),var(--blue)); color: #fff; padding: 20px; border-radius: var(--radius); text-align: center; margin-top: 24px; display: inline-block; }
.about-badge strong { font-size: 28px; display: block; font-family: var(--font-head); }

/* ── Stats Bar ──────────────────────────── */
.stats-bar { background: linear-gradient(135deg,var(--green-dark),var(--blue-dark)); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-item { color: #fff; }
.stat-item .stat-num { font-size: 48px; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.stat-item .stat-label { font-size: 15px; opacity: 0.85; margin-top: 6px; }
.stat-item .stat-icon { font-size: 30px; opacity: 0.7; margin-bottom: 10px; }

/* ── Halls ──────────────────────────────── */
.halls-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 30px; }
.hall-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: var(--transition); }
.hall-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(58,170,53,0.15); }
.hall-img { position: relative; overflow: hidden; height: 220px; background: linear-gradient(135deg,var(--green-light),var(--blue-light)); }
.hall-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hall-card:hover .hall-img img { transform: scale(1.08); }
.hall-img .hall-badge { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.95); color: var(--green); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.hall-body { padding: 24px; }
.hall-body h3 { font-size: 20px; margin-bottom: 8px; color: var(--dark); }
.hall-body p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.hall-meta { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.hall-meta span { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.hall-meta span i { color: var(--green); }
.hall-price { font-size: 22px; font-weight: 700; color: var(--green); font-family: var(--font-head); }
.hall-price small { font-size: 13px; color: var(--gray); font-weight: 400; font-family: var(--font-body); }
.hall-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--border); background: var(--light); }

/* ── Services ───────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }
.service-card:hover { border-color: var(--green); transform: translateY(-6px); }
.service-icon { width: 80px; height: 80px; background: linear-gradient(135deg,rgba(58,170,53,0.1),rgba(58,181,229,0.1)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 34px; transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(135deg,var(--green),var(--blue)); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14px; }

/* ── Gallery ────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery-item { border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.wide { grid-column: 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(135deg,rgba(58,170,53,0.8),rgba(58,181,229,0.8)); opacity: 0; transition: var(--transition); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-filter { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.gallery-filter button { padding: 8px 22px; border-radius: 30px; border: 2px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; transition: var(--transition); }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Testimonials ───────────────────────── */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { min-width: 100%; padding: 0 15px; }
.testimonial-inner { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); position: relative; }
.testimonial-inner::before { content:'❝'; font-size: 80px; color: rgba(58,170,53,0.08); font-family: serif; position: absolute; top: 0; left: 20px; line-height: 1; }
.testimonial-stars { color: #fbbf24; font-size: 18px; margin-bottom: 16px; }
.testimonial-text { color: var(--gray); font-size: 16px; font-style: italic; margin-bottom: 24px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg,var(--green),var(--blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.testimonial-author h5 { font-size: 16px; margin-bottom: 2px; }
.testimonial-author span { font-size: 13px; color: var(--green); }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--green); color: var(--green); cursor: pointer; font-size: 16px; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: var(--green); color: #fff; }

/* ── Contact ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form-box { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form-box h3 { font-size: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 15px; transition: var(--transition); background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(58,170,53,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-box { }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info-icon { width: 50px; height: 50px; background: linear-gradient(135deg,var(--green),var(--green-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--gray); font-size: 14px; }
.contact-info-item a:hover { color: var(--green); }

/* ── FAQ ────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--green); }
.faq-question.open { color: var(--green); background: rgba(58,170,53,0.04); }
.faq-question i { transition: transform 0.3s; color: var(--green); }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 24px 20px; color: var(--gray); line-height: 1.8; }
.faq-answer.show { display: block; }

/* ── CTA Section ────────────────────────── */
.cta-section { background: linear-gradient(135deg,var(--green-dark) 0%, var(--dark) 50%, var(--blue-dark) 100%); padding: 80px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background: radial-gradient(ellipse,rgba(58,181,229,0.1) 0%,transparent 60%); }
.cta-section h2 { font-size: clamp(28px,4vw,48px); margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.85; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Blog ───────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 28px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.blog-img { height: 200px; overflow: hidden; background: linear-gradient(135deg,var(--green-light),var(--blue-light)); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-cat { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.blog-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a:hover { color: var(--green); }
.blog-body p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.blog-meta { display: flex; gap: 14px; font-size: 13px; color: var(--gray); }

/* ── Page Hero ──────────────────────────── */
.page-hero { background: linear-gradient(135deg,var(--dark),var(--green-dark) 60%,var(--blue-dark)); padding: 80px 0; text-align: center; color: #fff; }
.page-hero h1 { font-size: clamp(28px,4vw,48px); margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.85; }
.breadcrumb-nav { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; opacity: 0.8; }
.breadcrumb-nav a:hover { color: var(--green-light); }

/* ── Booking Form ───────────────────────── */
.booking-section { background: var(--light); }
.booking-box { background: #fff; border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.availability-strip { background: linear-gradient(135deg,var(--green),var(--blue)); border-radius: var(--radius); padding: 24px 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.availability-strip input, .availability-strip select { flex: 1; min-width: 160px; padding: 12px 16px; border: none; border-radius: 8px; font-size: 15px; }
.availability-strip .btn { background: var(--dark); color: #fff; white-space: nowrap; }

/* ── Footer ─────────────────────────────── */
.main-footer { background: var(--dark); color: #cdd6e0; }
.footer-top { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 52px; }
.footer-logo strong { display: block; color: #fff; font-size: 15px; }
.footer-logo small { color: var(--blue-light); font-size: 12px; }
.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-col ul li a i { font-size: 11px; color: var(--green); }
.footer-contact .fc-item { display: flex; gap: 14px; margin-bottom: 14px; }
.footer-contact .fc-item i { color: var(--green); font-size: 17px; margin-top: 3px; flex-shrink: 0; }
.footer-contact .fc-item p, .footer-contact .fc-item a { font-size: 14px; line-height: 1.5; }
.footer-contact .fc-item a:hover { color: var(--green-light); }
.footer-map { border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; text-align: center; font-size: 13px; opacity: 0.7; }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: var(--green-light); }

/* ── Float Buttons ──────────────────────── */
.whatsapp-float { position: fixed; bottom: 90px; right: 24px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; z-index: 9999; box-shadow: 0 4px 20px rgba(37,211,102,0.5); animation: pulse-wa 2s infinite; }
.call-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: linear-gradient(135deg,var(--green),var(--green-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; z-index: 9999; box-shadow: 0 4px 20px rgba(58,170,53,0.5); }
.whatsapp-tooltip { position: absolute; right: 66px; background: var(--dark); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 13px; white-space: nowrap; opacity: 0; transition: var(--transition); pointer-events: none; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes pulse-wa { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.5)} 50%{box-shadow:0 4px 30px rgba(37,211,102,0.8),0 0 0 10px rgba(37,211,102,0.1)} }

/* ── Pagination ─────────────────────────── */
.pagination ul { display: flex; gap: 8px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.pagination ul li a, .pagination ul li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 2px solid var(--border); font-weight: 600; font-size: 14px; transition: var(--transition); }
.pagination ul li.active a, .pagination ul li a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ── Lightbox ───────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 99999; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 36px; cursor: pointer; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--green); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── User Account ───────────────────────── */
.account-grid { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.account-sidebar { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); height: fit-content; }
.account-sidebar .user-info { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.account-sidebar .avatar { width: 70px; height: 70px; background: linear-gradient(135deg,var(--green),var(--blue)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; margin: 0 auto 10px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 15px; margin-bottom: 4px; }
.account-nav a:hover, .account-nav a.active { background: rgba(58,170,53,0.1); color: var(--green); }
.account-content { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }

/* ── Utilities ──────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(58,170,53,0.1); color: var(--green); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hamburger { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; z-index: 9999; padding: 80px 24px 24px; box-shadow: -4px 0 30px rgba(0,0,0,0.15); transition: right 0.35s ease; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 16px; }
  .logo-name { font-size: 13px; }
  .logo-sub { font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-float { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .account-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-left span { display: none; }
  .hero-decoration { display: none; }
  .btn-whatsapp span { display: none; }
  .availability-strip { flex-direction: column; }
  .availability-strip input, .availability-strip select { width: 100%; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .halls-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}

/* ── Hero multi-slider enhancements ── */
.hero-bg-fallback { width: 100%; height: 100%; position: absolute; inset: 0;
  background: linear-gradient(135deg,#1a1a2e 0%,#16533a 50%,#1a3a4a 100%); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 12;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.18); color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: var(--transition);
}
.slider-arrow:hover { background: var(--green); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 22px; }
.slider-next { right: 22px; }
@media (max-width: 640px) {
  .slider-arrow { width: 40px; height: 40px; font-size: 14px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
}

/* ── Custom CMS section body ── */
.custom-section-body { line-height: 1.85; font-size: 16px; color: #374151; }
.custom-section-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.custom-section-body h2, .custom-section-body h3 { margin: 18px 0 10px; }
.custom-section-body ul, .custom-section-body ol { margin: 10px 0 10px 22px; }
.custom-section-body p { margin-bottom: 12px; }

/* ── 404 / empty state ── */
.notfound-wrap { text-align: center; padding: 90px 20px; }
.notfound-wrap .code { font-size: 90px; font-weight: 800; font-family: var(--font-head);
  background: linear-gradient(135deg,var(--green),var(--blue)); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1; }

/* ── Hero compact banner (centered content, reduced height) ── */
.hero { min-height: 62vh; height: 62vh; padding: 0; }
.hero-slide { width: 100%; height: 100%; }
.hero-bg, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-position: center center; }
.hero .container { display: flex; justify-content: center; height: 100%; align-items: center; }
.hero-content { text-align: center; max-width: 980px; margin: 0 auto; padding: 36px 0; }
.hero-content p { margin-left: auto; margin-right: auto; }
.hero-buttons { justify-content: center; }
.hero-stats { justify-content: center; margin-top: 24px; }
@media (max-width: 768px) {
  .hero { min-height: 56vh; height: 56vh; }
  .hero-content { padding: 24px 16px; }
}

/* ── Infrastructure section ── */
.infra-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.infra-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.infra-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.infra-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg,var(--green-light),var(--blue-light)); overflow: hidden; }
.infra-media img, .infra-media iframe, .infra-media video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.infra-media .play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; pointer-events: none; }
.infra-body { padding: 18px 20px 22px; }
.infra-body h3 { font-size: 18px; margin-bottom: 6px; }
.infra-body p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ── Service thumbnail (alternative to emoji icon) ── */
.service-card .service-thumb { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(58,170,53,0.18); }
.service-card .service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Recent events grid ── */
.events-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.event-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg,var(--green-light),var(--blue-light)); overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-media-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; color: #fff; }
.event-date-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.95); color: var(--dark); font-size: 12px; padding: 4px 10px; border-radius: 16px; font-weight: 600; }
.event-media .play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,0,0,0.85); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.event-body { padding: 18px 20px 22px; }
.event-body h3 { font-size: 18px; margin-bottom: 6px; }
.event-body p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ── Language switcher in top bar ── */
.lang-switch { display: inline-flex; gap: 4px; margin-left: 10px; font-size: 13px; }
.lang-switch a { padding: 2px 8px; border-radius: 4px; opacity: 0.7; }
.lang-switch a.active { background: rgba(255,255,255,0.18); opacity: 1; font-weight: 600; }

/* Telugu typography is injected inline by header.php (configurable in Admin → Settings → Branding) */
