/* ================================================================
   sunfalak.css — Shared base styles for all Sunfalak pages
   index.html · shop.html · about.html · contact.html

   HOW TO USE:
   Add  <link rel="stylesheet" href="/sunfalak.css">  in <head>
   before your page's own <style> tag.

   WHAT'S IN HERE:
   Design tokens, reset, body, skip-link, announce bar,
   header, nav, footer, social icons, reveal animation,
   btn-primary, and shared responsive breakpoints.

   WHAT'S NOT IN HERE (intentionally):
   section-title / section-sub / section-eyebrow — each page
   has slightly different font sizes for these.
   btn-ghost — same reason.
   nav-links a:hover override colour — kept per-page.
================================================================ */
/* ─── TOKENS ─── */
:root {
  --ivory: #faf6ee;
  --ivory2: #f3eddf;
  --ivory3: #ede5d0;
  --champagne: #c8a96e;
  --champ2: #e6d2a1;
  --teal: #0f3d3e;
  --teal-dim: rgba(15, 61, 62, 0.55);
  --black: #2a2a2a;
  --mid: #7a6e5f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--teal);
  color: var(--champ2);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ─── ANNOUNCE BAR ─── */
.announce {
  background: var(--teal);
  color: var(--champ2);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
}

.announce a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── HEADER & NAV ─── */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: 4px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--champagne);
}

.nav-brand span {
  color: var(--champagne);
}

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

.nav-links a {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-cta {
  background: var(--teal);
  color: var(--champ2);
  padding: 9px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: background 0.25s;
}

.nav-cta:hover {
  background: #0d3233;
}

.nav-links li a {
  font-size: 13px;
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
  background: var(--teal);
  color: var(--champ2);
  padding: 13px 32px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: #0d3233;
  transform: translateY(-2px);
}

.btn-ghost:hover {
  color: var(--champagne);
  border-color: var(--champagne);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ─── FOOTER ─── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 200;
  color: var(--champ2);
  letter-spacing: 5px;
  margin-bottom: 12px;
  display: block;
}

.footer-brand-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(230, 210, 161, 0.4);
  line-height: 1.8;
  max-width: 260px;
  letter-spacing: 0.3px;
}

.footer-col-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(230, 210, 161, 0.5);
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(230, 210, 161, 0.4);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(230, 210, 161, 0.08);
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(230, 210, 161, 0.25);
  letter-spacing: 1px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(230, 210, 161, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.social-icon svg {
  width: 13px;
  height: 13px;
  fill: rgba(230, 210, 161, 0.4);
  transition: fill 0.25s;
}

.social-icon:hover {
  border-color: rgba(230, 210, 161, 0.5);
  background: rgba(230, 210, 161, 0.06);
}

.social-icon:hover svg {
  fill: var(--champ2);
}

/* ─── RESPONSIVE — nav & footer ─── */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  .nav-inner {
    height: 58px;
    padding: 0 16px;
  }

  .nav-brand {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  /* Eyebrow labels — too small + too much letter-spacing on mobile */
  .section-eyebrow,
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  /* Stat strip */
  .stat-num {
    font-size: 28px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  /* CTA buttons */
  .btn-primary,
  .nav-cta {
    font-size: 11px;
    letter-spacing: 2px;
    padding: 13px 24px;
  }

  .btn-ghost {
    font-size: 11px;
    letter-spacing: 2px;
  }

  /* Footer */
  .footer-col-title {
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  .footer-brand {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-copy {
    font-size: 11px;
  }
}

@media (max-width: 480px) {

  .section-eyebrow,
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  .nav-cta {
    display: none;
  }

  /* hide on very small phones, IG link in nav handles it */
}

footer {
  flex-wrap: wrap;
}