@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Thin.otf') format('opentype');
  font-weight: 100;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Light.otf') format('opentype');
  font-weight: 300;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Semibold.otf') format('opentype');
  font-weight: 600;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Bold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Black.otf') format('opentype');
  font-weight: 900;
}
@font-face {
  font-family: 'Transcend';
  src: url('../Transcend-Font-Family/Transcend Ultra.otf') format('opentype');
  font-weight: 950;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e0c872;
  --dark: #0a0a0a;
  --white: #f5f0eb;
}

html, body {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--gold);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-cart {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-cart:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ── Hero Slider ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Background */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/* Slide content layout */
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.slide-text {
  flex: 1;
  max-width: 550px;
  padding-right: 40px;
}

.slide-number {
  font-family: 'Transcend', serif;
  font-size: 120px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.3);
  line-height: 1;
  margin-bottom: -30px;
  position: relative;
  z-index: 0;
}

.slide-subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.slide-title {
  font-family: 'Transcend', serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 10px;
  color: var(--white);
  white-space: nowrap;
}

.slide-specs {
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slide-specs li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 240, 235, 0.75);
  font-weight: 300;
  padding-left: 20px;
  position: relative;
}

.slide-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #c9a84c, #e0c872, #c9a84c);
  border: none;
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.slide-cta:hover {
  background: linear-gradient(135deg, #e0c872, #f0dfa0, #e0c872);
  color: var(--dark);
}

.slide-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.slide-cta:hover svg {
  transform: translateX(4px);
}

/* Perfume image */
.slide-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.perfume-img {
  max-height: 520px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
}

.perfume-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  z-index: 1;
}

/* ── Collection Section ── */
/* ── Product Thumbnails ── */
.thumb-strip {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 4px;
  scrollbar-width: none;
}

.thumb-strip::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 95px;
  min-height: 85px;
  border-radius: 10px;
  border: 1px solid rgba(245, 240, 235, 0.12);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 8px 6px 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.8;
  flex-shrink: 0;
}

.thumb img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.thumb span {
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  /* white-space: nowrap; */
  font-weight: 500;
  text-align: center;
}

.thumb:hover {
  opacity: 0.8;
  border-color: rgba(201, 168, 76, 0.4);
}

.thumb.active {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  /* transform: scale(1.1); */
}

.thumb.active span {
  color: var(--gold);
}

/* ── Slider Controls ── */
.slider-controls {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 30px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--gold);
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 240, 235, 0.25);
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold);
}

/* ── Slide Counter ── */
.slide-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.slide-counter-current {
  font-family: 'Transcend', serif;
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}

.slide-counter-sep {
  font-size: 14px;
  color: rgba(245, 240, 235, 0.3);
}

.slide-counter-total {
  font-family: 'Transcend', serif;
  font-size: 14px;
  color: rgba(245, 240, 235, 0.4);
}

/* ── Fragrance type badge ── */
.slide-type {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
  margin-bottom: 8px;
}

/* ── Off-Canvas Contact Panel ── */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.offcanvas-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 90vw;
  height: 100%;
  background: #111;
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(201, 168, 76, 0.15);
}

.offcanvas-panel.active {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 35px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.08);
}

.offcanvas-header h3 {
  font-family: 'Transcend', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
}

.offcanvas-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 240, 235, 0.15);
  border-radius: 50%;
  background: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.offcanvas-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.offcanvas-body {
  flex: 1;
  padding: 35px;
  overflow-y: auto;
}

.offcanvas-product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(245, 240, 235, 0.04);
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid rgba(245, 240, 235, 0.06);
}

.offcanvas-product img {
  width: 60px;
  height: auto;
}

.offcanvas-product-info h4 {
  font-family: 'Transcend', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.offcanvas-product-info span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.offcanvas-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: rgba(245, 240, 235, 0.05);
  border: 1px solid rgba(245, 240, 235, 0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 235, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option {
  background: #111;
  color: var(--white);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-submit {
  padding: 14px 36px;
  background: linear-gradient(135deg, #c9a84c, #e0c872, #c9a84c);
  border: none;
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.form-submit:hover {
  background: linear-gradient(135deg, #e0c872, #f0dfa0, #e0c872);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav {
    padding: 15px 30px;
  }

  .slide-content {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 100px 40px 140px;
    text-align: center;
  }

  .slide-text {
    max-width: 100%;
    padding-right: 0;
  }

  .slide-title {
    font-size: 40px;
  }

  .slide-number {
    font-size: 80px;
    margin-bottom: -20px;
  }

  .perfume-img {
    max-height: 300px;
  }

  /* Thumbnails → horizontal at bottom */
  .thumb-strip {
    position: fixed;
    right: auto;
    top: auto;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: none;
    max-width: 90vw;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 6px 8px;
    gap: 8px;
  }

  .thumb {
    width: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
  }

  .thumb img {
    width: 32px;
    height: 32px;
  }

  .slider-controls {
    bottom: 15px;
  }
}


@media (max-width: 768px) {

  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    height: 900px;
}

  nav{
    justify-content: center;
    padding: 15px 20px;
  }

  .slide-specs li::before {
    display: none;
  }

  .slide-specs li {
    padding-left: 0;
  }

  .slide-content {
    padding: 80px 20px 180px;
  }

  .slide-title {
    font-size: 32px;
  }

  .slide-number {
    font-size: 60px;
  }

  .slide-specs li {
    font-size: 12px;
    white-space: normal;
  }

  .perfume-img {
    max-height: 220px;
  }

  .thumb-strip {
    bottom: 40px;
    gap: 6px;
  }

  .thumb {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .thumb img {
    width: 24px;
    height: 24px;
  }

  .thumb span {
    display: none;
  }

  .slider-controls {
    bottom: 8px;
  }

  .offcanvas-panel {
    width: 100%;
    max-width: 100vw;
  }

  .offcanvas-body {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 400px) {
  .slide-content {
    padding: 70px 16px 190px;
  }

  .thumb-strip {
    bottom: 45px;
    gap: 4px;
  }

  .thumb {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .thumb img {
    width: 22px;
    height: 22px;
  }

  .thumb span {
    display: none;
  }

  .slide-title {
    font-size: 26px;
  }

  .slide-specs li {
    font-size: 11px;
  }
}
