:root {
  --header-height: 60px;
  --max-width: 1200px;
  --bg-gradient-start: #ffffff;
  --bg-gradient-end: #f7f7f8;
  --accent: #ffffff; /* blue-600 */
  --muted: #3d3d3d; /* gray-500 */
  --header-z: 50;
}
/* Hide scrollbar for Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Hide scrollbar for Firefox */
html,
body {
  scrollbar-width: none;
}
html {
  scroll-behavior: smooth;
}

body {
  -ms-overflow-style: none;
}

body {
  /* keep other body properties but remove background-image so it's not global */
  background-image: none !important;
  background-color: #f7f7f7; /* keep your fallback */
  scrollbar-width: none;
}

/* Full-screen behavior for each section (so each is a 'page') */
main > section {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

/* First section (home) - use your image path */
main > section:nth-of-type(1) {
  background-image: url("../assets/images/images/home.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* background-attachment: fixed; */
   /* optional parallax-like feel */
  color: #fff; /* text on image should be light */
  position: relative;
}

/* optional overlay for better contrast on first section */
main > section:nth-of-type(1)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32); /* dark overlay — adjust opacity if needed */
  pointer-events: none;
  z-index: 1;
}
main > section:nth-of-type(1) > * {
  position: relative;
  z-index: 1;
}

/* Third section — plain blue full page */
main > section:nth-of-type(3) {
  color: #fff;
}

html {
  scroll-padding-top: -80px; /* Matches your --header-height */
}

/* Also ensure all sections account for header */
main > section {
  padding-top: -80px; /* Add space at the top of each section */
}

/* Fourth section — plain orange full page */

/* Fifth section — plain green full page */

/* Optional: make headings scale nicely on hero */
main > section h1,
main > section h2,
main > section p {
  margin: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  main > section:nth-of-type(1) {
    background-attachment: scroll;
  }
}

/* Alternative: hero section with a semi-transparent overlay for better text contrast */
.home-hero {
  position: relative;
  min-height: 100vh; /* or a fixed height like 560px */
  background-image: url("./assets/images/images/home.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: scroll; /* use 'fixed' if you want parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* text color over image */
}

/* overlay layer */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(
    0,
    0,
    0,
    0.35
  ); /* adjust alpha and color for stronger/weaker overlay */
  pointer-events: none;
}

/* content inside hero (keeps above overlay) */
.home-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  max-width: 1100px;
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  body,
  .home-hero {
    background-attachment: scroll;
  }
}

/* Reset-ish */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  color: #111827;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--header-z);
  /* backdrop-filter: blur(6px); */

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);

 background-color: #f8f9fa;

  background-image: linear-gradient(to bottom right, #fdfcfb, #f9f5eb);
  /* border-radius: 16px; */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.9px);
  -webkit-backdrop-filter: blur(5.9px);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* nav row */
.nav-row {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo-wrap {
  display: flex;
  align-items: center;
}
.logo {
  height: 80px;
  width: auto;
  border-radius: 10px;
  transition: transform 0.25s ease;
}
.logo:hover {
  transform: scale(1.05);
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 18px;
}

/* link style */
.nav-link {
  color: #7f0403;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  overflow: visible;
}

/* underline effect using a small absolute bar (span child) */
.nav-link .underline {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  border-radius: 2px;
}
.nav-link:hover {
  background-color: #ffc406;
  color: #7f0403;
  transform: translateY(0);
}
.nav-link:hover .underline {
  width: 0%;
}


/* Active nav link (current section) */
.nav-link.active {
  background-color: #ffc406;
  color: #7f0403;
}



/* Icon button for mobile (we'll use label+checkbox) */
.icon-button {
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151; /* gray-700 */
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.icon-button:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(0);
}

/* Mobile menu -- hidden by default */
.mobile-menu {
  padding: 12px 16px 18px;
  animation: fadeIn 0.22s ease both;
  display: none;
  z-index: 2 !important;
}

/* mobile link styles */
.mobile-links .mobile-link {
  display: block;
  text-decoration: none;
  color: #374151;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 8px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.mobile-links .mobile-link:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  transform: translateX(8px);
}

/* small screens: show mobile button, hide desktop nav */
@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
  .mobile-button-wrap {
    display: block;
  }
}

/* medium and up: show desktop nav, hide mobile button/menu */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-button-wrap {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --- Checkbox toggle logic --- */
/* hide the checkbox visually but keep it accessible */
.menu-checkbox {
  position: absolute;
  opacity: 0;

  width: 0;
  height: 0;
}

/* when checkbox is checked, show the mobile menu */
.menu-checkbox:checked ~ .mobile-menu {
  display: block;
}

/* show/hide icons inside the label depending on checkbox state */
.menu-label .icon-open {
  display: inline;
}
.menu-label .icon-close {
  display: none;
}
.menu-checkbox:checked + .menu-label .icon-open {
  display: none;
}
.menu-checkbox:checked + .menu-label .icon-close {
  display: inline;
}

/* style the label like the icon-button */
.menu-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
  color: #374151;
  transition: color 0.2s ease, background 0.2s ease;
}
.menu-label:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}

/* menu slide/fade effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* small accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* small enhancement: focus visible */
a:focus,
.menu-label:focus {
  outline: 3px solid rgba(37, 99, 235, 0.12);
  outline-offset: 3px;
}
/* --- Split layout styles for second page --- */
.split-section {
  /* keep full-page behavior */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;

  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--ui-text);
  background-color: #f8f9fa;

  background-image: linear-gradient(to bottom right, #fdfcfb, #f9f5eb);
}

/* inner grid */
.split-inner {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
}

/* LEFT column */
.split-left .content {
  color: #111827;
  padding: 20px 10px;
}
.split-left h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin: 0 0 2rem;
  color: #7f0403 !important;
  z-index: 1;
}
.split-left .lead {
  font-size: 1.05rem;
  color: var(--ui-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* counters */
.counters {
  display: flex;
  gap: 18px;
  margin: 18px 0;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: end;
}
.counter {
  min-width: 90px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.counters {
  display: flex;
  gap: 18px;
  margin: 18px 0;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end; /* keeps your original alignment */
}

/* card */
.counter {
  min-width: 90px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 16px 18px;
  border-radius: var(--card-radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.28s;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* for Safari */
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* subtle floating animation */
.counter.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* decorative gradient edge */
.counter::before {
  content: "";
  position: absolute;
  left: -40%;
  top: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    closest-side,
    rgba(212, 175, 55, 0.08),
    transparent 35%
  );
  transform: rotate(12deg);
  pointer-events: none;
}

/* hover interaction */
.counter:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px #7f0403;
}

/* number */
.counter .num {
  font-weight: 800;
  font-size: 1.2rem;
  color: #7f0403;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  display: block;
  position: relative;
  z-index: 2;
}

/* colored accent under number */
.counter .num::after {
  content: "";
  display: block;
  height: 6px;
  width: 36px;
  margin: 8px auto 0;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.95),
    rgba(255, 255, 255, 0.08)
  );
  opacity: 0.9;
}

/* label */
.counter .label {
  font-size: 0.78rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

/* small-screen tweak */
@media (max-width: 520px) {
  .counters {
    justify-content: center;
  }
  .counter {
    min-width: 84px;
    padding: 12px 10px;
  }
  .counter .num {
    font-size: 1.05rem;
  }
}

/* buttons */

/* RIGHT column - modern clipped image */
.split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* IMAGE WRAPPER — rectangular, full-fit image, responsive */
.image-wrap {
  width: 100%; /* keep half-width in the two-column layout */
  max-width: 520px;
  /* preserves intended shape; remove if you prefer natural image height */
  overflow: hidden;
  border-radius: 20px; /* rounded corners */
  transform: translateY(0);
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 360ms;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  position: relative;
  background: #eee; /* fallback while image loads */
}

/* Image fills wrapper perfectly, cropped as needed */
.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill and crop as needed */
  display: block;
  transform: scale(1);
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
  border-radius: inherit; /* matches wrapper corners */
}

/* Hover: subtle lift + smooth zoom (desktop only) */
.image-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}
.image-wrap:hover img {
  transform: scale(1.06); /* zoom only */
}

/* Mobile: stack and avoid hover effects */
@media (max-width: 767px) {
  .image-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9; /* more natural on narrow screens */
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }
  .image-wrap:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }
  .image-wrap:hover img {
    transform: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .image-wrap,
  .image-wrap img {
    transition: none;
    transform: none !important;
  }
}

/* ensure left column is the positioning context for shapes */
.split-left {
  position: relative; /* add this so .shape absolute positions are relative to left column */
}

/* base shape (shared) */
.shape {
  position: absolute;
  border-radius: 999px;

  opacity: 0.55;
  pointer-events: none;
  z-index: 0; /* behind text */
  transition: transform 1200ms ease, opacity 900ms ease;
}

/* Left-side blobs (positioned relative to .split-left) */
.shape-1 {
  width: 160px;
  height: 160px;
  left: -84px;
  top: -50px;
  mix-blend-mode: multiply;
  background-image: url("../assets/images/images/floral.png"); /* your image path */
  background-size: cover; /* makes image fill the shape */
  background-position: center; /* centers the image */
  background-repeat: no-repeat; /* prevents repeating */
  transform: rotate(-18deg);
  z-index: 0;
}

.shape-2 {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -100px;
  background-image: url("../assets/images/images/3.png"); /* your image path */
  background-size: cover; /* makes image fill the shape */
  background-position: center; /* centers the image */
  background-repeat: no-repeat; /* prevents repeating */
  transform: rotate(6deg);
  mix-blend-mode: multiply;
}

/* subtle float animation */
@keyframes shapeFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.56;
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.56;
  }
}
.shape-1 {
  animation: shapeFloat 9000ms ease-in-out infinite;
  animation-delay: 0ms;
}
.shape-2 {
  animation: shapeFloat 8200ms ease-in-out infinite;
  animation-delay: 300ms;
}

/* scale slightly when user hovers the image area for a bit of life */
.image-wrap:hover ~ .shape,
.image-wrap:hover + .shape,
.image-wrap:hover .shape,
.split-left:hover .shape {
  transform: scale(1.04);
  opacity: 0.78;
}

/* hide shapes on small screens */
@media (max-width: 767px) {
  .shape {
    display: none;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
    transition: none;
  }
}

.site-header {
  transition: opacity 0.4s ease;
}
/* small screens: stack columns */
@media (max-width: 767px) {
  .split-inner {
    grid-template-columns: 1fr;

    padding: 0 12px;
  }
  .split-right {
    order: -1;
  } /* show image above content on mobile (change if you prefer) */
  .image-wrap {
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18px;
  }
  .shape-1,
  .shape-2 {
    display: none;
  }
  .counters {
    justify-content: center;
  }
  .actions {
    justify-content: center;
  }
}

/* HOME SECTION STYLES */
/* Image viewer (section 3) */
/* Page container */
#page3 {
  height: auto;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.8s ease;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background-color: rgb(248, 249, 250);
  background-image: linear-gradient(
    to right bottom,
    rgb(253, 252, 251),
    rgb(249, 245, 235)
  );
}

/* Main container */
.viewer-container {
  width: 50%;

  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.fragrance-details {
  width: 50%;
  color: #000000 !important;
  flex-grow: 1;
  text-align: center;
}
.fragrance-details div p,
#flavorDesc {
  color: #000000 !important;
}

/* Title section - top-left */
.title-section {
  grid-area: title;
  color: white;
  text-transform: uppercase;
  pointer-events: none;
}

.flavor-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  line-height: 0.9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-sub {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.title-line {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* Short description - bottom-left */
.short-desc-section {
  grid-area: short;
  align-self: end;
  pointer-events: none;
}

.flavor-short {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: white;
  margin: 0;
  font-weight: 500;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Long description - bottom-right */
.flavor-desc {
  grid-area: desc;
  align-self: end;
  justify-self: end;
  pointer-events: none;
}

.flavor-desc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 400px;
}

.flavor-desc li {
  color: white;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.flavor-desc li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
  font-size: 1.5em;
}

/* Gallery container - centered */
.gallery-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

/* Main viewer */
.viewer {
  width: 70%;
  height: min(500px, 70vh);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  
}

.viewer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}

/* Buttons */
.viewer-btn {
  width: clamp(50px, 6vw, 70px);
  height: clamp(50px, 6vw, 70px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 10;
}

.viewer-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Caption */
.viewer-caption {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}
/* ----------------- Fonts ----------------- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Poppins:wght@400;600;700&display=swap");

/* ========== Advanced Attractive Right-side Panel ========== */
.fragrance-details {
  width: 42%;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px;
  box-sizing: border-box;
  perspective: 1400px; /* enable subtle 3D */
}

/* Card wrapper with tilt & layered glass + paper */
.fd-advanced {
  width: 100%;
  border-radius: 18px;
  position: relative;
  padding: 30px 28px;
  box-sizing: border-box;
  transform-style: preserve-3d;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(250, 248, 244, 0.96)
  );
  box-shadow: 0 20px 50px rgba(12, 12, 12, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  overflow: visible;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s;
  border: 1px solid rgba(32, 20, 10, 0.04);
  will-change: transform;
}
/* slight hover lift for desktop */
.fd-advanced:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 36px 80px rgba(12, 12, 12, 0.18);
  -webkit-transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  -moz-transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  -ms-transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  -o-transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
}

/* left decorative vertical band (gold foil edge) */
.fd-left-deco {
  content: "";
  position: absolute;
  left: -10px;
  top: 6%;
  bottom: 6%;
  width: 8px;
  border-radius: 6px;
  background: #7f0403;
  box-shadow: 0 6px 14px rgba(184, 134, 11, 0.12),
    inset 0 -2px 6px rgba(0, 0, 0, 0.06);
  transform: translateZ(60px);
  z-index: 12;
}

/* small flourish SVG at top */
.fd-flourish {
  position: absolute;
  top: -16px;
  right: 18px;
  width: 170px;
  height: 36px;
  opacity: 0.98;
  transform: translateZ(40px) rotate(-2deg);
  z-index: 14;
}

/* Header: title + meta */
.fd-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 6px;
}

/* Big foil / embossed title with animated sheen */
.flavor-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  color: #7f0403;
  letter-spacing: 0.8px;
  line-height: 1;

  position: relative;
}

/* animated sheen sweep (pseudo element) */
.flavor-title::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 6%;
  width: 40%;
  height: 60%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0)
  );
  filter: blur(8px);
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}
.fd-advanced:hover .flavor-title::after {
  left: 110%;
  opacity: 1;
}

/* meta chips */
.fd-meta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateZ(60px);
}
.meta-chip {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(241, 236, 230, 0.96)
  );
  border: 1px solid rgba(34, 20, 10, 0.04);
  box-shadow: 0 8px 18px rgba(12, 12, 12, 0.06);
  color: #2a1a1a;
  font-weight: 700;
}
.meta-chip.subtle {
  opacity: 0.8;
  transform: scale(0.98);
}

/* short desc */
.flavor-short {
  font-family: "Poppins", sans-serif;
  margin: 6px 0 12px;
  color: #2b2b2b;
  font-weight: 600;
  letter-spacing: 0.2px;
  transform: translateZ(40px);
}

/* description list with separators & subtle gradient text */
.flavor-desc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flavor-desc li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: #2f2f2f;
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
  line-height: 1.58;
  transform: translateZ(30px);
}

/* handcrafted gold motif bullet */
.flavor-desc li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(
    from 220deg,
    #fff6e1,
    #fbe8b9 30%,
    #c78f2e 65%,
    #6b3d09 100%
  );
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  transform: rotate(10deg);
}

/* subtle divider */
.fd-advanced::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 72px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba(50, 30, 10, 0.06),
    rgba(0, 0, 0, 0)
  );
  z-index: 5;
  transform: translateZ(10px);
}

/* actions row */
.fd-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  transform: translateZ(30px);
}

/* price */
.fd-price {
  font-family: "Poppins", sans-serif;
  color: #2b2b2b;
  font-weight: 600;
  font-size: 0.98rem;
}
.price {
  font-weight: 900;
  color: #0b0b0b;
  margin-left: 6px;
}

/* Glowing metallic CTA with inner ripple and micro-icon */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #ffffff;
  background: #7f0403;
  box-shadow: 0 10px 30px rgba(180, 125, 20, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.18s;
}

/* inner content to allow icon spacing */
.btn-inner {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* hover: lift + glow */
.btn-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(184, 134, 11, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

/* ripple band (pseudo) */
.btn-glow::before {
  content: "";
  position: absolute;
  left: -120%;
  top: -40%;
  width: 40%;
  height: 180%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  transform: skewX(-18deg);
  filter: blur(8px);
  transition: left 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  opacity: 0;
}
.btn-glow:hover::before {
  left: 120%;
  opacity: 1;
}

/* subtle focus & active */
.btn-glow:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Floating particle decoration */
.fd-particles {
  position: absolute;
  inset: 6% 6% auto auto;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 4;
  transform: translateZ(20px);
}
.fd-particles span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff6d9, #e7c86a);
  opacity: 0;
  transform: translateY(0) scale(0.8);
  animation: particle-float linear infinite;
}
.fd-particles span:nth-child(1) {
  left: 10%;
  top: 10%;
  animation-duration: 6s;
  animation-delay: 0.2s;
  opacity: 0.9;
}
.fd-particles span:nth-child(2) {
  left: 45%;
  top: 40%;
  animation-duration: 7.2s;
  animation-delay: 0.6s;
  opacity: 0.7;
  width: 8px;
  height: 8px;
}
.fd-particles span:nth-child(3) {
  left: 75%;
  top: 18%;
  animation-duration: 5.3s;
  animation-delay: 0.4s;
  opacity: 0.85;
  transform: scale(0.6);
}
.fd-particles span:nth-child(4) {
  left: 60%;
  top: 62%;
  animation-duration: 8.2s;
  animation-delay: 1.1s;
  opacity: 0.6;
}
.fd-particles span:nth-child(5) {
  left: 24%;
  top: 72%;
  animation-duration: 6.9s;
  animation-delay: 0.9s;
  opacity: 0.75;
  transform: scale(0.7);
}

@keyframes particle-float {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  50% {
    transform: translateY(-18px) scale(1.05);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-40px) scale(0.6);
    opacity: 0;
  }
}

/* responsive */
@media (max-width: 980px) {
  .fragrance-details {
    width: 48%;
    padding: 6px 12px;
  }
  .flavor-title {
    font-size: clamp(1.6rem, 5.4vw, 2.4rem);
  }
  .fd-left-deco {
    display: none;
  }
  .fd-flourish {
    display: none;
  }
}
@media (max-width: 640px) {
  .fragrance-details {
    width: 100%;
    padding: 4px 10px;
  }
  .fd-advanced {
    padding: 18px;
    border-radius: 14px;
  }
  .fd-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .fd-meta {
    margin-left: 0;
  }
  .fd-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-glow {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-overlay {
    padding: 40px;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .content-overlay {
    grid-template-areas:
      "title"
      "short"
      "desc";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 30px 20px;
    gap: 25px;
  }

  .title-section {
    text-align: center;
  }

  .short-desc-section {
    text-align: center;
    align-self: center;
  }

  .flavor-short {
    max-width: 100%;
  }

  .flavor-desc {
    justify-self: center;
    align-self: start;
  }

  .flavor-desc ul {
    max-width: 100%;
  }

  .viewer {
    width: 90vw;
    height: min(400px, 60vh);
  }

  .gallery-container {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  #page3 {
    padding: 10px;
  }

  .content-overlay {
    padding: 20px 15px;
    gap: 20px;
  }

  .viewer {
    height: min(350px, 50vh);
    border-radius: 15px;
  }

  .viewer-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .flavor-desc li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
}
/* SECTION STYLING LIKE YOUR REFERENCE */
.history-section {
  height: 50vh; /* 50% of the screen height */
  width: 100%;
  background: #ffffff; /* dark maroon similar to reference */
  display: flex;
  align-items: center; /* vertically center */
  justify-content: space-evenly;
  flex-direction: column; /* horizontally center */
  padding: 10px 20px;
  box-sizing: border-box;
  text-align: center;
}

/* CONTAINER */
.history-content {
  max-width: 950px; /* same wide block as reference */
}

/* TITLE */
.history-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 26px;
}

/* DESCRIPTION TEXT */
.history-text {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: #e6d6d6;
  line-height: 1.7;
  font-weight: 300;
}
#page3 {
  position: relative;
}
.alata-regular {
  font-family: "Alata", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #fff;
  --card-bg: #fff;
  --card-radius: 16px;
  --card-padding: 20px;
  --shadow-sm: 0 6px 18px rgba(20, 20, 40, 0.06);
  --shadow-md: 0 20px 40px rgba(20, 20, 40, 0.12);
  --accent: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --text: #111827;
  --muted: #6b7280;
  --card-img-height: 200px; /* desktop: tweak this */
  --card-img-height-tablet: 200px; /* tablet */
  --card-img-height-mobile: auto; /* mobile */
  --transition: 400ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* GRID - responsive and equal-width */
.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
  align-items: stretch; /* make cards equal height */
}

/* CARD */
.point-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
  position: relative;
}

/* subtle float animation on load */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.point-card {
  animation: floatIn 520ms var(--transition) both;
}

/* HOVER / FOCUS states */
.point-card:hover,
.point-card:focus-within {
  transform: translateY(-10px) rotate(-0.35deg) scale(1.01);
  box-shadow: var(--shadow-md);
  z-index: 5;
}

/* IMAGE WRAPPER - fixed height so all images match */
.point-icon {
  width: 100%;
  height: var(--card-img-height);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: inset 0 -20px 50px rgba(0, 0, 0, 0.03);
}

/* image styles: fill, crop evenly */
.point-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to same shape */
  object-position: center;
  display: block;
  transition: transform 500ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* decorative gradient overlays per card (keeps your classes) */
.point-icon.eco::after,
.point-icon.women::after,
.point-icon.temple::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.12;
  transition: opacity var(--transition);
  pointer-events: none;
  border-radius: 12px;
}

/* custom overlay tints */
.point-icon.eco::after {
  background: linear-gradient(
    135deg,
    rgba(41, 128, 185, 0.18),
    rgba(16, 185, 129, 0.08)
  );
}
.point-icon.women::after {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.18),
    rgba(236, 72, 153, 0.08)
  );
}
.point-icon.temple::after {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.18),
    rgba(234, 88, 12, 0.08)
  );
}

/* hover image zoom */
.point-card:hover .point-icon img,
.point-card:focus-within .point-icon img {
  transform: scale(1.06) translateY(-4px);
}

/* content */
.point-content h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}
.point-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* small accent line under heading */
.point-content h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  margin-top: 10px;
  background: #7f0403;
  opacity: 0.9;
}

/* focus outline for keyboard users */
.point-card:focus-within {
  outline: 3px solid rgba(99, 102, 241, 0.12);
  outline-offset: 6px;
}

/* RESPONSIVE tweaks */
@media (max-width: 992px) {
  :root {
    --card-img-height: var(--card-img-height-tablet);
  }
}
@media (max-width: 560px) {
  :root {
    --card-img-height: var(--card-img-height-mobile);
  }
  .key-points {
    gap: 16px;
    margin: 24px 0;
  }
  .point-card {
    padding: 16px;
  }
  .point-content h3 {
    font-size: 1rem;
  }
  .point-content p {
    font-size: 0.92rem;
  }
}

/* prefers-reduced-motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .point-card,
  .point-card * {
    animation: none !important;
    transition: none !important;
  }
}



