/* =======================================
   Lumina Clone — Component-specific CSS
   (home, product cards, hero, FAQ, etc.)
   ======================================= */

/* ─── Announcement Ticker ─── */
.ticker-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: tickerScroll 28s linear infinite;
}
.ticker-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Header Scrolled State ─── */
#mainHeader.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-container { gap: 20px; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-main);
}
.nav-dropdown-menu a:hover {
  background: var(--primary-glow);
  color: var(--primary);
  padding-left: 24px;
}

/* ─── Burger Mobile Menu ─── */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
@media (max-width: 768px) {
  .burger-btn { display: flex; }
}
#mobileMenu {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 20px 24px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-md);
}
#mobileMenu.open { display: flex; }
#mobileMenu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 500;
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 75px;
}
.hero-video-layer {
  position: absolute;
  inset: 0;
}
.hero-video-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-video-item.active { opacity: 1; }
.hero-video-item video,
.hero-video-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.3) 60%,
    rgba(9,177,236,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 750px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}
.hero-content h1 {
  color: #FFDE59;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-content p {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 40px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(9,177,236,0.4);
  transition: var(--transition-bounce);
}
.btn-hero-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(9,177,236,0.5);
}
.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bobble 2s ease-in-out infinite;
}
.scroll-indicator span {
  display: block;
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  position: relative;
}
.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes bobble {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

/* ─── Trust Bar ─── */
.trust-bar {
  background: var(--bg-white);
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.trust-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Categories Section ─── */
.categories-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 24px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: var(--transition-bounce);
}
.cat-card:hover { transform: translateY(-8px); }
.cat-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.cat-card:hover .cat-circle {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-glow);
}
.cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cat-card:hover .cat-circle img { transform: scale(1.1); }
.cat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── How It Works ─── */
.how-section {
  padding: 80px 0;
  background: var(--bg-white);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
@media (max-width: 768px) { .how-steps::before { display: none; } }
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px var(--primary-glow);
}
.step-card h3 { font-size: 17px; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Bestsellers Carousel ─── */
.products-carousel-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.carousel-header h2 { font-size: 32px; }
.carousel-controls { display: flex; gap: 12px; }
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.products-carousel-wrap { overflow: hidden; }
.products-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 10px;
}
.products-carousel::-webkit-scrollbar { display: none; }
.products-carousel .product-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
}
.view-all-wrap { text-align: center; margin-top: 40px; }
.btn-outline {
  display: inline-block;
  padding: 13px 36px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* ─── Add-to-cart button on card ─── */
.card-add-btn {
  display: block;
  width: 100%;
  padding: 11px;
  margin-top: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
}
.card-add-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ─── Testimonials ─── */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, hsl(196,93%,97%) 0%, hsl(205,96%,96%) 100%);
  overflow: hidden;
}
.testimonials-outer {
  overflow: hidden;
  border-radius: 20px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--bg-white);
  border-radius: 20px;
}
.testimonial-quote {
  flex: 1;
}
.testimonial-stars {
  color: var(--stars);
  font-size: 18px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-name { font-weight: 600; font-size: 16px; }
.testimonial-occasion { font-size: 13px; color: var(--text-muted); }
.testimonial-product-img {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.testimonial-prev, .testimonial-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition-smooth);
}
.testimonial-prev:hover, .testimonial-next:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .testimonial-card { flex-direction: column; padding: 24px; }
  .testimonial-product-img { width: 100%; height: 240px; }
}

/* ─── FAQ Section ─── */
.faq-section {
  padding: 80px 0;
  background: var(--bg-white);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  gap: 12px;
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ─── Brand Story Banner ─── */
.story-banner {
  padding: 80px 0;
  background: var(--text-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-text h2 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 20px;
}
.story-text h2 em { color: var(--primary); font-style: normal; }
.story-text p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.story-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .story-content { grid-template-columns: 1fr; }
  .story-img { order: -1; }
}

/* ─── Social Proof Strip ─── */
.social-proof {
  padding: 70px 0;
  text-align: center;
  background: var(--bg-light);
}
.social-proof h2 { font-size: 30px; margin-bottom: 40px; }
.social-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.social-gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.social-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.social-gallery-item:hover img { transform: scale(1.1); }
.social-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,177,236,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #fff;
  font-size: 28px;
}
.social-gallery-item:hover .social-gallery-overlay { opacity: 1; }

/* ─── Scroll-reveal utility ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ─── Drawer Cart Item Styles ─── */
.drawer-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.drawer-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.drawer-item-img img { width:100%; height:100%; object-fit:cover; }
.drawer-item-info { flex-grow: 1; }
.drawer-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.drawer-item-variation {
  display: inline-block;
  font-size: 11px;
  background: var(--primary-glow);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.drawer-item-msg { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.drawer-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.drawer-item-qty button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.drawer-item-qty span { font-weight: 600; font-size: 15px; }
.drawer-item-price { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.drawer-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--text-muted);
  font-size: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}
.drawer-item-remove:hover { background: var(--tag-sale); color: #fff; }

/* ─── Toast Notification ─── */
.gb-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
  opacity: 0;
}
.gb-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.gb-toast-success { background: #111; border-left: 4px solid var(--primary); }
.gb-toast-error { background: #111; border-left: 4px solid var(--tag-sale); }

/* ─── Whatsapp Float Button ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
  transition: var(--transition-bounce);
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.15); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waFloat {
  0%,100% { box-shadow: 0 8px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 12px 30px rgba(37,211,102,0.6); }
}
