/* ----------------------------------------------------
   FULL STYLESHEET — Light (Marble + Gold) + Dark (Lava Rock)
   Preserves all selectors / functionality; only visual changes
---------------------------------------------------- */

/* -------------------------
   VARIABLES
--------------------------*/
:root{
  /* Light palette (alpha/sigma vibe) */
  --lt-body-bg: #f6f5f3;
  --lt-text: #0f0f0f;
  --lt-accent-dark: #0b0b0b;
  --lt-gold-1: #8ad6ff;
  --lt-gold-2: #4db2ff;
  --lt-marble-shadow: rgba(0,0,0,0.18);

  /* Card / UI */
  --card-bg: rgba(255,255,255,0.9);
  --card-border: rgba(20,20,20,0.12);

  /* Zeus storm base */
  --dk-base-1: #050914;       /* deep night sky */
  --dk-base-2: #0a1024;       /* storm cloud */
  --dk-stone-dark: #02040c;   /* near-black void */

  /* Lightning accents */
  --storm-blue-1: #3fa9ff;    /* electric blue */
  --storm-blue-2: #1e6fff;    /* voltage core */
  --storm-cyan:   #8fdcff;    /* lightning glow */

  --dk-text: #e6f1ff;         /* cold white-blue text */

}

/* ----------------------------------------------------
   GLOBAL RESET & TYPOGRAPHY (keeps original structure)
---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  line-height: 1.65;
  color: var(--lt-text);
  background: var(--lt-body-bg);
  transition: background 0.45s ease, color 0.45s ease;
  overflow-x: hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ----------------------------------------------------
   LIGHT MODE LAVA / SHIMMER BACKGROUND
   Matches dark mode's motion but tuned for blue light
---------------------------------------------------- */

/* ---------------------------------------------
   FULLY REPAIRED LIGHT MODE SHIMMER
--------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(165deg, rgba(180,180,180,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 3px),

    /* shimmer blobs: darker + stronger so blend modes show them */
    radial-gradient(circle at 18% 22%, rgba(20,130,200,0.45), transparent 40%),
    radial-gradient(circle at 78% 64%, rgba(0,100,255,0.38), transparent 40%),

    /* streaks */
    linear-gradient(120deg,
      transparent 0%,
      transparent 20%,
      rgba(255,140,40,0.08) 22%,
      rgba(140,210,255,0.14) 24%,
      transparent 28%,
      transparent 100%
    ),

    /* conic glow */
    conic-gradient(from 200deg at 40% 50%,
      rgba(40,180,255,0.12),
      transparent 30deg,
      rgba(10,110,220,0.12) 60deg,
      transparent 120deg
    ),

    /* base background */
    radial-gradient(circle at 50% 50%, #e2e2e2, #e8f5ff 40%, #f3faff 100%);

  /* important change: use lighter blend modes */
  background-blend-mode: multiply, screen, screen, soft-light, overlay, normal;

  background-size:
    1600px 1600px,
    1200px 1200px,
    1600px 1600px,
    800% 800%,
    800% 800%,
    cover;

  animation: lightFlow 18s ease-in-out infinite;
}


@keyframes lightFlow {
  0% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }
  50% {
    background-position:
      10% 18%,
      40% 50%,
      55% 75%,
      40% 45%,
      60% 45%,
      0% 0%;
  }
  100% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }
}


/* ---------------------------------------------
   Light cracks (unchanged except stronger opacity)
--------------------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    linear-gradient(100deg, rgba(66,130,249,0.12) 0%, rgba(50,167,214,0.12) 2%, transparent 6%),
    linear-gradient(110deg, rgba(136,249,244,0.06), transparent 12%);

  background-size: 600% 600%, 800% 800%;
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: lightDrift 34s linear infinite;
}

@keyframes lightDrift {
  0%   { background-position: 0% 0%, 0% 0%; }
  50%  { background-position: 50% 60%, 30% 40%; }
  100% { background-position: 0% 0%, 0% 0%; }
}



/* Preserve weight but make it more aggressive */
h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.05;
}

/* theme control */
.theme-toggle {
  justify-self: end;

  border: none;
  background: none;
  cursor: pointer;
}

/* ----------------------------------------------------
   LIGHT MODE — MARBLE + GOLD (procedural, no images)
   Aggressive / masculine marble with gold streaks
---------------------------------------------------- */
/* ----------------------------------------------------
   FIXED & IMPROVED LIGHT MODE MARBLE + GOLD TEXTURE
---------------------------------------------------- */
/* -----------------------------
   Light mode gold line glow for pillar cards
------------------------------ */
/* Light mode — procedural gold streaks for pillar cards */
body:not(.dark) .pillar-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;

  /* Replace radial gradient with thin gold lines */
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(130, 255, 253, 0.18) 0px,
      rgba(47, 155, 213, 0.18) 2px,
      transparent 4px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(90, 214, 255, 0.15) 0px,
      rgba(90, 178, 255, 0.15) 2px,
      transparent 6px
    );

  background-size: 200% 200%, 200% 200%;
  mix-blend-mode: screen; /* makes the streaks shine over the card */
}

body:not(.dark) .pillar-card:hover::before {
  opacity: 1;
  animation: goldStreakMove 12s linear infinite;
}

@keyframes goldStreakMove {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  50% {
    background-position: 50% 50%, 40% 60%;
  }
  100% {
    background-position: 0% 0%, 0% 0%;
  }
}


/* header icon color for light mode */
.theme-toggle i {
  color: var(--lt-text);
} 



/* ----------------------------------------------------
   MOBILE: FIX HEADER TO TOP
---------------------------------------------------- */
@media (max-width: 800px) {
  .header {
    position: static !important;
    top: auto;
    z-index: auto;
  }
}



/* ----------------------------------------------------
   HEADER — FIXED (always stays at top)
---------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  left: 0;
  width: 100%;

  padding: 1.3rem 2.3rem;

  z-index: 1000;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}




body.dark .subtle-muted {
  color: var(--dk-text);

}


body.dark .header {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.06);
}

.logo {
  justify-self: start;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--lt-accent-dark);
}

body.dark .logo {
  color: var(--storm-blue-1);
}

.nav{
  display: flex;
  justify-self: center;
  align-items: center;
}

/* nav */
.nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero {
  padding: 13vh 2rem;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 1rem;
  color: var(--lt-text);
  text-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

body.dark .hero h1 {
  font-size: 3.6rem;
  margin-bottom: 1rem;
  color: var(--dk-text);
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}
body.dark h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--dk-text);
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lt-accent-dark), #222);
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border: 2px solid rgba(0,0,0,0.6);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}
.cta:hover {
  opacity: 0.95;
  transform: translateY(-4px) scale(1.02);
}

body.dark .cta {
  background: linear-gradient(135deg, var(--storm-blue-1), var(--storm-blue-2));
  color: #02040c;
}



/* ----------------------------------------------------
   UNIVERSAL SECTION LAYOUT
---------------------------------------------------- */
.section {
  padding: 3.5rem 1rem;
  max-width: 1150px;
  margin: auto;
  position: relative;
  z-index: 5;
}

.section h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--lt-text);
}

/* ----------------------------------------------------
   CARD GRID
---------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

@media (max-width: 500px) {
  .card-grid {
    grid-template-columns: 1fr; /* clean full-width cards */
  }
}

.card-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.card-link:hover {
  text-decoration: underline;
}

.card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}
body.dark .card {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(80,170,255,0.05);
  
}

/* ----------------------------------------------------
   PILLARS OF VITALITY — CAROUSEL (Ticker)
---------------------------------------------------- */
/* Ticker container */
.ticker-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  gap: 1.5rem;
  animation: tickerMove 20s linear infinite;
}
@media (max-width: 700px) {
  .ticker-track {
    animation-duration: 12s !important; /* much faster on small screens */
  }
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* ticker animation */
@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* duplicate items recommended */
}

/* pillar-card definitions preserved but restyled */
.pillar-card {
  flex: 0 0 auto;
  min-width: 260px;
  padding: 2rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.87);
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--lt-accent-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

body.dark .pillar-card {
  flex: 0 0 auto;
  min-width: 260px;
  padding: 2rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.87);
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--lt-accent-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.pillar-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
}

/* responsive tweaks */
@media (max-width: 600px) {
  .pillar-card {
    min-width: 150px;
    padding: 1.1rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }
  .pillar-icon {
    font-size: 1.7rem;
  }
}
@media (max-width: 800px) {
  .pillar-left,
  .pillar-right {
    display: none;
  }
}

/* ----------------------------------------------------
   MODAL
---------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 120;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center; align-items: center;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Dark mode modal styles */
body.dark .modal-content {
  background: #111;
  color: var(--dk-text);
}

/* ----------------------------------------------------
   PILLAR-CARD ALTERNATE (duplicate in original file — keep consistent)
---------------------------------------------------- */
.pillar-card {
  min-width: 260px;
  padding: 2rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);
  scroll-snap-align: start;
  font-weight: 700;
  text-align: center;
  color: var(--lt-accent-dark);
}
body.dark .pillar-card {
  background: rgba(0,0,0,0.45);
  color: var(--dk-text);
}

/* ----------------------------------------------------
   NEWSLETTER
---------------------------------------------------- */
.newsletter-form {
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  background: rgba(255,255,255,0.96);
  color: #111;
}
body.dark .newsletter-form button {
  background: linear-gradient(135deg, #00ff88, #00cc6e);
  color: #0a0a0a;
}


.newsletter-form button {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lt-accent-dark), #2a2a2a);
  color: white;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 26px rgba(0,0,0,0.28);
}


/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.footer {
  padding: 2.5rem;
  text-align: center;
  opacity: 0.85;
  font-size: 0.95rem;
  color: var(--lt-accent-dark);
}

/* ----------------------------------------------------
   PILLARS CAROUSEL — ENHANCEMENTS (glow, shadow)
---------------------------------------------------- */
.pillar-card {
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

/* Icons inside cards */
.pillar-icon {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

/* Soft gold glow in light mode (replaces green) */
.pillar-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  background: radial-gradient(
    circle,
    rgba(138, 253, 255, 0.22),
    transparent 60%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pillar-card:hover::before {
  opacity: 1;
}

/* Dark mode glow color tuned to lava */
body.dark .pillar-card::before {
  background: radial-gradient(
    circle,
    rgba(60,140,255,0.16),
    transparent 70%
  );
}

/* Mobile optimization */
@media (max-width: 600px) {
  .pillar-card {
    min-width: 180px;
    padding: 1.4rem;
    font-size: 0.95rem;
  }
  .pillar-icon {
    font-size: 2rem;
  }
}

/* ----------------------------------------------------
   DARK MODE — Procedural Lava Rock (Animated)
   Uses layered gradients + animated background-position to simulate molten veins.
   Toggle dark by applying class "dark" to body (keeps your existing theme toggle).
---------------------------------------------------- */
body.dark {
  color: var(--dk-text);
  /* base dark stone colors */
  background-color: var(--dk-base-1);

  /* Layering approach:
     1) soft smoky noise and small veins
     2) flowing lava ribbons (animated)
     3) lava hotspots (radial glowing pockets)
     4) coarse stone base gradients for depth
  */
  background-image:
    repeating-linear-gradient(165deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 3px),

    /* venom hotspots */
    radial-gradient(circle at 18% 22%, rgba(120,180,255,0.22), transparent 25%),
    radial-gradient(circle at 78% 64%, rgba(80,140,255,0.18), transparent 25%),


    /* glowing venom streaks */
    linear-gradient(120deg,
      transparent 0%,
      transparent 20%,
      rgba(60,140,255,0.06) 22%,
      rgba(80,170,255,0.10) 24%,
      transparent 28%,
      transparent 100%
    ),

    /* conic venom arcs */
    conic-gradient(from 200deg at 40% 50%,
      rgba(140,210,255,0.05),
      transparent 30deg,
      rgba(60,140,255,0.05) 60deg,
      transparent 120deg
    ),

    /* obsidian base */
    radial-gradient(circle at 50% 50%, #0a0d0d, #0e1212 40%, #121717 100%);


  background-blend-mode: overlay, screen, screen, screen, overlay, normal;
  background-size:
    1600px 1600px,   /* grain */
    900px 900px,     /* hotspots */
    1400px 1400px,   /* hotspots */
    800% 800%,       /* long lava ribbons (animated) */
    800% 800%,       /* conic ribbons (animated) */
    cover;

  /* subtle border to visually contain */
  border-top: 1px solid rgba(255,255,255,0.02);
  transition: background 0.6s ease, color 0.45s ease;
  overflow-x: hidden;
}

/* Animated lava flow — move the lava layers */
@keyframes lavaFlow {
  0% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }
  50% {
    background-position:
      10% 20%,
      50% 30%,
      30% 60%,
      40% 50%,
      60% 40%,
      0% 0%;
  }
  100% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }
}

/* Attach the animation to body.dark.
   This animates the layers' background-positions to create slow motion flow. */
body.dark {
  animation: none; /* keep body from animating layout */
  /* Apply animation only to the background layers by animating a pseudo-element */
}

/* Use a full-screen pseudo element to animate the lava layers */
body.dark::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(165deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 3px),
    radial-gradient(circle at 18% 22%, rgba(80,170,255,0.18), transparent 20%),
    radial-gradient(circle at 78% 64%, rgba(120,190,255,0.12), transparent 20%),

    linear-gradient(120deg,
      transparent 0%,
      transparent 20%,
      rgba(60,140,255,0.06) 22%,
      rgba(80,170,255,0.10) 24%,
      transparent 28%,
      transparent 100%
    ),

    conic-gradient(from 200deg at 40% 50%,
      rgba(140,210,255,0.05),
      transparent 30deg,
      rgba(60,140,255,0.05) 60deg,
      transparent 120deg
    ),

    radial-gradient(circle at 50% 50%, #0b0b0b, #060606 40%, #040404 100%);
}


/* small crack highlights using an animated pseudo-element for glowing veins */
body.dark::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    /* thin streaks across the surface */
    linear-gradient(100deg, rgba(255,120,40,0.06) 0%, rgba(255,80,20,0.06) 2%, transparent 6%),
    linear-gradient(110deg, rgba(255,200,120,0.03), transparent 10%);

  background-size: 600% 600%, 800% 800%;
  mix-blend-mode: screen;
  animation: veinDrift 34s linear infinite;
  opacity: 0.9;
}

@keyframes veinDrift {
  0% { background-position: 0% 0%, 0% 0%; }
  50% { background-position: 50% 60%, 30% 40%; }
  100% { background-position: 0% 0%, 0% 0%; }
}

/* header icon for dark mode */
body.dark .theme-toggle i {
  color: #fff !important;
}

/* ----------------------------------------------------
   PILLAR CARD hover tone — adjust for dark theme
---------------------------------------------------- */
body.dark .pillar-card {
  background: rgba(15,15,15,0.6);
  border: 1px solid rgba(60, 206, 255, 0.08);
  box-shadow:
    0 4px 14px rgba(40, 148, 255, 0.25),   /* soft lava ambient */
    0 10px 38px rgba(20, 204, 255, 0.18);   /* magma glow */
  color: var(--dk-text);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

body.dark .pillar-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 8px 24px rgba(60, 219, 255, 0.38),
    0 18px 48px rgba(20, 157, 255, 0.28),
    0 0 32px rgba(30, 161, 255, 0.32); /* subtle magma glow aura */
}

/* Optional: glowing pseudo for extra magma effect on hover */
/* Zeus lightning glow (dark mode) */
body.dark .pillar-card::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: radial-gradient(
    circle,
    rgba(140,210,255,0.28),
    rgba(80,170,255,0.18) 35%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
}


body.dark .pillar-card:hover::before {
  opacity: 1;
  animation: magmaPulse 3s ease-in-out infinite alternate;
}

@keyframes magmaPulse {
  0% { transform: scale(0.96); opacity: 0.4; }
  100% { transform: scale(1.06); opacity: 0.7; }
}


/* ----------------------------------------------------
   SMALL UI & ACCESSIBILITY TWEAKS (responsive)
---------------------------------------------------- */
@media (max-width: 600px) {
  .header { padding: 0.9rem 1.2rem; }
  .nav a { margin: 0 0.6rem; font-size: 0.95rem; }
  .hero h1 { font-size: 2.8rem; }
}

/* images */
section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* final small polish for smooth transitions */
* {
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

/* keep the original repeated pillar-card rules functional (no change to selector behavior) */



/*FOR SOCIAL MEDIA*/

.page-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: -8px;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.social-links a {
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--fg);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--highlight);
  border-color: var(--highlight);
  color: #272626;
}

.instagram-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
}

.instagram-feed {
  width: 100%;
  height: 800px;
  border: none;
}


.blog-placeholder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}

.bp-card {
  height: 160px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  opacity: 0.4;
}
.mission-page {
  text-align: left;
  max-width: 760px;
}

.mission-text p {
  margin-bottom: 22px;
  line-height: 1.7;
}

.mission-text h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.mission-bold {
  font-weight: 700;
  font-size: 1.25rem;
}

.hero-image {
  margin-top: 3rem;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  overflow: hidden; /* keeps rounded corners */
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


@media (max-width: 800px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    gap: .8rem;
  }

  #themeToggle {
    align-self: center;
  }
}

/* Right-side nav container */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* TSA Tag Button */
.tsa-tag {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.tsa-tag:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

/* Dark mode variant */
body.dark .tsa-tag {
  background: #000;
  color: #fff;
  border-color: #fff;
}

/* Header layout safety (if needed) */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo link should inherit everything from .logo */
.logo a {
  all: unset;
  cursor: pointer;
}

/* Optional: keep accessibility focus visible */
.logo a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


body.dark .subtle-muted { color: rgba(255,255,255,0.55); }
body.dark .hero-quote { color: rgba(255,255,255,0.6); }
body.dark .badge {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: var(--dk-text);
}
body.dark .bro-nudge-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--dk-text);
}
body.dark blockquote {
  background: rgba(255,255,255,0.08) !important;
  color: var(--dk-text);
}
body.dark .muted-small { color: rgba(255,255,255,0.6); }
body.dark .pill {
  background: rgba(255,255,255,0.12);
  color: var(--dk-text);
}
body.dark ol { color: rgba(255,255,255,0.75) !important; }
body.dark .page-subtitle { color: rgba(255,255,255,0.6); }
body.dark .signup-card { background: transparent; }
body.dark .newsletter-form input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--dk-text);
}
body.dark .newsletter-form input::placeholder {
  color: rgba(255,255,255,0.35);
}
body.dark label span { color: var(--dk-text); }
body.dark #closeNudgeSecondary {
  border-color: rgba(255,255,255,0.25) !important;
  color: var(--dk-text);
}
body.dark #nudgeModal input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--dk-text);
}
body.dark .footer { color: rgba(255,255,255,0.55); }
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease-in-out;
}


/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

.carousel-btn:hover {
  background: rgba(0,0,0,0.85);
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}
