/* =========================
   NAV COMPONENTS
========================= */

/* Nav groups */
.nav-group {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute; /* allows left/right edges to stick */
  top: 50%;
  transform: translateY(-50%);
}

/* Left links touch left edge */
.nav-left {
  left: 0;
  padding-left: 1rem; /* small spacing from screen edge */
}

/* Right links touch right edge */
.nav-right {
  right: 0;
  padding-right: 1rem;
}

/* Logo stays centered */
.nav-logo {
  position: relative; /* normal flow */
  z-index: 1; /* ensures it’s above left/right links if overlapping */
}

.nav-logo img {
  height: 40px;
  display: block;
}

/* Links */
.nav-group a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.nav-group a:hover {
  color: var(--color-primary);

}

/* Hamburger button */
.nav-toggle {
  display: none; /* hidden by default on desktop */
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
}

.top-shroud {
  /* 1. Dimensions */
  width: 100%;
  height: 64px;
  background-color: #000;

  /* 2. Positioning */
  position: absolute;
  top: 0;
  left: 0;

  /* 3. Layering */
  /* Ensure this is higher than your nav's z-index */
  /* z-index: 1000;  */

  /* 4. Accessibility/Interaction */
  /* This allows you to still click links "under" the black bar */
  pointer-events: none; 

}

/* =========================
   NAV MOBILE STYLES
========================= */
@media (max-width: 768px) {
  /* Hide original nav groups initially */
  .nav-left,
  .nav-right {
    display: none;
  }

  /* Mobile menu wrapper */
  .nav-mobile {
    list-style-type: none;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    padding: var(--space);
    padding-top:64px;
    gap: var(--space);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  /* Show menu when nav is open */
  .nav.nav-open .nav-mobile {
    display: flex;
  }

  /* Hamburger button visible */
  .nav-toggle {
    display: block;
    position: fixed;        /* ← CHANGED: fixed to viewport */
    top: 16px;              /* distance from top of screen */
    right: 16px;            /* distance from right edge of screen */
    z-index: 1100;
    background: none;
    color: var(--color-text);
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
  }

  /* Logo left-aligned */
  .nav-logo {
    margin-left: 0;
    z-index: 1050;
  }

  /* Links inside mobile menu */
  .nav-mobile a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .nav-mobile a:hover {
    color: var(--color-primary);
  
  }
}

/* DESKTOP: force mobile menu hidden */
@media (min-width: 769px) {
  .nav-mobile {
    display: none !important;
  }
}

/* =========================
   HERO IMAGE
========================= */

.hero-wrapper {
  position: relative;
  width: 100vw;
  height: 80svh;          /* 80% of viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Hero image */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /* height: 100%; */
  height: calc(60svh + 64px);
  min-height: 400px;

  object-fit: cover;

  /* Clip bottom 20% so main peeks through */
  /* clip-path: inset(0 0 20vh 0); */
  z-index: -1;
}

/* Content overlay */
.hero-content {
  position: relative;
  z-index: 1;
  color: #eeeeee;
  padding: 0 16px;
}

/* =========================
   HERO PARALAX
========================= */

.hero {
  position: fixed;
  inset: 0;              /* top:0 right:0 bottom:0 left:0 */
  height: 100svh;        /* better than 100vh on mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  z-index: -1;           /* sits behind main */
}

/* Main scrolls over it */
main {
  position: relative;
  /* margin-top: 60svh;    */
  /* pushes content below hero */
  background: var(--color-bg);
  /* min-height: 200vh;      */
  /* just for demo scrolling */
}

/* =========================
   BUTTONS / COMPONENTS
========================= */
.button {
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: white;
  border-radius: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.button--secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid currentColor;
}

/* =========================
   GHOST CTA BUTTON
========================= */

.button-ghost {
  display: inline-block;
  text-transform: uppercase;
  padding: calc(0.4rem) 1.6rem calc(0.4rem - 1px);
  letter-spacing: 0.02em; 
  font-size: clamp(0.82rem, 1.5vw, 0.9rem);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-ghost:hover,
.button-ghost:focus {
  background: var(--color-accent);
  color: var(--color-bg);
  /* transform: translateY(-2px); */
}

.button-ghost:active {
  /* transform: translateY(0); */
  opacity: 0.9;
}



/* =========================
   SMALL CENTERED CARD COMPONENT
========================= */

.card {
  width: 100svw;
  max-width: 800px;
  margin: 2rem auto;         /* center horizontally with vertical spacing */
  /* padding: 1.5rem; */
  /* background: var(--color-bg); */
  border-radius: 1rem;
  text-align: center;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}

/* Header with icon */
.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;               /* spacing between icon and text */
  /* font-size: 1.5rem; */
  /* margin-bottom: 1rem; */
}

.card-icon {
  width: 1.5em;              /* size relative to text */
  height: 1.5em;
}

/* Body text */
.card-body {
  /* font-size: 1rem; */
  /* line-height: 1.5; */
  /* text-align: left; */

  color: var(--color-text);
}

@media (max-width: 768px) {
  .card {
    max-width: 90vw; /* almost full width on mobile */
  }
}



/* =========================
   ROTATING COLOUR
========================= */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.element {
  position: relative;
  /* height: 400px;
  width: 400px; */
  /* background: var(--color-bg); */
  border-radius: 1rem;
}

.element::before {
  content: "";
  position: absolute;
  inset: -4px; /* border thickness */
  border-radius: inherit;

  background: conic-gradient(
    from var(--angle),
    var(--color-primary),
    var(--color-accent),
    var(--color-primary)
  );

  z-index: -1;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    --angle:0deg;
}
to {
  --angle: 360deg;
  }
}

/* =========================
   BOTTOM GRADIENT
========================= */
/* Bottom gradient overlay */
.bottom-gradient {
  position: fixed;          /* stays at bottom of viewport */
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 15vh;             /* 10% of viewport height */
  pointer-events: none;     /* non-clickable */
  z-index: -1;              /* behind content */
  
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,      /* transparent top */
    var(--color-primary) 100%            /* default primary color */
  );

  opacity: 0;               /* initially hidden */
  transition: opacity 1s ease-in-out, height 0.5s cubic-bezier(0.25, 1.5, 0.5, 1);
}

#hero-gradient-container {
  position: absolute;
  top: calc(60svh);
}

#hero-gradient {
  position:absolute ;
  /* bottom: 0; */
  height: 30vh;             /* 10% of viewport height */
  max-width: 100vw;
  width: 100vw;
  opacity: 1!important;  
  min-height: 10vh; 
  transform: translateY(64px);
}



/* =========================
   FADE IN
========================= */
.fade-in {
  opacity: 0;
  /* transform: translateY(20px); */
  transition: opacity 1.6s ease-in, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  /* transform: translateY(0); */
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    /* transform: none; */
    transition: none;
  }
}

/* =========================
   SECTION DIVIDER
========================= */
.section-divider {
  border: none;
  height: 1px;
  width: 0;
  margin: 2rem auto;

  background-color: var(--color-text);
  opacity: 0.3;

  transition:
    width 1.4s ease-in-out  0.1s,
    opacity 0.8s ease-out 0.1s;
}

.section-divider.visible {
  width: 100%;
  opacity: 0.8;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .section-divider {
    width: 100%;
    opacity: 0.8;
    transition: none;
  }
}

/* =========================
   SLIDER ITEMS
========================= */
.product{
  flex: 0 0 clamp(300px, 33vw, 400px);
}

/* =========================
   HOVER CARD
========================= */
.hover-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.hover-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay */
.hover-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;

  background: linear-gradient(
    to top,
    rgba(255, 20, 147, 1) 0%,
    rgba(255, 20, 147, 0.0) 30%,
    rgba(255, 20, 147, 0.0) 100%
  );

  opacity: 0; /* start invisible */
  transform: translateY(100%);
  transition: 
  transform 0.1s ease,
  opacity 1s cubic-bezier(0.2, 0, 0.2, 1);

}

/* Content */
.hover-card__content {
  margin: 1rem;
  /* color: white; */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s,
              transform 0.4s ease 0.2s;
}

.hover-card__btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: white;
  color: hotpink;
  text-decoration: none;
  font-weight: bold;
  border-radius: 1rem;
}

/* Hover */
.hover-card:hover img {
  transform: scale(1.05);
}

.hover-card:hover .hover-card__overlay {
  transform: translateY(0);
  opacity: 1; /* fades from 0 → 1 */
}

.hover-card:hover .hover-card__content {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: Always visible */
/* @media (max-width: 768px) {
  .hover-card__overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .hover-card__content {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* =========================
   YOUTUBE WRAPPERS
========================= */
.shorts-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px; /* optional */
  aspect-ratio: 9 / 16; /* vertical */
}

.shorts-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
}

.youtube-wrapper {
  position: relative;
  width: clamp(40vw, 100%, 100vw);
  aspect-ratio: 16 / 9; /* standard video aspect ratio */
  overflow: hidden;
  border-radius: 1rem; /* optional rounded corners */
  background: #000; /* fallback while loading */
  max-width: 100%;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   STICKY PANELS
========================= */

  /* Add some spacing so we can scroll to the element */
  .sticky-panels_spacer {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  /* Component Container */
  .c-sticky-panels {
    position: relative;
    padding: 5vh 0;
  }

  .c-sticky-panels_wrap {
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 0 20px; */
  }

  /* Individual Sticky Panels */
  .c-sticky-panels_item {
    position: sticky;
    /* Uses CSS variables to offset the top position for a stacked effect */
    top: calc(8vh + (var(--panels-index) * 20px)); 
    height: 70vh;
    margin-bottom: 20vh; /* Space between panels while scrolling */
    background: var(--color-bg);
    border-radius: 0.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 -15px 30px rgba(0,0,0,0.3); */
    transition: transform 0.3s ease;
  }

  /* Video Link Wrapper */
  .c-sticky-panels_link {
    flex-grow: 1;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .c-sticky-panels_asset {
    width: 100%;
    height: 100%;
  }

  .c-asset_element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Let clicks pass through to the link */
  }

  /* Title area */
  .c-sticky-panels_title {
    padding: 1rem 0 2rem;
    text-align: center;
    background-color: var(--color-bg);
  }

  .c-sticky-panels_title * {
    margin: 0;
  }

  .c-sticky-panels_title a {
    text-decoration: none;
    text-transform: uppercase;
    /* letter-spacing: 0.05em; */
    /* font-size: 14px; */
    /* transition: color 0.3s ease; */
  }

  /* .c-sticky-panels_title a:hover {
    color: #999;
  } */


/* =========================
   GET IN TOUCH EMAIL FORM
========================= */
/* Layout & Spacing */
.get-in-touch {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Header & Socials */
.form-header {
  margin-bottom: 40px;
}

.social-icons {
  display: inline-flex;
  gap: 15px;
  background: #000; /* Matching the black box in image */
  padding: 10px 20px;
  margin-bottom: 15px;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #00ff88; /* Matching the neon green icons */
}

.email-display {
  margin: 10px 0;
  /* font-size: 1rem; */
}

/* Form Layout */
.contact-form {
  text-align: left; /* Inputs stay left-aligned while container is centered */
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.2rem;
}

/* .form-group:not(:last-child) {
  margin-bottom: 20px;
} */

/* Input Fields */
input, textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Submit Button Layout */
.form-footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-send {
  cursor: pointer;
  padding: 10px 40px;
  border: 2px solid #00ff00; /* Matching the green outline */
  background: transparent;
  color: #00ff00;
  border-radius: 50px; /* Pill shape */
  font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* =========================
   MARQUEE
========================= */
.marquee {
  width: 100%;
  overflow: hidden; /* Hides the text as it leaves the screen */
  /* background: #111; */
  /* margin: 1rem 0; */
  white-space: nowrap;
  /* border-top: 1px solid #333;
  border-bottom: 1px solid #333; */
}

.marquee_track {
  display: flex;
  width: max-content; /* Ensures the track is as wide as the text */
  animation: scroll-left 50s linear infinite;
}

.marquee_content {
  display: flex;
  flex-shrink: 0;
}

.marquee_content > span {
  display: inline-block;
  padding: 0.2rem 0.8rem 0.2rem 0.6rem; /* Space between repeats */
  /* color: white; */
  /* font-family: sans-serif; */
  /* font-size: 1.5rem; */
  /* font-weight: bold; */
  border: 2px solid color-mix(in srgb, var(--color-primary), transparent 50%);
    border-radius: 2rem;
    margin-right: var(--space);
    margin-left: 0;
}
.marquee_content > span > span {
 padding:0;
 margin:0 0.1rem 0 0;
}

/* The Animation */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.tags{
  padding: 0.2rem 0.8rem 0.2rem 0.6rem; /* Space between repeats */

border: 2px solid color-mix(in srgb, var(--color-primary), transparent 50%);
border-radius: 2rem;
margin-right: var(--space);
margin-left: 0;

margin:0.2rem 0.1rem;
}

/* =========================
   LINK BAR
========================= */
.link-row {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  max-width: 1200px;
  list-style: none;
  padding: 0 var(--space);
  margin: 0;
  
  /* This ensures the first item is left, last is right, and middle are even */
  justify-content: space-between;
  
  /* Space between items when they are on the same row */
  gap: 0;
}

.link-row li {
  /* Allows the items to grow to fill space when they wrap */
  flex: 1 1 120px; 
  display: flex;
}

.link-item {
  width: 100%;
  text-decoration: none;
  color: #fff;
  /* padding: 10px 0; */
  
  /* Default: center the text within its flex container */
  text-align: center;
}

/* Rule 1: First item always justifies its text to the left */
.link-row li:first-child .link-item {
  text-align: left;
}

/* Rule 2: Last item always justifies its text to the right */
.link-row li:last-child .link-item {
  text-align: right;
}

/* Rule 3: If an item wraps and becomes the ONLY item on its row, center it */
/* Note: This is a design preference. In standard flex-wrap, 
   the 'left' and 'right' rules above will still apply unless 
   you use a media query for mobile stacking. */

@media (max-width: 600px) {
  .link-item {
    text-align: center !important;
  }
}

/* =========================
   COLOUR WAVE SVG
========================= */
.waving-icon {
  width: 100%;
  height: auto;
}
.waving-icon path, .waving-icon circle, .waving-icon rect {
  /* Ensure child elements have no local fills */
  fill: url(#waveGradient);
}

@keyframes slow-wave {
  0% { transform: translate(-100%, -100%); }
  100% { transform: translate(100%, 100%); }
}

#waveGradient {
  /* You can animate the gradient transform via CSS in most modern browsers */
  animation: slow-wave 4s linear infinite;
}

/* =========================
   COLOUR WAVE TEXT
========================= */
.pink-wave-text {
  /* 1. Force the clip to the text and remove the 'box' look */
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;

  /* 2. The Mirrored Gradient for zero hard edges */
  background-image: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-primary) 25%,
    var(--color-text) 50%,
    var(--color-primary) 75%,
    var(--color-text) 100%
  );

  /* 3. Sizing and Animation */
  background-size: 200% 200%;
  display: inline-block; /* Essential for clipping to work on some browsers */
  animation: seamless-pink-wave 6s linear infinite;
  
  /* 4. Reset any inherited background colors that might cause 'boxes' */
  background-color: transparent;
}

@keyframes seamless-pink-wave {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}


/* logo Pink Wave svg */

/* 1. Target the paths inside your SVG */
.svg-glow path, .svg-glow circle  {
  fill: var(--color-text);
  transition: fill 0.5s ease-in-out;
}

/* 2. Create the periodic animation on the whole SVG */
.svg-glow {
  height: 40px;
  padding-top: 6px;
  animation: magicPulse 6s ease-in-out infinite;
}

@keyframes magicPulse {
  0%, 60%, 100% {
    /* Return to default text color */
    filter: drop-shadow(0 0 0px transparent);
  }
  30% {
    /* Glow effect using your primary color */
    filter: drop-shadow(0 0 5px var(--color-primary)) 
            drop-shadow(0 0 15px var(--color-primary));
  }
}

/* 3. Sync the fill color change with the glow */
.svg-glow path {
  animation: colorShift 6s ease-in-out infinite;
}

/* @keyframes colorShift {
  0%, 60%, 100% { fill: var(--color-text); }
  30% { fill: var(--color-primary); }
} */

.svg-glow:hover path, .svg-glow:hover circle {
  fill: var(--color-primary);
}


/* =========================
   IMAGE DROPDOWN
========================= */
.image-dropdown {
  max-width: 100vw;
  margin: 1rem 0;
}

/* 1. Style the 'Link' */
.image-dropdown summary {
  list-style: none; /* Hides the default arrow in most browsers */
  /* color: var(--color-primary); */
  text-decoration: underline;
  cursor: pointer;
  /* font-weight: bold; */
  transition: color 0.2s;
  text-transform: uppercase;
}

.image-dropdown summary::-webkit-details-marker {
  display: none; /* Hides the arrow in Safari */
}

.image-dropdown summary:hover {
  color: var(--color-primary);
}

/* 2. Style the revealed content */
.image-dropdown .content {
  margin-top: 1rem;
  padding: 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  /* Basic entrance animation */
  animation: slideDown 0.3s ease-out;
}

.image-dropdown img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.image-dropdown summary::after {
  content: ' More';
  /* font-size: 0.8em; */
}

.image-dropdown[open] summary::after {
  content: ' Less';
}

/* =========================
   HIDE SCROLLBAR
========================= */ 

/* 1. For Chrome, Safari, and Edge (Webkit) */
::-webkit-scrollbar {
  width: 0px;       /* Remove width for vertical bars */
  height: 0px;      /* Remove height for horizontal bars */
  background: transparent; /* Ensure no background renders */
}

/* 2. For Firefox */
html {
  scrollbar-width: none; /* Official standard to hide scrollbars */
}

/* 3. For Internet Explorer and Legacy Edge */
body {
  -ms-overflow-style: none;
}

/* 4. Prevent Layout Jumps */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip; /* Prevent accidental horizontal wiggle */
  /* Ensure the content uses the full window width without reserved gutters */
  scrollbar-gutter: auto; 
}


/* =========================
   GALLERY SLIDER
========================= */ 
.gallery-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  position: relative;
}

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  padding-top: 0.2em;
  border-radius: 50%;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 20px;
  transition: 0.4s ease;

}

.ctrl-btn svg {
  fill: var(--color-bg);

}

.ctrl-btn:hover {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);

}


.modal-btn {
  /* width: 50px; */
  /* height: 50px; */
  padding: 0.4rem 1rem;
  text-decoration: underline;
  text-transform: uppercase;
  color: var(--color-text);
  /* border-radius: 99px; */
  border: none;
  background: none;
  cursor: pointer;
  /* font-size: 20px; */
  transition: 0.4s ease;
}

.modal-btn:hover {
  color: var(--color-primary);

}

.gallery-track {
  display: flex;
  gap: var(--space);
  overflow-x: auto; /* ENABLES TOUCH SWIPE NATIVELY */
  scroll-behavior: smooth; /* MAKES BUTTONS SLIDE SMOOTHLY */
  padding-bottom: 20px;
  
  /* Snap effect for mobile */
  scroll-snap-type: x mandatory;
  
  /* Hide scrollbar */
  scrollbar-width: none;

  align-items: start;
  height: 100%;

}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.item {
  flex: 0 0 80%; /* Shows 80% of the next card on mobile */
  scroll-snap-align: start;
  /* height: 100%; */
  background: #222;
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-size: 3rem; */
  padding: 1rem;
}



/* Desktop sizing */
@media (min-width: 500px) {
  .item {
      flex: 0 0 300px;
  }
}


/* =========================
   MODAL
========================= */ 
/* The background dim */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999; /* Higher than your 64px nav bar */
    align-items: center;
    justify-content: center;
}

/* When active, show the modal */
.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    /* max-width: 90%; */
    /* max-height: 80%; */
    width: clamp(200px, 98svw, 1200px);
    height: clamp(200px, 60vh, 80svh);
  /* color: var(--color-bg); */
    /* background: white; */
    padding: 10px;
    border-radius: 12px;

}

.modal-img {
  width: 100%;
  height: 100%;
  /* This is the key line */
  object-fit: contain; 

  /* Ensures it doesn't get pixelated if the image is small */
  object-position: center;
    /* display: block; */
    border-radius: 1rem;

}

.close-x {
    position: absolute;
    top: 0.5rem;
    right: -0;
    width: 45px;
    height: 45px;
    padding-bottom: 1px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}


/* =========================
   pink hr
========================= */ 
.hr-pink{
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 50%);
}

/* =========================
   LIGHTBOX
========================= */ 
/* Lightbox Background */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none; /* Hidden until clicked */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* Container for the Video */
.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}

/* Maintain 16:9 Aspect Ratio */
.video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}


button.primary {
  font-family: var(--font-body);
  background-color: var(--color-accent);
  padding: 0.61rem 1.1rem 0.6rem 0.8rem;
  border-radius: 999px;
  border: none;
  /* color: #fff; */
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1rem);
  text-transform: uppercase;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button.primary:hover {
  background-color: var(--color-accent);
  transform: scale(1.04);
}

button.primary:active {
  transform: scale(0.95);
}

.heropopover {
  position: absolute;
  top: 59.8svh;
  /* margin-left: var(--space); */
}

.icon-button {
  display: inline-flex; /* Keeps it on one line with text */
  align-items: center;  /* Vertically centers everything in the row */
  gap: 0.5rem;          /* Space between icon and text */
  
  /* Reset button styles */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-bg);
}

.play-icon {
  width: 2rem;
  height: 2rem;
  /* Ensures the SVG doesn't shrink if the text is long */
  flex-shrink: 0; 
  /* Inherits color from the button's color property */
  fill: currentColor; 
}