/* ===== BASE & CUSTOM STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', 'Cormorant Garamond', Garamond, Georgia, serif;
  background-color: #F9F0E1;
  color: #3E2D1F;
  overflow-x: hidden;
}

/* Parchment paper texture overlay */
.parchment-bg {
  background-color: #F9F0E1;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212, 165, 84, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 133, 62, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(139, 111, 78, 0.05) 0%, transparent 50%);
}

.parchment-bg-alt {
  background-color: #F3E4C8;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(212, 165, 84, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(184, 133, 62, 0.08) 0%, transparent 50%);
}

/* Dark forest section */
.dark-forest-bg {
  background: linear-gradient(180deg,
      #0A1A10 0%,
      #132A1B 30%,
      #1E3D27 60%,
      #132A1B 85%,
      #0A1A10 100%);
}

/* Decorative dividers */
.vintage-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vintage-divider::before,
.vintage-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #B8853E, transparent);
}

/* Stamp / seal style */
.stamp-seal {
  border: 3px double #B8853E;
  border-radius: 50%;
  padding: 1.5rem 2rem;
  display: inline-block;
  text-align: center;
  position: relative;
}

.stamp-seal>span {
  display: block;
}

.stamp-seal::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #D4A554;
  border-radius: 50%;
}

/* Feature icon circle */
.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1.5px solid #B8853E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3A6A47;
  background: rgba(255, 255, 255, 0.4);
}

/* Tip icon circle (dark section) */
.tip-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid rgba(212, 165, 84, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5D78E;
}

/* Bee flight animations */
@keyframes beeFlight1 {
  0% {
    transform: translate(0, 110vh);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
    transform: translate(6vw, 85vh);
  }

  30% {
    transform: translate(-5vw, 60vh);
  }

  50% {
    transform: translate(8vw, 35vh);
  }

  70% {
    transform: translate(-4vw, 15vh);
  }

  90% {
    opacity: 0.8;
    transform: translate(3vw, -5vh);
  }

  100% {
    transform: translate(0, -20vh);
    opacity: 0;
  }
}

@keyframes beeFlight2 {
  0% {
    transform: translate(0, 110vh);
    opacity: 0;
  }

  15% {
    opacity: 0.8;
    transform: translate(-7vw, 80vh);
  }

  35% {
    transform: translate(5vw, 55vh);
  }

  55% {
    transform: translate(-8vw, 30vh);
  }

  75% {
    transform: translate(4vw, 10vh);
  }

  90% {
    opacity: 0.8;
    transform: translate(-3vw, -10vh);
  }

  100% {
    transform: translate(0, -20vh);
    opacity: 0;
  }
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(212, 165, 84, 0.9) 0%, rgba(212, 165, 84, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

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

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Honey drip SVG decoration */
.honey-drip {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Product image glow */
.product-glow {
  filter: drop-shadow(0 8px 24px rgba(212, 165, 84, 0.35));
}

/* Honeycomb pattern (subtle) */
.honeycomb-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23D4A554' stroke-width='0.4' opacity='0.12'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23D4A554' stroke-width='0.4' opacity='0.08'/%3E%3C/svg%3E");
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #9A7415;
}

/* Dark section text shadow */
.text-shadow-dark {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Floating CTA */
.cta-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.cta-fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A554, #B8853E);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(184, 133, 62, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-fab-main:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(184, 133, 62, 0.55);
}

.cta-fab-main svg {
  transition: transform 0.3s ease;
}

.cta-fab.open .cta-fab-main svg {
  transform: rotate(45deg);
}

.cta-fab-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cta-fab.open .cta-fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cta-fab.open .cta-fab-item:nth-child(1) {
  transition-delay: 0.05s;
}

.cta-fab.open .cta-fab-item:nth-child(2) {
  transition-delay: 0.1s;
}

.cta-fab.open .cta-fab-item:nth-child(3) {
  transition-delay: 0.15s;
}

.cta-fab-label {
  background: #fff;
  color: #5C4820;
  font-family: 'EB Garamond', serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.cta-fab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.cta-fab-icon:hover {
  transform: scale(1.1);
}

.cta-fab-icon.zalo {
  background: #0068FF;
}

.cta-fab-icon.messenger {
  background: linear-gradient(135deg, #FF6B6B, #A855F7, #3B82F6);
}

.cta-fab-icon.phone {
  background: #22C55E;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(184, 133, 62, 0.4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(184, 133, 62, 0.7);
  }
}

.cta-fab:not(.open) .cta-fab-main {
  animation: ctaPulse 3s ease-in-out infinite;
}
