/* ==========================================================================
   Cup Pack (كب باك) - Official One-Page Scrolling Tabs Website
   Crafted with Modern CSS3, Fluid Layouts & High-Fidelity Styling
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-gold-primary: #C4A47C;
  --color-gold-hover: #B38F5F;
  --color-gold-light: #F3EAD8;
  --color-gold-glow: rgba(196, 164, 124, 0.35);
  
  --color-dark-bg: #0C0D0E;
  --color-dark-surface: #151719;
  --color-dark-card: #1C1E22;
  --color-dark-border: rgba(255, 255, 255, 0.09);
  
  --color-light-bg: #FFFFFF;
  --color-light-surface: #F8F9FA;
  --color-light-card: #FFFFFF;
  --color-light-border: #E8ECEF;
  
  --color-hero-stone: #DCD9D3;
  --color-hero-accent: #333333;
  --color-kraft-accent: #C4A47C;
  
  --color-text-dark: #121417;
  --color-text-muted-dark: #667085;
  --color-text-light: #F5F7FA;
  --color-text-muted-light: #9BA3AF;

  --color-green-accent: #194F3E;
  --color-red-accent: #B8252A;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', 'Amiri', serif;
  --font-serif: 'Cinzel', 'Playfair Display', serif;

  /* Transitions & Radii */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Layout */
  --header-height: 74px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

input, textarea, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Scroll Progress Bar
   ========================================================================== */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-primary), #E9D5A1, var(--color-gold-primary));
  z-index: 10000;
  box-shadow: 0 0 10px var(--color-gold-glow);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Floating Glassmorphic Header & Scrolling Tabs
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(12, 13, 14, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(8, 9, 10, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(196, 164, 124, 0.25));
}

/* Nav Tabs Bar with Animated Sliding Indicator Pill */
.nav-tabs-dock {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.tab-sliding-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-primary);
  box-shadow: 0 2px 14px var(--color-gold-glow);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.nav-tab-item {
  position: relative;
  z-index: 2;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #B2B8C2;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-tab-item:hover {
  color: #FFFFFF;
}

.nav-tab-item.active {
  color: #0F1012;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-trigger-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C2C8D2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.search-trigger-btn:hover {
  color: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  background: rgba(196, 164, 124, 0.1);
}

.btn-header-cta {
  padding: 9px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-gold-primary);
  color: #0F1012;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px var(--color-gold-glow);
  transition: var(--transition-smooth);
}

.btn-header-cta:hover {
  background: #D9BB93;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Desktop Floating Vertical Rail (Side Bead Tracker)
   ========================================================================== */
.side-scroll-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 990;
  background: rgba(15, 16, 18, 0.65);
  backdrop-filter: blur(10px);
  padding: 14px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.side-rail-bead {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.side-rail-bead:hover,
.side-rail-bead.active {
  background: var(--color-gold-primary);
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--color-gold-glow);
}

.side-rail-tooltip {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #111215;
  color: #FFFFFF;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: var(--transition-fast);
}

.side-rail-bead:hover .side-rail-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Section 1: Hero (#home) & 5-Slide Custom Banner Slider
   ========================================================================== */
.hero-section {
  position: relative;
  height: 88vh;
  min-height: 680px;
  background-color: var(--color-hero-stone);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 0;
  display: block;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: calc(var(--header-height) + 40px); /* Reverted to original 40px */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
  transform: scale(1.05);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Slide Content Entrance Animations */
.hero-slide .hero-branding-col,
.hero-slide .hero-event-col {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide.active .hero-branding-col {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-event-col {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-branding-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-3d-logo-wrap {
  width: 100%;
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-3d-logo-wrap svg,
.hero-3d-logo-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 12px 18px rgba(0, 0, 0, 0.22));
}

.hero-tagline-ar {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  font-weight: 700;
  color: #383B3E;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hero-tagline-en {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #555A60;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-url {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #242629;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.hero-url::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 2.5px;
  background: var(--color-gold-primary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-dark {
  padding: 13px 32px;
  background: #111215;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.btn-primary-dark:hover {
  background: #252830;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-secondary-outline {
  padding: 13px 28px;
  background: transparent;
  color: #1A1C20;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid #282B30;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #000000;
}

/* Hero Right: Cafex Event Badge */
.hero-event-col {
  display: flex;
  justify-content: flex-end;
}

.cafex-card-box {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.cafex-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--color-gold-primary);
}

.cafex-badge-img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.event-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #111215;
  color: var(--color-gold-primary);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.event-countdown-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27AE60;
  animation: pulseGreen 1.8s infinite;
}

/* Dark Slides Customization (Slides 2 to 5) */
.hero-slide.dark-slide {
  color: #FFFFFF;
}

.hero-slide.dark-slide .hero-tagline-ar {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-slide.dark-slide .hero-tagline-en {
  color: var(--color-gold-primary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-slide.dark-slide .hero-url {
  color: rgba(255, 255, 255, 0.95);
}

.hero-slide.dark-slide .hero-url::after {
  background: var(--color-gold-primary);
}

/* Gold background primary button inside dark slides */
.hero-slide.dark-slide .btn-primary-dark.btn-gold {
  background: var(--color-gold-primary);
  color: #0E0F12;
  border: 1.5px solid var(--color-gold-primary);
  box-shadow: 0 6px 20px rgba(196, 164, 124, 0.25);
}

.hero-slide.dark-slide .btn-primary-dark.btn-gold:hover {
  background: #FFFFFF;
  color: #0E0F12;
  border-color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* White outline secondary button inside dark slides */
.hero-slide.dark-slide .btn-secondary-outline.btn-outline-white {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-slide.dark-slide .btn-secondary-outline.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* Photo banners: keep the product (right side of each banner) in view when cropped */
.hero-slide.banner-slide {
  background-position: 70% center;
}

/* Slides 2-8: keep logo + text block in the exact same position & size as Slide 1
   (same 2-column grid, right column simply left empty) */
.hero-slide.dark-slide .hero-grid.full-width-grid {
  grid-template-columns: 1.35fr 1fr;
}

.hero-slide.dark-slide .hero-grid.full-width-grid .hero-branding-col {
  grid-column: 1;
}

/* Premium Slider Navigation Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 18, 21, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-slider-arrow:hover {
  background: var(--color-gold-primary);
  color: #111215;
  border-color: var(--color-gold-primary);
  box-shadow: 0 8px 24px rgba(196, 164, 124, 0.45);
}

.hero-slider-arrow.prev {
  left: 84px;
}

/* Same distance from both edges; clears the fixed side dots rail on the right */
.hero-slider-arrow.next {
  right: 84px;
}

/* Slider Dots Indicator */
.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 18, 21, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot-btn.active {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--color-gold-glow);
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(39, 174, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

/* ==========================================================================
   Section 2: Who We Are (#about)
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--color-light-bg);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.about-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.who-we-are-illustration {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1));
  transition: transform 0.4s ease;
}

.who-we-are-illustration:hover {
  transform: translateY(-5px);
}

.about-content-col {
  display: flex;
  flex-direction: column;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.about-paragraph {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted-dark);
  margin-bottom: 20px;
}

.about-paragraph strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 35px 0;
  padding: 20px 0;
  border-top: 1px solid var(--color-light-border);
  border-bottom: 1px solid var(--color-light-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-gold-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted-dark);
  margin-top: 4px;
}

.btn-about-readmore {
  align-self: flex-start;
  padding: 12px 34px;
  background: #0D0E10;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-about-readmore:hover {
  background: #2B2D33;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Section 3: Your Cup, Your Way (#products)
   Dark Luxury Showcase with Size Tabs & 3D Visualizer
   ========================================================================== */
.products-section {
  padding: 100px 0;
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.products-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.products-header .section-title {
  color: #FFFFFF;
  font-size: 2.75rem;
  margin-bottom: 10px;
}

.products-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #A0A5AD;
}

/* Creative Category Tabs inside Products */
.products-category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #9BA3AF;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.category-tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.category-tab-btn.active {
  background: var(--color-gold-primary);
  color: #0E0F11;
  font-weight: 700;
  border-color: var(--color-gold-primary);
  box-shadow: 0 4px 16px var(--color-gold-glow);
}

/* 4 Product Cards Grid matching Reference Image */
.products-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.product-card {
  background: #FFFFFF;
  color: #121417;
  border-radius: var(--radius-sm);
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--color-gold-primary);
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1C1F;
  margin-bottom: 14px;
}

.btn-card-readmore {
  padding: 6px 18px;
  background: #0E0F12;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 3px;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.product-card:hover .btn-card-readmore {
  background: var(--color-gold-primary);
  color: #0E0F12;
}

.product-card-visual {
  width: 100%;
  max-width: 140px;
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 15px;
}

.product-card-visual img,
.product-card-visual svg {
  max-height: 100%;
  width: auto;
}

.product-card-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #6C757D;
  background: #F1F3F5;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* Interactive Cup Customizer Stage & Specifications */
.cup-customizer-dock {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.4);
}

.customizer-preview-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(196, 164, 124, 0.08) 0%, rgba(0,0,0,0) 70%);
  padding: 20px;
  border-radius: var(--radius-md);
  min-height: 320px;
}

.interactive-cup-display {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-preview-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 45%;
  max-height: 40%;
  pointer-events: none;
  z-index: 5;
  object-fit: contain;
}

/* 3D Double-Wall Cup Stage (Three.js) */
.cup3d-stage {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.cup3d-stage.is-dragging {
  cursor: grabbing;
}

.cup3d-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Fullscreen 3D viewer (native Fullscreen API, or CSS fallback for iPhone Safari) */
.cup3d-stage:fullscreen,
.cup3d-stage.is-fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  background: radial-gradient(circle at center, #23262B 0%, #111215 75%);
}

.cup3d-stage:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #23262B 0%, #111215 75%);
}

.cup3d-stage.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100dvh;
}

.cup3d-stage:fullscreen .cup3d-toolbar,
.cup3d-stage.is-fullscreen .cup3d-toolbar {
  top: 20px;
  right: 20px;
}

.cup3d-tool-btn .icon-collapse,
.cup3d-stage:fullscreen .cup3d-tool-btn .icon-expand,
.cup3d-stage.is-fullscreen .cup3d-tool-btn .icon-expand {
  display: none;
}

.cup3d-stage:fullscreen .cup3d-tool-btn .icon-collapse,
.cup3d-stage.is-fullscreen .cup3d-tool-btn .icon-collapse {
  display: block;
}

.cup3d-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cup3d-webgl-note {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(196, 164, 124, 0.14);
  border: 1px solid rgba(196, 164, 124, 0.4);
  color: #E8D9C4;
  font-size: 0.78rem;
  text-align: center;
}

.cup3d-stage.no-webgl .cup3d-toolbar,
.cup3d-stage.no-webgl .cup3d-hint {
  display: none;
}

.cup3d-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.cup3d-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E6E8EB;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cup3d-tool-btn:hover,
.cup3d-tool-btn.active {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  color: #111215;
}

.cup3d-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #8A919C;
  white-space: nowrap;
  pointer-events: none;
}

.color-custom-input {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(#E53935, #FDD835, #43A047, #1E88E5, #8E24AA, #E53935);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  overflow: hidden;
}

.color-custom-input:hover {
  transform: scale(1.18);
  border-color: var(--color-gold-primary);
}

.color-custom-input input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
}

.lid-option-choices {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lid-color-custom {
  width: 38px;
  height: 38px;
  align-self: center;
}

.lid-color-custom.active {
  border-color: var(--color-gold-primary);
  transform: scale(1.1);
}

.lid-option-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #C9CED6;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lid-option-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.lid-option-btn:hover,
.lid-option-btn.active {
  border-color: var(--color-gold-primary);
  color: #FFFFFF;
}

.lid-option-btn.active {
  background: rgba(196, 164, 124, 0.14);
}

.customizer-controls-col {
  display: flex;
  flex-direction: column;
}

.customizer-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.customizer-subtext {
  font-size: 0.9rem;
  color: var(--color-text-muted-light);
  margin-bottom: 22px;
}

.size-pill-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.size-pill-btn {
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.size-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.size-pill-btn.active {
  background: var(--color-gold-primary);
  color: #0B0C0E;
  font-weight: 800;
  border-color: var(--color-gold-primary);
  box-shadow: 0 4px 14px var(--color-gold-glow);
}

/* New Customizer UI Styles */
.finish-toggle-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.finish-pill-selector {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.finish-pill-btn {
  padding: 6px 16px;
  border: none;
  background: transparent;
  color: var(--color-text-muted-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.finish-pill-btn.active {
  background: rgba(255,255,255,0.15);
  color: #FFF;
}

.customizer-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.upload-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#logoUpload {
  display: none;
}

.btn-upload-trigger {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.2);
  color: #FFF;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-upload-trigger:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-gold-muted);
}

#fileNameLabel {
  font-size: 0.75rem;
  color: var(--color-text-muted-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-design-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.text-design-input:focus {
  border-color: var(--color-gold-muted);
  background: rgba(255,255,255,0.12);
}

.transform-controls-group {
  background: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.05);
}

.transform-row {
  margin-bottom: 15px;
}

.transform-row:last-child {
  margin-bottom: 0;
}

.transform-row .picker-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.design-range {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.1);
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.design-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--color-gold-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.design-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.customizer-actions-row {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-action-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-action-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #FFF;
}

.btn-action-outline.btn-reset {
  color: #FF6B6B;
  border-color: rgba(255, 107, 107, 0.3);
}

.btn-action-outline.btn-reset:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: #FF6B6B;
}

.specs-data-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: #8C94A0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #F0F2F5;
  margin-top: 2px;
}

.color-picker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.picker-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #B0B7C2;
}

.color-dot-choices {
  display: flex;
  gap: 10px;
}

.color-dot-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.color-dot-btn.active,
.color-dot-btn:hover {
  transform: scale(1.18);
  border-color: var(--color-gold-primary);
}

.color-dot-white { background: #FFFFFF; }
.color-dot-black { background: #18191B; border: 1px solid #333; }
.color-dot-kraft { background: #C4A47C; }
.color-dot-green { background: #194F3E; }
.color-dot-red   { background: #B8252A; }

.products-footer-action {
  text-align: center;
  margin-top: 45px;
}

.btn-explore-products {
  padding: 13px 40px;
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-explore-products:hover {
  background: #FFFFFF;
  color: #0D0E10;
  border-color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Section 4: Our Portfolio (#portfolio)
   Clean Light Gallery with Filter Tabs & Lightbox
   ========================================================================== */
.portfolio-section {
  padding: 100px 0;
  background-color: var(--color-light-bg);
  position: relative;
}

.portfolio-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.portfolio-header .section-title {
  font-size: 2.75rem;
  margin-bottom: 8px;
}

.portfolio-subtitle {
  font-size: 1.1rem;
  color: var(--color-gold-primary);
  font-weight: 600;
}

/* Filter Tabs */
.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  padding: 9px 22px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #555E6D;
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.portfolio-filter-btn:hover {
  color: var(--color-text-dark);
  border-color: #CCD2D8;
}

.portfolio-filter-btn.active {
  background: #0F1012;
  color: #FFFFFF;
  font-weight: 700;
  border-color: #0F1012;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* 6 Items Grid (2 cols x 3 rows) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.portfolio-item-card {
  position: relative;
  background: #F4F5F7;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.portfolio-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #EAEAEA;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

/* Portfolio Hover Overlay */
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-item-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-client {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-primary);
  margin-bottom: 4px;
}

.portfolio-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.portfolio-action-bar {
  text-align: center;
}

.btn-explore-work {
  padding: 13px 44px;
  background: #0E0F12;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-explore-work:hover {
  background: #252830;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Section 5: Testimonials (#testimonials)
   Dark Luxury Box with Gold Border & Slider Tabs
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  position: relative;
}

.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.testimonials-header .section-title {
  color: #FFFFFF;
  font-size: 2.75rem;
  margin-bottom: 8px;
}

.testimonials-subtitle {
  font-size: 1.05rem;
  color: #9AA0A8;
}

.testimonial-carousel-wrap {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-box-frame {
  width: 100%;
  background: #111215;
  border: 1.8px solid var(--color-gold-primary);
  border-radius: var(--radius-sm);
  padding: 55px 50px 45px 50px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.testimonial-avatar-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold-primary);
  box-shadow: 0 4px 16px var(--color-gold-glow);
}

.testimonial-avatar-wrap img,
.testimonial-avatar-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E2E6EC;
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.testimonial-author-role {
  font-size: 0.88rem;
  color: var(--color-gold-primary);
  font-weight: 600;
  margin-top: 2px;
}

/* Nav Arrow Buttons matching reference */
.testimonial-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 5;
}

.testimonial-arrow-btn:hover {
  background: var(--color-gold-primary);
  color: #0F1012;
  border-color: var(--color-gold-primary);
  box-shadow: 0 4px 16px var(--color-gold-glow);
}

.testimonial-arrow-prev {
  left: -22px;
}

.testimonial-arrow-next {
  right: -22px;
}

/* Carousel Tab Dots */
.testimonial-dots-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: var(--transition-fast);
}

.testimonial-dot-btn.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-primary);
}

/* ==========================================================================
   Section 6: Our Clients (#clients)
   4x3 Clean Grid with Hairline Borders
   ========================================================================== */
.clients-section {
  padding: 100px 0 80px 0;
  background-color: var(--color-light-bg);
  position: relative;
}

.clients-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.clients-header .section-title {
  font-size: 2.75rem;
  margin-bottom: 8px;
}

.clients-grid-wrap {
  max-width: 1000px;
  margin: 0 auto 45px auto;
  border: 1px solid var(--color-light-border);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.client-logo-box {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid var(--color-light-border);
  border-bottom: 1px solid var(--color-light-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.client-logo-box:nth-child(4n) {
  border-right: none;
}

.client-logo-box:nth-last-child(-n+4) {
  border-bottom: none;
}

.client-logo-box:hover {
  background: #FAFAFB;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1.5px var(--color-gold-primary);
  z-index: 2;
}

.client-logo-box img,
.client-logo-box svg {
  max-width: 82%;
  max-height: 82px;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}

/* Logos supplied on a coloured background: show them as a small rounded badge */
.client-logo-box img.logo-tile {
  border-radius: 8px;
  max-height: 72px;
}

.client-logo-box:hover img,
.client-logo-box:hover svg {
  transform: scale(1.08);
}

.clients-action-bar {
  text-align: center;
}

.btn-explore-clients {
  padding: 13px 44px;
  background: #0D0E10;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-explore-clients:hover {
  background: #252830;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Section 7: Newsletter Banner
   Warm Kraft / Golden Sand Accent Bar
   ========================================================================== */
.newsletter-banner-section {
  background-color: var(--color-gold-primary);
  padding: 34px 0;
  position: relative;
}

.newsletter-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1A1C1E;
  line-height: 1.2;
}

.newsletter-form-wrap {
  flex: 1;
  max-width: 540px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #222;
}

.newsletter-input::placeholder {
  color: #8C94A0;
}

.btn-newsletter-submit {
  padding: 12px 28px;
  background: #111215;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  transition: var(--transition-fast);
}

.btn-newsletter-submit:hover {
  background: #2C2F36;
}

.newsletter-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
  color: #1A1C1E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: #1A1C1E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 8: Footer & Contact (#contact)
   Deep Dark Atmosphere with Factory & HQ Details
   ========================================================================== */
.site-footer {
  background-color: #0A0A0C;
  color: #B0B5BD;
  padding: 85px 0 35px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Watermark world map pattern */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196, 164, 124, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 50px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  align-self: flex-start;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #8C929C;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-gold-primary);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-size: 0.95rem;
  color: #9DA3AE;
  transition: var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-gold-primary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6C727D;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 15px;
}

.designer-credit strong {
  color: var(--color-gold-primary);
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-container {
  background: #151719;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
}

.modal-backdrop.open .modal-content-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-gold-primary);
  color: #000;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111215;
  border: 1.5px solid var(--color-gold-primary);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 10001;
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-section {
    height: auto;
    min-height: 950px;
  }
  /* Slides are absolutely positioned: give the slider the section's height so they don't collapse */
  .hero-slider {
    min-height: inherit;
  }
  .hero-grid,
  .hero-slide.dark-slide .hero-grid.full-width-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-event-col {
    justify-content: flex-start;
  }
  .hero-3d-logo-wrap {
    max-width: 380px;
  }
  .cafex-card-box {
    max-width: 300px;
    padding: 24px 22px;
  }
  .products-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cup-customizer-dock {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .hero-slider-arrow {
    display: none;
  }
  /* Photo banners on phones/tablets: product visible on top, text on a soft fade below */
  .hero-slide.banner-slide {
    align-items: flex-end;
    padding-bottom: 70px;
  }
  .hero-slide.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(242, 239, 233, 0) 25%, rgba(242, 239, 233, 0.85) 52%, rgba(242, 239, 233, 0.95) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .hero-slide.banner-slide.dark-slide::before {
    background: linear-gradient(to bottom, rgba(17, 18, 21, 0) 25%, rgba(17, 18, 21, 0.8) 52%, rgba(17, 18, 21, 0.92) 100%);
  }
  .cup3d-stage {
    height: 420px;
  }
  .nav-tabs-dock {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .side-scroll-rail {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-logo-box:nth-child(2n) {
    border-right: none;
  }
  .testimonial-box-frame {
    padding: 35px 25px;
  }
  .testimonial-arrow-btn {
    position: static;
    transform: none;
  }
  /* Card on top, both arrows side by side underneath */
  .testimonial-carousel-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .testimonial-box-frame {
    order: -1;
    flex-basis: 100%;
  }
}

@media (max-width: 580px) {
  .hero-section {
    min-height: 900px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  /* 3D cup customizer: stack controls so nothing touches the panel edge */
  .cup-customizer-dock {
    padding: 22px 16px;
    gap: 24px;
  }
  .customizer-preview-col {
    padding: 0;
  }
  .cup3d-stage {
    height: 360px;
  }
  .color-picker-row,
  .finish-toggle-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .color-picker-row > .picker-label,
  .finish-toggle-row > .picker-label {
    flex-basis: 100%;
  }
  .color-dot-choices {
    flex-wrap: wrap;
  }
  .customizer-input-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .transform-controls-group {
    padding: 16px;
  }
  .customizer-actions-row {
    flex-direction: column;
  }
  .specs-data-table {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-3d-logo-wrap {
    max-width: 260px;
    margin-bottom: 16px;
  }
  .hero-actions {
    gap: 12px;
  }
  .cafex-card-box {
    max-width: 250px;
    padding: 18px 16px;
  }
  .cafex-badge-img {
    margin-bottom: 12px;
  }
  .products-cards-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .newsletter-banner-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
