/* ===================================================================
   GIFTORATE - LUXURY CORPORATE GIFTING
   Brand Guidelines:
   - Primary Deep Wine / Plum: #6E1740
   - Light Rose / Cream: #FFEFF7
   - Neutral Dark: #303030
   - Headline Font: Ciguatera
   - Body Font: Manrope
   =================================================================== */

/* -------------------------------------------------------------------
   1. PRIMARY FONT (Headline): Ciguatera
   ------------------------------------------------------------------- */
@font-face {
  font-family: 'Ciguatera';
  src: url('../fonts/CIGUATERA.TTF') format('truetype'),
       url('../fonts/ciguatera.ttf') format('truetype'),
       url('../fonts/ciguatera.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------
   2. SECONDARY FONT (Body Content): Manrope (Local Weights)
   ------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-EXTRALIGHT.TTF') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-LIGHT.TTF') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-REGULAR.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-MEDIUM.TTF') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-SEMIBOLD.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-BOLD.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/MANROPE-EXTRABOLD.TTF') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #6E1740;
  --color-primary-dark: #4A0E2A;
  --color-primary-light: #8E2356;
  --color-primary-soft: #F5E6EE;
  --color-accent-cream: #FFEFF7;
  --color-accent-gold: #D4AF37;
  --color-accent-gold-light: #F3E5AB;
  --color-charcoal: #303030;
  --color-text-muted: #6B7280;
  --color-bg-light: #FDF9FB;
  --font-headline: 'Ciguatera', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

.font-headline {
  font-family: var(--font-headline);
}

.font-body {
  font-family: var(--font-body);
}

/* Luxury Color Helpers */
.bg-brand-plum {
  background-color: var(--color-primary);
}

.bg-brand-plum-dark {
  background-color: var(--color-primary-dark);
}

.bg-brand-cream {
  background-color: var(--color-accent-cream);
}

.text-brand-plum {
  color: var(--color-primary);
}

.text-brand-gold {
  color: var(--color-accent-gold);
}

.border-brand-plum {
  border-color: var(--color-primary);
}

/* Luxury Gradients & Backgrounds */
.hero-banner-section {
  position: relative;
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #230414;
}

/* Luxury wine-dark scrim: lets the entire hamper photo show through while giving text 100% crystal contrast */
.hero-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 4, 15, 0.88) 0%,
    rgba(25, 4, 15, 0.72) 45%,
    rgba(25, 4, 15, 0.30) 70%,
    rgba(25, 4, 15, 0.10) 100%
  );
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-banner-section {
    background-position: center center;
  }
  .hero-banner-section::before {
    background: linear-gradient(
      180deg,
      rgba(25, 4, 15, 0.82) 0%,
      rgba(25, 4, 15, 0.70) 50%,
      rgba(25, 4, 15, 0.84) 100%
    );
  }
}

.bg-hero-gradient {
  background: 
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(110, 23, 64, 0.09) 0%, rgba(255, 239, 247, 0.5) 45%, rgba(253, 249, 251, 0) 70%),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(255, 239, 247, 0.7) 0%, rgba(253, 249, 251, 0) 60%),
    #FDF9FB;
}

.bg-plum-gradient {
  background: linear-gradient(135deg, #6E1740 0%, #4A0E2A 100%);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #AA8010 100%);
}

.bg-subtle-glow {
  background: radial-gradient(circle at 50% 50%, rgba(110, 23, 64, 0.15) 0%, rgba(255, 239, 247, 0) 70%);
}

/* Luxury Hero Elements */
.hero-glass-badge {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 210, 105, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-countdown-tile {
  background: rgba(15, 2, 9, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 210, 105, 0.3);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-countdown-tile:hover {
  background: rgba(35, 6, 20, 0.8);
  transform: translateY(-3px);
  border-color: rgba(255, 210, 105, 0.6);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.5);
}

.hero-countdown-tile:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-3px);
  border-color: rgba(110, 23, 64, 0.35);
  box-shadow: 0 12px 30px -6px rgba(110, 23, 64, 0.15);
}

.hero-halo-glow {
  background: radial-gradient(circle, rgba(110, 23, 64, 0.22) 0%, rgba(255, 239, 247, 0.15) 50%, transparent 70%);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(110, 23, 64, 0.12);
}

.glass-panel-dark {
  background: rgba(74, 14, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 239, 247, 0.15);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #6E1740 0%, #520F2F 100%);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(110, 23, 64, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #821C4D 0%, #6E1740 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 23, 64, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: var(--color-accent-cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 23, 64, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #C49B24 100%);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E0BE4D 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

/* Custom Ribbon Decoration */
.ribbon-tag {
  position: relative;
  background: var(--color-primary);
  color: white;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* Countdown Card */
.countdown-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(110, 23, 64, 0.15);
  box-shadow: 0 10px 25px -5px rgba(110, 23, 64, 0.08);
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-4px);
}

/* Card hover luxury effect */
.luxury-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(110, 23, 64, 0.08);
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(110, 23, 64, 0.16);
  border-color: rgba(110, 23, 64, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf9fb;
}

::-webkit-scrollbar-thumb {
  background: #6E1740;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A0E2A;
}

/* Modal styles */
.modal-backdrop {
  background-color: rgba(48, 48, 48, 0.65);
  backdrop-filter: blur(8px);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 95px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  animation: slideInRight 0.4s ease forwards;
  min-width: 300px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating Contact Actions (WhatsApp & Call) */
.floating-contact-btn {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  text-decoration: none;
}

.floating-contact-btn:hover .floating-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .toast-container {
    bottom: 120px;
    right: 16px;
    left: 16px;
  }
}

/* Mobile Carousel Slider Utilities */
.mobile-snap-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-snap-slider::-webkit-scrollbar {
  display: none;
}

.mobile-snap-slide {
  scroll-snap-align: start;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .mobile-snap-slider {
    display: grid;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .mobile-snap-slide {
    flex: 1 1 auto;
  }
}
