/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

@font-face {
  font-family: 'Hello Paris';
  src: url('../assets/fonts/Hello Paris-Font/Hello Paris Sans Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Batangas';
  src: url('../assets/fonts/batangas-font-family-fontmirror/Batangas Bold 700.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lovelo';
  src: url('../assets/fonts/lovelo/Lovelo-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* Theme */
:root {
  --blue-900: #1545D8;
  --blue-800: #1E55F0;
  --blue-600: #2E6CF5;
  --blue-400: #5C8CFF;
  --blue-200: #B3C6FF;
  --blue-100: #E6EEFF;
  --blue-50: #F5F8FF;
  --yellow-600: #D89200;
  --yellow-500: #FFC107;
  --yellow-400: #FFD54F;
  --yellow-300: #FFE082;
  --yellow-200: #FFECB3;
  --yellow-100: #FFF8E1;
  --yellow-50: #FFFEF7;
  --text-900: #0F172A;
  --text-700: #334155;
  --text-500: #64748B;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --ring: rgba(21, 69, 216, 0.35);
  --radius: 24px;
  --shadow: 0 10px 30px rgba(21, 69, 216, 0.08);
  --shadow-yellow: 0 10px 30px rgba(255, 193, 7, 0.15);
  --container: 1160px;

  /* Font tokens */
  --font-logo: 'Hello Paris', 'Poppins', sans-serif;
  --font-subheading: 'Batangas', 'Poppins', sans-serif;
  --font-display: 'Lovelo', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* Reset and Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-900);
  background-color: var(--yellow-50);
  line-height: 1.6;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--yellow-500);
  color: #000;
  border-radius: 8px;
  z-index: 100;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--yellow-200);
  box-shadow: 0 5px 10px rgba(24, 30, 50, 0.1);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3em;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-900);
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-logo);
}

.logo-mark {
  font-size: 40px;
}

.site-nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-700);
  transition: all 0.2s ease;
  font-weight: 600;
}

.site-nav a:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

.site-nav a.active {
  background: var(--blue-600);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--blue-900);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    padding: 14px;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background-color: var(--yellow-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 800px;
  position: relative;
}

.hero-cookie {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.hero-cookie-left {
  width: 750px;
  left: -450px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.hero-cookie-right {
  width: 520px;
  right: -370px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 90px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--blue-900);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.hero .lead {
  font-size: 18px;
  color: var(--text-700);
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 700;
  font-size: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-800);
  box-shadow: 0 10px 20px rgba(21, 69, 216, 0.2);
}

.btn-secondary {
  background: var(--yellow-500);
  color: #000;
}

.btn-secondary:hover {
  background: var(--yellow-600);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.btn-ghost {
  border-color: var(--blue-200);
  color: var(--blue-900);
}

.btn-ghost:hover {
  background: var(--blue-100);
  border-color: var(--blue-600);
}

/* Sections */
.section {
  padding: 36px 0 50px 0;
}

.section-alt {
  background-color: var(--yellow-50);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: var(--font-subheading);
  font-size: 48px;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-500);
}

/* Cards */
.card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: all 0.3s ease;
  overflow: hidden;
  border-color: var(--blue-200);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.12);
  border-color: var(--yellow-400);
  background: var(--yellow-100);
}

/* Product Tiles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-tile {
  padding: 0;
  text-align: center;
}

.tile-media {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.tile-content {
  padding: 24px;
}

.tile-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-900);
}

.tile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-700);
  font-weight: 600;
}

.tile-meta .price {
  font-weight: 700;
  color: var(--blue-900);
  font-size: 20px;
}

.tile-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-blue {
  background: var(--blue-600);
  color: #fff;
}

.badge-yellow {
  background: var(--yellow-500);
  color: #000;
}

.badge-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--yellow-500) 100%);
  color: #fff;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Reviews */
#reviews .slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 16px);
  gap: 24px;
}

.card.review {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
  text-align: left;
}

.review blockquote {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 16px;
}

.review figcaption {
  color: var(--blue-900);
  font-weight: 700;
}

/* Slider */
.slider {
  position: relative;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

.slider-track > * {
  scroll-snap-align: start;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-track::-webkit-scrollbar {
  height: 8px;
}

.slider-track::-webkit-scrollbar-thumb {
  background: rgba(13, 71, 161, 0.25);
  border-radius: 999px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue-200);
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--blue-100);
  border-color: var(--blue-600);
}

/* Page Hero */
.page-hero {
  padding: 80px 0;
  background: var(--blue-600);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}

.page-hero .lead {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--yellow-200);
  padding: 40px 0;
  margin-top: 80px;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--text-700);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--blue-900);
}

/* Catalogue Page */
.products-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.12);
}

.product-media {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-50);
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-illustration {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d6b07a 0%, #c79a5a 45%, #b9854a 60%, #b07944 100%);
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.06);
}

.product-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-900);
}

.product-content p {
  color: var(--text-700);
  flex-grow: 1;
}

.meta {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f6fb;
  color: var(--text-700);
  font-size: 12px;
  font-weight: 600;
}

.pill-blue {
  background: var(--blue-100);
  color: var(--blue-900);
}

.pill-yellow {
  background: var(--yellow-100);
  color: var(--yellow-600);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  #reviews .slider-track {
    grid-auto-columns: calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .hero h1 {
    letter-spacing: -1px;
  }
  #reviews .slider-track {
    grid-auto-columns: 85%;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .hero{
    padding: 70px 0 30px 0;
  }

  .hero-cookie-left {
    top: 12em;
    width: 290px;
    left: -121px;
  }
  .hero-cookie-right {
    width: 200px;
    right: -120px;
  }
}

/* User Profile */
#user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

#user-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

#user-name {
  font-weight: 600;
}

#logout-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 100;
}

#logout-button {
  background: var(--blue-600);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

#logout-button:hover {
  background: var(--blue-800);
}

/* Careers Page */
#login-prompt {
  position: relative;
  text-align: center;
}

.blurred-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1;
}

#login-button {
  position: relative;
  z-index: 2;
}

/* Gift Hamper Section */
.gift-hamper-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr auto 6.2fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.gift-hamper-image {
  transform: rotate(-4deg);
  width: 2em;
  z-index: 2;
  grid-column: 2 / 3;
  width: 100%;
  max-width: 700px;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

.emerging-comment {
  position: absolute;
  left: -195px;
  top: 30%;
  transform: translate(25%, -50%);
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
  padding: 24px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 340px;
  box-shadow: 0 15px 35px rgba(21, 69, 216, 0.15);
  z-index: 1;
}

.emerging-comment blockquote {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-900);
}

.hamper-text-content {
  grid-column: 3 / 4;
  text-align: left;
}

.hamper-text-content h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: 10px;
}

.hamper-text-content p {
  font-size: 18px;
  color: var(--text-700);
  margin-bottom: 20px;
}

.hamper-text-content .btn-primary {
  display: inline-block;
}

.decorative-icon {
  position: absolute;
  background: var(--blue-100);
  color: var(--blue-900);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow);
  z-index: 10;
  overflow: hidden; /* Ensures the image is clipped to the border-radius */
}

.decorative-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-1 {
  top: 10%;
  left: 30%;
}

.icon-2 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-500);
  color: #000;
}

.icon-3 {
  top: 60%;
  right: 34%;
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 15px;
  text-align: center;
}

.feature-item .feature-icon {
  font-size: 50px;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 25px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 5px;
}

.feature-item p {
  color: var(--text-500);
}

@media (max-width: 1024px) {
  .gift-hamper-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative; /* Add relative positioning to contain the icons */
    padding-top: 40px; /* Add some padding to make space for the icons */
  }
  .gift-hamper-image {
    grid-column: 1 / -1;
    order: 1;
    max-width: 100%;
    margin: 0 auto;
  }
  .hamper-text-content {
    grid-column: 1 / -1;
    order: 2;
    text-align: center;
  }
  .emerging-comment {
    display: none;
    position: relative;
    order: 3;
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    transform: none;
    left: auto;
    top: auto;
  }
  .decorative-icon {
    width: 70px;
    height: 70px;
  }
  .icon-1 {
    top: 37px;
    left: 10%;
  }
  .icon-2 {
    z-index: 2;
    top: 1px;
    left: 70%;
    transform: translateX(-50%);
  }
  .icon-3 {
    top: 220px;
    right: 10%;
  }
}