/* ==========================================================================
   COMMON STYLESHEET — WE WISH FOR SOCIETY (WWF)
   Shared Design Tokens, Resets, Navigation Bar, Mobile Drawer, and Footer
   ========================================================================== */

/* ── DESIGN TOKENS ── */
:root {
  --yellow: #F1BE49;
  --deep-gold: #C47F00;
  --dark-gold: #FFF9EE;
  --black: #1A0F00;
  --cream: #FFF9EE;
  --sand: #FFF9EE;
  --rust: #B84B00;
  --terracotta: #C25A2A;
  --deep-red: #8B1A1A;
  --teal: #1A6B6B;
  --warm-white: #FFF9EE;
  --white: #FFFFFF;
  --white-dim: rgba(255, 255, 255, 0.75);
  --white-line: rgba(255, 255, 255, 0.2);
  --gold: #F1BE49;
  --orange: #DD5C35;
  --green: #317039;
}

/* ── BASE RESETS ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--warm-white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── GLOBAL NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--green);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--yellow);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
  display: block;
}

.nav-logo-text .name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  font-family: "Inter", sans-serif;
}

.nav-logo-text .tag {
  font-size: 0.65rem;
  color: var(--sand);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--sand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border-radius: 15px !important;
  font-weight: 600 !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--deep-gold) !important;
  color: var(--black) !important;
}

/* ── HAMBURGER BUTTON ── */
.ham-btn {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1002;
  align-items: center;
  justify-content: center;
}

.ham-btn div {
  position: absolute;
  top: 4px;
  left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ham-btn div:nth-child(1) {
  opacity: 1;
}

.ham-btn div:nth-child(2) {
  opacity: 0;
}

.ham-btn.is-open div:nth-child(1) {
  opacity: 0;
}

.ham-btn.is-open div:nth-child(2) {
  opacity: 1;
}

/* ── MOBILE NAVIGATION DRAWER ── */
#mobileNav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 3px solid var(--yellow);
  flex-direction: column;
  padding: 0.5rem 0 1.5rem;
  z-index: 9999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

#mobileNav.is-open {
  display: flex;
}

#mobileNav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem 1.5rem;
  color: #1a2744;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease, background 0.2s ease;
  text-align: center;
}

#mobileNav a:hover,
#mobileNav a.active {
  background: rgba(241, 190, 73, 0.08);
  color: var(--yellow);
}

#mobileNav .nav-cta {
  margin: 1rem 2rem 0.5rem;
  background: var(--yellow) !important;
  color: var(--black) !important;
  border-radius: 25px !important;
  text-align: center;
  justify-content: center;
  padding: 12px 2rem;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* ── FOOTER WRAPPER ── */
.footer-up {
  background: var(--cream);
  line-height: 0;
}

.footer-up img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  margin-top: -2px;
  background: var(--green);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

/* Footer Main Grid */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 3px 2fr;
  gap: 0 clamp(32px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.footer-divider {
  background: var(--white-line);
  width: 1.5px;
  align-self: stretch;
  margin-top: 12px;
}

.footer-brand {
  padding-bottom: 40px;
}

.footer-headline {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 9vw, 100px);
  line-height: 0.92;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.footer-headline span {
  color: var(--yellow);
  display: inline-block;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
}

.footer-col-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: clamp(11px, 1.15vw, 13px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--white-line);
  margin-top: 8px;
  padding: 22px 0 28px;
  position: relative;
  z-index: 1;
}

.footer-address {
  color: var(--white-dim);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 3px 1.6fr;
  }
}

@media (max-width: 768px) {
  nav {
    height: 64px !important;
    padding: 0 1.2rem !important;
  }

  .ham-btn {
    display: flex !important;
  }

  .nav-links {
    display: none !important;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-divider {
    display: none;
  }

  .footer-brand {
    border-bottom: 1px solid var(--white-line);
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .footer-right {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .footer-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #mobileNav .nav-cta {
    margin: 1rem 1rem 0.5rem;
  }
}

@media (max-width: 360px) {
  .footer-headline {
    font-size: 42px;
  }
}
