/*
Theme Name: Prayagraj Kumbh 2026
Description: Clean bilingual theme for Maha Kumbh Prayagraj 2026 — by Waterchem & R S Ceramics
Version: 2.3
Author: PrayagrajKumbh.in Team
*/

/* -------------------------------------
   ROOT VARIABLES
------------------------------------- */
:root {
  --orange-1: #b3592b;
  --orange-2: #d07a4a;
  --muted: #666;
  --soft-bg: #fff6f0;
  --white: #fff;
}

/* -------------------------------------
   GLOBAL RESET
------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* -------------------------------------
   LAYOUT UTILITIES
------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.bg-soft {
  background: var(--soft-bg);
}

/* -------------------------------------
   GRID SYSTEM
------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* -------------------------------------
   HEADER — TRANSPARENT → BEIGE
------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(4px);
}

body.scrolled .site-header {
  background: #fff6f0;
  color: #b3592b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-header a:hover {
  color: var(--orange-2);
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  transition: color 0.25s, transform 0.25s;
}

.site-nav a:hover {
  color: #ffe2d0;
  transform: translateY(-2px);
}

/* -------------------------------------
   MOBILE NAVIGATION
------------------------------------- */
.mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }

  .mobile-drawer {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9998;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.35s ease;
  }

  .mobile-drawer.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-drawer a {
    color: var(--orange-1);
    font-weight: 700;
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }
}

/* -------------------------------------
   HERO SECTION (GLOBAL PAGE HERO)
------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 20px 90px;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(0.85) contrast(1.1);
  z-index: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInText 1s ease;
}

.page-hero-inner h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #ffe8d2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 16px 70px;
    min-height: 320px;
  }
  .page-hero-inner h1 {
    font-size: clamp(24px, 7vw, 38px);
  }
  .hero-subtitle {
    font-size: 17px;
  }
}

/* -------------------------------------
   BLOG PAGE (CUSTOM TEMPLATE)
------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Thumbnail */
.blog-thumb-wrap {
  overflow: hidden;
  height: 220px;
}

.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.05);
}

/* Blog Content */
.blog-card-content {
  padding: 18px 20px 24px;
}

.blog-card-title a {
  color: #b3592b;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #7d3c1f;
}

.blog-excerpt {
  color: #555;
  font-size: 15px;
  margin: 10px 0 16px;
  line-height: 1.6;
}

/* -------------------------------------
   FOOTER
------------------------------------- */
.footer {
  background: var(--soft-bg);
  padding: 40px 20px;
  font-size: 15px;
  line-height: 1.7;
}

.footer a {
  color: var(--orange-1);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer strong {
  color: var(--orange-1);
}

/* -------------------------------------
   RESPONSIVE FIXES
------------------------------------- */
@media (max-width: 700px) {
  .cta-primary,
  .cta-outline {
    flex: 1 1 45%;
    min-width: 130px;
    padding: 10px 14px;
  }
}
/* === SINGLE BLOG POST IMAGE FIX === */
.single-post .page-hero-bg {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.8) contrast(1.05);
}

.single-post .post-content img {
  max-width: 90%;
  height: auto !important;
  margin: 25px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.single-post .post-content {
  line-height: 1.8;
  font-size: 17px;
  color: #333;
}

.single-post h2, 
.single-post h3 {
  color: #b3592b;
  margin-top: 1.5em;
}

.single-post a {
  color: #b3592b;
  text-decoration: underline;
}

.single-post a:hover {
  color: #7d3c1f;
}
/* === BLOG GRID STYLING === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.blog-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 18px;
}

.blog-card-content h3 {
  color: #b3592b;
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card-content h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-content h3 a:hover {
  color: #7d3c1f;
}

.blog-card-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.cta-read {
  font-weight: 600;
  color: #b3592b;
  text-decoration: none;
  font-size: 15px;
}

.cta-read:hover {
  color: #7d3c1f;
  text-decoration: underline;
}
/* === Fix: Hero Image Cropped Grey Gap === */
.page-hero {
  background-color: #000; /* fallback behind image */
}

.page-hero-bg {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
