/* ==========================================================================
   UYWAY Design System & Base Styles
   ========================================================================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Nunito+Sans:wght@400;600;800&display=swap');

:root {
  /* Color Palette */
  --color-primary: #FE6232;
  /* Orange */
  --color-secondary: #fcd632;
  /* Gold / Yellowish */
  --color-text: #4A4C50;
  /* Adjusted for better contrast (>= 5.6:1 on #F9F5F3) */
  --color-text-muted: #6E7076;
  /* Secondary Text */
  --color-bg: #F9F5F3;
  /* Plomo Base */
  --color-bg-gradient-start: #E6EEF0;
  /* Soft peaceful blue-gray gradient start */
  --color-white: #FFFFFF;
  --color-dark: #222831;
  --color-dark-element: #393E46;
  --color-dark-neon: #FD7014;
  --color-dark-text: #EEEEEE;

  /* Typography */
  --font-primary: 'Nunito Sans', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  /* Layout constraints */
  --header-height: 5.625rem;
  /* 90px */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  /* Smooth multi-stage gradient fading from top celeste, down to plomo (Part 2), and back to celeste (Part 3) */
  background: linear-gradient(to bottom, #C4DEE2 0%, #E5EFF1 20%, #F9F5F3 45%, #D4E6EA 75%, var(--color-bg) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography elements */
h1,
h2,
h3 {
  font-family: var(--font-secondary);
  font-weight: 800;
  line-height: 1.2;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
  height: var(--header-height);
  padding: 0.5rem 1.5rem;
  position: relative;
  z-index: 100;
  background: transparent;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.75rem;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
  overflow: visible;
  /* Ensure dropdown menus overflow freely */
}

/* Pseudo-element background panel holding the clip-path cutout notch */
.nav-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.25rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(110, 112, 118, 0.2);
  z-index: 1;
  pointer-events: none;
  /* Smooth camera notch cutout in center framing the logo */
  clip-path: polygon(0 0,
      calc(50% - 8.5rem) 0,
      calc(50% - 6.5rem) 100%,
      calc(50% + 6.5rem) 100%,
      calc(50% + 8.5rem) 0,
      100% 0,
      100% 100%,
      0 100%);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.nav-notch-spacer {
  width: 17rem;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.nav-right-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  /* 15px */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  padding: 0.5rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Dropdown styling - Floating seamlessly above content */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  padding: 0.75rem 0;
  min-width: 12.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  /* High z-index so dropdown is fully visible on top */
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.dropdown-item a:hover {
  background-color: rgba(254, 98, 50, 0.05);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Logo in header - Positioned absolute to lay over the notch cutout */
.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 105;
}

.logo-img {
  height: 2.8125rem;
  /* 45px */
  object-fit: contain;
}

/* Auth Buttons */
.auth-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-login {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-white);
  background-color: var(--color-dark);
  padding: 0.625rem 1.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: var(--color-primary);
}

.btn-signup {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  /* smaller as per request */
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.btn-signup:hover {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text);
}

/* ==========================================================================
   Hero Section (Part 1)
   ========================================================================== */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
  min-height: calc(100vh - var(--header-height) - 3rem);
  padding: 1rem 3.125rem;
  text-align: center;
  box-sizing: border-box;
}

/* Hero Center Content (Top half) */
.hero-header-content {
  max-width: 56.25rem;
  /* 900px */
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: smokeFadeIn 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.6s;
  z-index: 10;
}

.hero-title {
  font-size: 2.75rem;
  color: #1E2022;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-hero {
  font-family: var(--font-secondary);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  cursor: pointer;
}

.btn-hero-primary {
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 98, 50, 0.2);
}

.btn-hero-secondary {
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
  background-color: var(--color-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Hero Main Grid (Middle half) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 90rem;
  margin: 1rem 0 2rem 0;
  gap: 2rem;
  position: relative;
  z-index: 5;
}

/* Left Column: Recent Users */
.hero-left-col {
  text-align: left;
  padding-bottom: 0;
  opacity: 0;
  animation: smokeFadeIn 1.8s ease forwards;
  animation-delay: 0.9s;
}

.user-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-right: -0.75rem;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-img:last-of-type {
  margin-right: 0;
}

.user-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 15.625rem;
}

/* Center Column: Big Animal Image */
.hero-center-col {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.hero-main-img {
  width: 100%;
  max-width: 50rem;
  /* ~800px on large displays */
  max-height: 48vh;
  /* Proportionate to viewport height */
  height: auto;
  object-fit: contain;
  /* Animation behavior */
  transform: translateY(-80px) scale(0.95);
  opacity: 0;
  animation: slideDownHeroImage 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Right Column: YouTube Video */
.hero-right-col {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0;
  opacity: 0;
  animation: smokeFadeIn 1.8s ease forwards;
  animation-delay: 0.9s;
}

.video-card {
  position: relative;
  width: 100%;
  max-width: 16.25rem;
  /* 260px */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.video-card:hover .youtube-play-btn {
  background-color: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
  background-color: var(--color-dark);
  color: var(--color-dark-text);
  padding: 4rem 3.125rem 2rem 3.125rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 90rem;
  margin: 0 auto;
  gap: 3rem;
}

.footer-logo-side {
  flex: 1;
  min-width: 15.625rem;
}

.footer-logo-img {
  height: 3.75rem;
  /* 60px */
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #A0A5B0;
  max-width: 18.75rem;
  line-height: 1.6;
}

.footer-links-side {
  display: flex;
  flex: 3;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-column {
  min-width: 10.9375rem;
}

.footer-col-title {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  font-size: 0.875rem;
  color: #A0A5B0;
  transition: all 0.2s ease;
}

.footer-list a:hover {
  color: var(--color-dark-neon);
  padding-left: 0.25rem;
}

.footer-bottom {
  max-width: 90rem;
  margin: 3rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Index Part 2 Section (White Card Block with Floating ADOPTA Text)
   ========================================================================== */
.index-part2-section {
  position: relative;
  background-color: var(--color-white);
  border-radius: 2.25rem;
  padding: 4.5rem 3.5rem;
  margin: 4rem auto;
  max-width: 90rem;
  width: calc(100% - 2.5rem);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.bg-watermark-text {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: rgba(254, 98, 50, 0.08);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

.part2-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.part2-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.part2-col-left {
  justify-content: flex-start;
}

.part2-col-right {
  justify-content: flex-end;
}

.part2-col-center {
  justify-content: center;
  align-items: center;
}

.part2-img-box {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.part2-img-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.part2-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.part2-img-box-center {
  border-radius: 1.75rem;
}

.part2-img-center {
  height: 28rem;
  object-fit: cover;
}

.part2-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ==========================================================================
   Index Part 3 Section (Perros vs Gatos Cards)
   ========================================================================== */
.index-part3-section {
  position: relative;
  background-color: var(--color-white);
  border-radius: 2.25rem;
  padding: 4.5rem 3.5rem;
  margin: 4rem auto;
  max-width: 90rem;
  width: calc(100% - 2.5rem);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.part3-header-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.part3-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78125rem;
  /* 12.5px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.75rem;
}

.part3-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
}

.part3-header-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.part3-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.part3-card {
  position: relative;
  height: 34rem;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.part3-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.part3-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.part3-card:hover .part3-card-img {
  transform: scale(1.04);
}

.part3-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0.25) 100%);
  z-index: 2;
}

.part3-card-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  z-index: 5;
}

.part3-card-content {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.part3-card-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.part3-card-title .highlight-sub {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.part3-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.part3-card-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateX(5px);
}

/* ==========================================================================
   Index Part 4 Section (Full-Width Featured Product Carousel)
   ========================================================================== */
.index-part4-section {
  position: relative;
  background-color: #F6F4ED;
  /* Elegant off-white cream container matching mockup */
  border-radius: 2.25rem;
  padding: 3.5rem 2rem 2rem 2rem;
  margin: 4rem auto 5rem auto;
  max-width: 90rem;
  width: calc(100% - 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Stationary Header inside Cream Card Block */
.part4-fixed-header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 10;
}

.part4-fixed-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.part4-fixed-subtitle {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 400;
}

.part4-carousel-container {
  position: relative;
  width: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 1.75rem;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  background-color: #F8F6F0;
}

.slide-container {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  padding: 2rem 2.5rem;
  min-height: 32rem;
  /* Compact laptop height */
  box-sizing: border-box;
}

/* Left Column Styling */
.slide-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 25rem;
}

.avatar-group-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.avatar-dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #C2B3A3;
  border: 2px solid #F8F6F0;
  display: inline-block;
}

.arrow-badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #EFECE6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-dark);
}

.rating-score {
  font-family: var(--font-secondary);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1;
}

.rating-score .star {
  color: #FCD632;
  font-size: 1.35rem;
}

.rating-subtext {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  max-width: 14rem;
}

.slide-quality-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.curved-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.curved-text {
  font-family: var(--font-secondary);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

.quality-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 15rem;
}

.slide-social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.social-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #EFECE6;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Center Hero Photo */
.slide-center-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-cat-img {
  max-height: 28rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Right Column Styling */
.slide-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 25rem;
  align-items: flex-end;
  text-align: right;
}

.slide-headline {
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Product Purchase Card (Playful 3D Pop-Out Card Effect) */
.slide-product-card {
  position: relative;
  background: var(--color-white);
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  width: 14.5rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  align-items: center;
  box-sizing: border-box;
  margin-top: 4.5rem;
  /* Space reserved above for the protruding image */
  overflow: visible;
  /* Allows image to pop out of the top of the card */
}

.product-thumb-box {
  width: 100%;
  position: relative;
  margin-top: -4.5rem;
  /* Pop image upwards out of the white box */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.product-thumb-img {
  max-height: 8.5rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.14));
  transition: transform 0.4s ease;
}

.slide-product-card:hover .product-thumb-img {
  transform: translateY(-6px) scale(1.06);
}

.product-card-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.product-card-price {
  font-family: var(--font-secondary);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0.2rem 0 0.4rem 0;
}

.product-add-btn {
  width: calc(100% + 0.5rem);
  padding: 0.75rem 1rem;
  background-color: #FCD632;
  color: #1E2022;
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  border-radius: 1.75rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(252, 214, 50, 0.4);
  margin-bottom: -0.5rem;
  /* Protrude slightly out the bottom of the card */
  z-index: 5;
}

.product-add-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(254, 98, 50, 0.4);
}

/* Arrow controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-dark);
  font-size: 1.75rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.prev-arrow {
  left: 1.5rem;
}

.next-arrow {
  right: 1.5rem;
}

/* Dots Pagination */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: var(--color-primary);
  width: 1.75rem;
  border-radius: 1rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideDownHeroImage {
  0% {
    transform: translateY(-120px) scale(0.95);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes smokeFadeIn {
  0% {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(20px) scale(0.95);
  }

  50% {
    opacity: 0.4;
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 80rem) {

  /* 1280px */
  .main-header {
    padding: 0.5rem 1rem;
  }

  .nav-container {
    clip-path: polygon(0 0,
        calc(50% - 6.5rem) 0,
        calc(50% - 4.8rem) 100%,
        calc(50% + 4.8rem) 100%,
        calc(50% + 6.5rem) 0,
        100% 0,
        100% 100%,
        0 100%);
    padding: 0 1rem;
  }

  .nav-notch-spacer {
    width: 13rem;
  }

  .nav-list,
  .nav-right-wrapper {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.78125rem;
    /* 12.5px */
  }

  .btn-login {
    padding: 0.45rem 0.85rem;
    font-size: 0.78125rem;
  }
}

@media (max-width: 64rem) {

  /* 1024px */
  .main-header {
    padding: 0 1.5rem;
  }

  .hero-section {
    padding: 2rem 1.5rem 0 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero-center-col {
    grid-column: span 2;
    order: -1;
  }

  .hero-left-col,
  .hero-right-col {
    padding-bottom: 2rem;
  }

  .slide-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    min-height: auto;
  }

  .slide-left-col,
  .slide-right-col {
    align-items: center;
    text-align: center;
    min-height: auto;
  }

  .hero-cat-img {
    max-height: 20rem;
  }
}

@media (max-width: 48rem) {

  /* 768px */
  /* Mobile navigation overlay/drawer can be triggered via JS */
  .nav-list,
  .auth-nav {
    display: none;
    /* simple hidden for mobile, can toggle with menu-open class */
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-center-col {
    grid-column: span 1;
  }

  .hero-left-col,
  .hero-right-col {
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

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