/* ═══════════════════════════════════════════════
   SHEOWS GLOBAL — style.css
   Section 1: Nav + Hero + Modal + Base
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dim:    rgba(201,168,76,0.15);
  --deep:        #1B1B18;
  --forest:      #242420;
  --sage:        #363630;
  --cream:       #FAF7F2;
  --warm:        #F2ECE3;
  --text:        #1A1A18;
  --muted:       #6B6B60;
  --india:       #FF6B35;
  --usa:         #3B6CB7;
  --germany:     #D4A017;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --nav-h:       72px;
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.28s var(--ease-out);
  white-space: nowrap;
}
.btn i { font-size: 1rem; }
.btn--gold {
  background: var(--gold);
  color: var(--deep);
  border: 2px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--lg { padding: 15px 34px; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: rgba(12, 26, 20, 0.0);
  border-bottom: 1px solid rgba(201,168,76,0.0);
  transition: background 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out),
              padding 0.3s var(--ease-out),
              height 0.3s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(12, 26, 20, 0.96);
  border-bottom-color: rgba(201,168,76,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  height: 60px;
}

/* logo */
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo__img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.3s var(--ease-out);
}
.site-nav.scrolled .nav-logo__img {
  height: 34px;
}

/* nav links */
.nav-links ul {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* nav actions */
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-donate {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
}
.nav-contact {
  font-size: 0.72rem;
  padding: 9px 20px;
}

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 910;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--deep);
  z-index: 899;
  padding: calc(var(--nav-h) + 32px) 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(201,168,76,0.1);
  transition: right 0.4s var(--ease-in-out);
}
.mobile-nav.open { right: 0; }
.mobile-nav__link {
  display: block;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 0.05em;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav__link:hover { color: var(--gold); padding-left: 8px; }
.mobile-nav__flags {
  margin-top: auto;
  display: flex;
  gap: 16px;
  font-size: 1.8rem;
}

/* ══════════════════════════════════════════════
   HERO — SECTION 1
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  padding-top: 0;
}

/* ── Panels ── */
.hero__panels {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 180px);
}

.hero__panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s var(--ease-in-out);
}
.hero__panels:hover .hero__panel { flex: 0.6; }
.hero__panels .hero__panel:hover { flex: 1.8; }

/* panel BG image */
.hero__panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}
.hero__panel:hover .hero__panel-bg { transform: scale(1.06); }

/* overlay — different tone per country */
.hero__panel-overlay {
  position: absolute;
  inset: 0;
}
.hero__panel--india .hero__panel-overlay {
  background: linear-gradient(to top,
    rgba(60,30,5,0.88) 0%,
    rgba(100,60,15,0.35) 50%,
    rgba(150,90,20,0.1) 100%);
}
.hero__panel--usa .hero__panel-overlay {
  background: linear-gradient(to top,
    rgba(8,18,45,0.9) 0%,
    rgba(20,45,90,0.35) 50%,
    rgba(35,70,130,0.1) 100%);
}
.hero__panel--germany .hero__panel-overlay {
  background: linear-gradient(to top,
    rgba(10,22,14,0.92) 0%,
    rgba(22,48,30,0.38) 50%,
    rgba(38,72,46,0.1) 100%);
}

/* vertical dividers between panels */
.hero__panel:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 3;
}

/* panel content */
.hero__panel-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}

.hero__panel-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.hero__panel:hover .hero__panel-eyebrow { opacity: 1; transform: translateY(0); }

.hero__panel-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero__panel-tagline {
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  max-width: 180px;
  line-height: 1.5;
}

.hero__panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  opacity: 0;
  transform: translateY(10px);
}
.hero__panel:hover .hero__panel-btn {
  opacity: 1;
  transform: translateY(0);
}
.hero__panel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.hero__panel-btn i { font-size: 0.9rem; }

/* accent line bottom of each panel */
.hero__panel-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.hero__panel:hover .hero__panel-accent { transform: scaleX(1); }
.hero__panel-accent--india  { background: linear-gradient(90deg, var(--india), #FF9666); }
.hero__panel-accent--usa    { background: linear-gradient(90deg, var(--usa), #6B9BD2); }
.hero__panel-accent--germany{ background: linear-gradient(90deg, var(--germany), #E8C97A); }

/* ── Text block below panels ── */
.hero__textblock {
  background: var(--deep);
  border-top: 1px solid rgba(201,168,76,0.14);
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__textblock-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero__textblock-eyebrow i { font-size: 1rem; }

.hero__textblock-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.hero__textblock-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero__textblock-sub {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 12px;
}

.hero__textblock-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.8;
}
.hero__textblock-trust i { font-size: 0.9rem; }

.hero__textblock-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   CONTACT MODAL
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12,26,20,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--cream);
  width: 100%;
  max-width: 520px;
  padding: 48px;
  position: relative;
  transform: translateY(28px);
  transition: transform 0.38s var(--ease-out);
  border-radius: 2px;
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(12,26,20,0.15);
  color: var(--muted);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.modal-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.modal-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.modal-sub strong { color: var(--deep); }

/* form */
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--warm);
  border: 1.5px solid rgba(12,26,20,0.1);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-nav { padding: 0 32px; }
  .hero__textblock { padding: 28px 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* nav */
  .site-nav { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* hero panels — stack vertically */
  .hero__panels { flex-direction: column; min-height: auto; }
  .hero__panel {
    height: 33.33vh;
    min-height: 160px;
  }
  .hero__panels:hover .hero__panel { flex: unset; height: 33.33vh; }
  .hero__panels .hero__panel:hover { flex: unset; height: 48vh; }

  /* on mobile panels expand vertically */
  .hero__panels { transition: none; }
  .hero__panel { transition: height 0.5s var(--ease-in-out); }

  /* mobile panel content — horizontal layout */
  .hero__panel-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 22px;
    gap: 16px;
  }
  .hero__panel-name {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .hero__panel-tagline { font-size: 0.72rem; max-width: 160px; }
  .hero__panel-btn {
    opacity: 1;
    transform: translateY(0);
    margin-top: 0;
    margin-left: auto;
    font-size: 0.62rem;
    padding: 8px 14px;
  }
  .hero__panel-eyebrow { display: none; }

  /* accent moves to left edge on mobile */
  .hero__panel-accent {
    top: 0; bottom: 0; right: auto;
    width: 3px; height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .hero__panel:hover .hero__panel-accent { transform: scaleY(1); }

  /* text block — stacked */
  .hero__textblock {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 24px;
  }
  .hero__textblock-headline { font-size: 1.7rem; }
  .hero__textblock-right {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
  }
  .hero__textblock-right .btn { flex: 1; min-width: 140px; justify-content: center; }

  /* modal */
  .modal-box { padding: 32px 24px; }
  .modal-heading { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero__panel-name { font-size: 1rem; }
  .hero__panel-tagline { display: none; }
}

/* ══════════════════════════════════════════════
   LOGO — white filter for dark nav
══════════════════════════════════════════════ */
.nav-logo__img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ══════════════════════════════════════════════
   FLAG BADGES — cross-platform country indicators
   (replaces OS-dependent emoji flags via JS)
══════════════════════════════════════════════ */
.flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 16px;
  padding: 0 5px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
}
.flag-badge--india   { background: var(--india); }
.flag-badge--usa     { background: var(--usa);   }
.flag-badge--de      { background: var(--germany); color: var(--deep); }

/* larger size for country-card flag position */
.country-card__flag .flag-badge {
  width: 36px;
  height: 24px;
  font-size: 0.7rem;
  border-radius: 4px;
}

/* larger for mobile nav flags strip */
.mobile-nav__flags .flag-badge {
  width: 40px;
  height: 28px;
  font-size: 0.72rem;
  border-radius: 4px;
}
