/* ═══════════════════════════════════════════════════════════
   PAVAN DURGA NURSERY — HEADER + HOME PAGE (home.css)
═══════════════════════════════════════════════════════════ */

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Header Top Bar */
.header-top {
  background: var(--primary);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  padding: .5rem 0;
}
.header-top .container { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.header-top a { color: rgba(255,255,255,.9); font-weight: 600; }
.header-top a:hover { color: var(--accent); }
.ht-sep { color: rgba(255,255,255,.35); }
@media (max-width: 767px) {
  .header-top { padding: .28rem 0; font-size: .65rem; }
  .header-top .container { gap: .5rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; white-space: nowrap; }
  .header-top .container::-webkit-scrollbar { display: none; }
  .header-top .container > * { flex-shrink: 0; }
}

/* Main Nav */
.main-nav { padding: .75rem 0 0; background: #fff; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: .75rem;
}
@media (max-width: 767px) {
  .main-nav { padding: .5rem 0 0; }
  .nav-inner { gap: .6rem; padding-bottom: .5rem; position: relative; padding-right: 3.75rem; }
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; max-width: 220px; }
.nav-logo img { height: 48px; width: auto; max-height: 48px; max-width: 180px; object-fit: contain; display: block; }
.logo-icon { font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.logo-tagline { font-size: .7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 767px) {
  .nav-logo { max-width: 150px; gap: .4rem; }
  .nav-logo img { height: 34px !important; max-height: 34px !important; width: auto !important; max-width: 120px !important; }
  .logo-icon { font-size: 1.5rem; }
  .logo-name { font-size: .92rem; }
  .logo-tagline { font-size: .58rem; }
}

/* Search */
.nav-search {
  flex: 1;
  display: flex;
  max-width: 520px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,94,32,.12);
}
.nav-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: .6rem 1.25rem;
  font-size: .88rem;
  background: transparent;
  color: var(--text);
}
.nav-search-btn {
  padding: .6rem 1.1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-search-btn:hover { background: var(--primary-dk); }

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .3rem .55rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.nav-icon-btn:hover { color: var(--primary); background: var(--bg-light); }
.nav-icon { font-size: 1.1rem; line-height: 1; }
.nav-icon-label { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.nav-badge {
  position: absolute;
  top: .1rem; right: .2rem;
  background: var(--gold);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem .6rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
}
.hamburger::after {
  content: "Menu";
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Category Strip */
.cat-strip {
  border-top: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}
.cat-strip-inner {
  display: flex;
  gap: .2rem;
  overflow-x: auto;
  padding: .4rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-strip-link {
  white-space: nowrap;
  padding: .35rem .85rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-strip-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}
@media (max-width: 767px) {
  .cat-strip-inner { padding: .3rem 0; gap: .1rem; }
  .cat-strip-link { padding: .3rem .6rem; font-size: .72rem; }
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 980;
}
.mobile-overlay.open {
  display: block !important;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: #fff;
  z-index: 990;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open {
  display: block !important;
  transform: translateX(0) !important;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.mobile-menu-header button { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.mobile-menu-body { padding: 1rem; }
.mm-link {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s;
}
.mm-link:hover { background: var(--bg-light); color: var(--primary); }
.mm-link hr { border: none; border-top: 1px solid var(--border); margin: .5rem 0; }

/* Mobile: hide some nav elements */
@media (max-width: 767px) {
  .site-header { position: static; box-shadow: none; }
  .mobile-menu { display: block; }
  .hamburger {
    display: flex; align-items: center; justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: .5rem .7rem;
    font-size: 1.1rem;
    background: var(--gold);
    border: none;
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    z-index: 10;
  }
  .nav-actions { gap: .5rem; }
  .nav-actions .btn-whatsapp { display: none; }
  .nav-icon-btn {
    padding: .4rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
  }
  .nav-icon-btn .nav-icon { font-size: 1.3rem; }
  .nav-icon-label { display: none; }
  .nav-search { display: none; }
  .cat-strip { display: none; }
}
@media (max-width: 480px) {
  .nav-actions .nav-icon-btn:not(.nav-cart-btn) { display: none; }
}

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0D3B14 0%, #1B5E20 60%, #2E7D32 100%);
}
@media (min-width:768px) { .hero { min-height: 85vh; } }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-bg-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, #0D3B14, #2E7D32); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 3rem 1.25rem;
  max-width: 640px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-title em {
  color: var(--accent);
  font-style: normal;
}
.hero-subtitle {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}/* ── YouTube Section ──────────────────────────────────────── */
.yt-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
@media (max-width: 767px) {
  .yt-section { flex-direction: column; gap: 1.5rem; text-align: center; padding: 1.75rem; }
  .yt-btns { justify-content: center; }
}
.yt-logo-wrap {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  overflow: hidden;
}
.yt-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
.yt-logo-fallback { font-size: 5rem; }
.yt-info { flex: 1; }
.yt-channel-badge {
  display: inline-block;
  background: #FFF0F0;
  color: #CC0000;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3rem .85rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.yt-info h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.yt-handle { color: var(--text-muted); font-size: .88rem; font-weight: 600; margin-bottom: .75rem; }
.yt-info p  { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.yt-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-yt {
  background: #FF0000;
  color: #fff;
  border-color: #FF0000;
}
.btn-yt:hover { background: #CC0000; border-color: #CC0000; }
