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

body {
  overflow-x: hidden;
}

::selection {
  background: #C9A15A;
  color: #FAF6EC;
}

/* ===================== Header ===================== */
#navbar {
  background: rgba(250, 246, 236, 0);
}

#navbar.scrolled {
  background: rgba(250, 246, 236, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(22, 35, 63, 0.08);
}

.nav-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 9999px;
}

.nav-logo-fallback {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #16233F;
  color: #C9A15A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-link {
  position: relative;
  color: #16233F;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #C9A15A;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #C9A15A;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(22, 35, 63, 0.08);
  color: #16233F;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  color: #C9A15A;
  padding-left: 0.5rem;
}

#menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
#menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== Hero ===================== */
.hero-gradient {
  background: radial-gradient(circle at 15% 20%, #F2E4C4 0%, #FAF6EC 45%, #FAF6EC 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: -1;
  animation: float 10s ease-in-out infinite;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: #C9A15A;
  top: -80px;
  right: 5%;
}

.blob-2 {
  width: 260px;
  height: 260px;
  background: #16233F;
  bottom: -60px;
  left: 0;
  opacity: 0.12;
  animation-delay: -4s;
}

.blob-dark {
  position: absolute;
  width: 420px;
  height: 420px;
  background: #C9A15A;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.2;
  top: -120px;
  right: -100px;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-25px) translateX(15px); }
}

.hero-plate {
  width: min(420px, 90%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #EFE1BF);
  box-shadow: 0 30px 60px -20px rgba(22, 35, 63, 0.25), inset 0 0 0 12px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 8s ease-in-out infinite;
}

.hero-plate-inner {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: linear-gradient(160deg, #16233F, #2A3C63);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 8px 20px rgba(0,0,0,0.25);
}

.floating-card {
  position: absolute;
  background: #ffffff;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16233F;
  box-shadow: 0 12px 30px -8px rgba(22, 35, 63, 0.25);
  animation: bob 5s ease-in-out infinite;
  white-space: nowrap;
}

.card-1 {
  top: 8%;
  left: -4%;
}

.card-2 {
  bottom: 10%;
  right: -6%;
  animation-delay: -2.5s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===================== Buttons ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #16233F;
  color: #FAF6EC;
  font-weight: 600;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 25px -10px rgba(22, 35, 63, 0.5);
}

.btn-primary:hover {
  background: #C9A15A;
  color: #16233F;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(201, 161, 90, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #16233F;
  font-weight: 600;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 2px solid rgba(22, 35, 63, 0.25);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: #16233F;
  background: rgba(22, 35, 63, 0.06);
  transform: translateY(-3px);
}

/* ===================== Section helpers ===================== */
.eyebrow {
  color: #C9A15A;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 600;
  color: #16233F;
  line-height: 1.2;
}

/* ===================== About ===================== */
.about-tile {
  border-radius: 1.75rem;
  transition: transform 0.4s ease;
}

.about-tile:hover {
  transform: translateY(-8px) scale(1.02);
}

.stat-box {
  text-align: center;
  background: #FAF6EC;
  border-radius: 1.25rem;
  padding: 1.25rem 0.5rem;
}

/* ===================== Products ===================== */
.product-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 10px 30px -18px rgba(22, 35, 63, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px -18px rgba(22, 35, 63, 0.3);
}

.product-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  transition: transform 0.35s ease;
}

.product-card:hover .product-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* ===================== Wholesale ===================== */
.wholesale-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 2rem 1rem;
  text-align: center;
  transition: transform 0.35s ease, background 0.35s ease;
}

.wholesale-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

/* ===================== Mission / Vision ===================== */
.mv-card {
  background: #FAF6EC;
  border-radius: 1.75rem;
  padding: 2.5rem;
  transition: transform 0.35s ease;
}

.mv-card:hover {
  transform: translateY(-6px);
}

/* ===================== Values ===================== */
.value-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 24px -16px rgba(22, 35, 63, 0.2);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -18px rgba(22, 35, 63, 0.3);
}

.value-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto;
  border-radius: 50%;
  background: #FAF6EC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ===================== Contact ===================== */
.contact-email-card {
  margin-top: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: #FAF6EC;
  border: 1px solid rgba(201, 161, 90, 0.35);
  border-radius: 1.75rem;
  padding: 1.75rem 2.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 15px 35px -20px rgba(22, 35, 63, 0.3);
}

.contact-email-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 25px 45px -18px rgba(22, 35, 63, 0.3);
}

.contact-email-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #16233F;
  color: #C9A15A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ===================== Footer ===================== */
.footer-link {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-link:hover {
  color: #C9A15A;
  padding-left: 4px;
}

/* ===================== Scroll reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Back to top ===================== */
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: #C9A15A;
  color: #16233F;
}

/* ===================== Offer modal ===================== */
.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.offer-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.offer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 48, 0.65);
  backdrop-filter: blur(4px);
}

.offer-card {
  position: relative;
  width: min(440px, 100%);
  background: #FAF6EC;
  border-radius: 2rem;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  box-shadow: 0 40px 80px -25px rgba(13, 23, 48, 0.55);
  border: 1px solid rgba(201, 161, 90, 0.35);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.offer-modal.show .offer-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.offer-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 9999px;
}

.offer-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(22, 35, 63, 0.06);
  color: #16233F;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.offer-close-btn:hover {
  background: rgba(22, 35, 63, 0.12);
  transform: rotate(90deg);
}

.offer-price {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
}

#offer-price-value {
  font-size: 3rem;
  font-weight: 700;
  color: #16233F;
  line-height: 1;
}

.offer-price-unit {
  font-size: 1rem;
  color: rgba(22, 35, 63, 0.6);
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}

.offer-shipping {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 161, 90, 0.18);
  color: #16233F;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.offer-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-dismiss {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(22, 35, 63, 0.55);
  transition: color 0.25s ease;
}

.offer-dismiss:hover {
  color: #16233F;
}

/* ===================== Scrollbar ===================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FAF6EC;
}
::-webkit-scrollbar-thumb {
  background: #E8D6A8;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C9A15A;
}
