/* ============================================================
   ANSHU PANDIT — anshupandit.com — Shared Styles v3
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Cormorant+SC:wght@400;500;600&family=Caveat:wght@400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

:root {
  --cream: #F5EAE2;
  --cream-dark: #EAD9CE;
  --cream-mid: #F0E0D5;
  --text-primary: #1E1E1E;
  --text-secondary: #5A5550;
  --text-light: #9A9490;
  --ocean-deep: #0D2B3E;
  --ocean-mid: #1A4A6B;
  --blush: #C8907E;

  /* Font families */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cormorant', serif;
  --font-serif-sc: 'Cormorant SC', serif;
  --font-hand: 'Caveat', cursive;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* GRAIN */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ============================================================
   NAVIGATION
============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  transition: all 0.5s ease;
}

nav.scrolled {
  background: rgba(245, 234, 226, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(107, 101, 96, 0.1);
  padding: 18px 56px;
}

.nav-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

nav.scrolled .nav-social a { color: var(--text-secondary); }
.nav-social a:hover { color: #fff; }
nav.scrolled .nav-social a:hover { color: var(--text-primary); }
.nav-social svg { width: 17px; height: 17px; fill: currentColor; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
nav.scrolled .nav-links a { color: var(--text-secondary); }
nav.scrolled .nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: #fff; }
nav.scrolled .nav-links a.active { color: var(--text-primary); }

/* ============================================================
   PAGE HEADER (inner pages)
============================================================ */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.75) brightness(0.65);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,43,62,0.25) 0%, rgba(13,43,62,0.6) 100%);
}

.page-header-content {
  position: relative; z-index: 2;
  animation: fadeUp 1.5s ease forwards;
  opacity: 0; transform: translateY(20px);
}

.page-header-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  display: block;
}

.page-header-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  position: relative;
  background: var(--ocean-deep);
  padding: 140px 60px;
  text-align: center;
  overflow: hidden;
}

.cta-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.55) brightness(0.8);
}

.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(13,43,62,0.82) 0%,
    rgba(26,74,107,0.62) 50%,
    rgba(13,43,62,0.88) 100%
  );
}

.cta-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0.055; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.cta-content { position: relative; z-index: 3; }

.cta-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  display: block;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-sub {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-bottom: 52px;
  letter-spacing: 0.06em;
}

.cta-button {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 18px 56px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.45s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 52px;
}

.cta-button::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.cta-button:hover::before { transform: translateX(0); }
.cta-button:hover { border-color: rgba(255,255,255,0.75); letter-spacing: 0.24em; }

.cta-social {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.cta-social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
  display: flex;
}

.cta-social a:hover { color: rgba(255,255,255,0.9); }
.cta-social svg { width: 19px; height: 19px; fill: currentColor; }

/* ============================================================
   UTILITIES
============================================================ */
.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 16px;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes slowZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HAMBURGER MENU (mobile)
============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

nav.scrolled .hamburger span { background: var(--text-primary); }

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245, 234, 226, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  margin-bottom: 48px;
}

.mobile-menu-links li {
  border-bottom: 1px solid var(--cream-dark);
}

.mobile-menu-links li:first-child {
  border-top: 1px solid var(--cream-dark);
}

.mobile-menu-links a {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  padding: 22px 60px;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active { color: var(--ocean-mid); }

.mobile-menu-social {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.mobile-menu-social a {
  color: var(--text-light);
  transition: color 0.3s ease;
  display: flex;
}

.mobile-menu-social a:hover { color: var(--text-primary); }
.mobile-menu-social svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 900px) {
  nav, nav.scrolled { padding: 18px 20px; }
  .nav-links { display: none; }
  .nav-social { display: none; }
  .hamburger { display: flex; }
  .cta-section { padding: 100px 28px; }
  .page-header { height: 40vh; }
}
