/* ============================================
   Kayalex Balloons — Sydney
   Stylesheet (copy of HnK Party styles for Phase 1)
   Phase 2: Restyle for wholesale/professional vibe
   ============================================ */

/* ===== Tokens =====
   Brand palette: deep teal (#006f65) + warm tan (#c9af7f) on a cream base.
*/
:root {
  --cream: #faf6f0;
  --blush: #f0e6d2;
  --blush-deep: #e2d6b9;
  --terracotta: #006f65;
  --terracotta-dark: #004d45;
  --charcoal: #2b2520;
  --charcoal-soft: #4b3f34;
  --muted: #6b5e52;
  --soft-grey: #e8e0d0;
  --gold: #c9af7f;
  --gold-deep: #b89868;
  --success: #6b9c6b;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(43, 37, 32, 0.05);
  --shadow-md: 0 8px 24px rgba(43, 37, 32, 0.08);
  --shadow-lg: 0 12px 40px rgba(43, 37, 32, 0.1);

  --container: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--charcoal); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: 36px; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 48px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--soft-grey);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--terracotta); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links > li > a { font-size: 12px; font-weight: 500; color: var(--charcoal); transition: color 0.2s; text-transform: uppercase; letter-spacing: 1.8px; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--terracotta); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; font-size: 24px; padding: 4px 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 32px;
  background: var(--charcoal); color: var(--cream);
  border-radius: var(--radius-pill); font-weight: 600; font-size: 15px;
  transition: all 0.2s; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--terracotta); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); padding: 12px 30px; }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--charcoal); }
.btn-light:hover { background: var(--terracotta); color: var(--cream); }
.btn-small { padding: 10px 22px; font-size: 14px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blush) 0%, #f3ead7 40%, var(--blush-deep) 100%);
  padding: 100px 0 120px; position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.hero::before { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero::after { width: 300px; height: 300px; bottom: -80px; left: -80px; }
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-tag {
  display: inline-block; background: rgba(255,255,255,0.65);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--terracotta);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title { font-size: 56px; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; color: var(--charcoal-soft); margin: 0 auto 36px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Compact hero for inner pages */
.page-hero {
  background: linear-gradient(135deg, #006f65 0%, #00897c 60%, #c9af7f 100%);
  color: var(--cream);
  padding: 80px 0 70px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero h1 {
  color: var(--cream); font-size: 64px; margin-bottom: 12px;
  font-family: 'Italiana', var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: 1px;
}
.page-hero p {
  color: rgba(250,246,240,0.95); max-width: 660px; margin: 0 auto;
  font-size: 18px; line-height: 1.6;
}
.page-hero .hero-ctas { justify-content: center; margin-top: 28px; }
.page-hero .btn-light { background: #fff; color: var(--charcoal); border: 0; }
.page-hero .btn-light:hover { background: var(--cream); }

/* ===== Features strip ===== */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.features-grid.features-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) {
  .features-grid.features-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .features-grid.features-grid-4 { grid-template-columns: 1fr; }
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: var(--blush); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Contact ===== */
.contact-section { background: linear-gradient(135deg, var(--blush) 0%, var(--blush-deep) 100%); }

/* ===== Footer ===== */
.footer { background: var(--charcoal); color: #d9c9b7; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer h4 { color: var(--cream); font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a { transition: color 0.2s; }
.footer ul li a:hover { color: var(--terracotta); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--charcoal-soft); text-align: center; font-size: 13px; color: var(--muted); }
.footer-bottom span { color: var(--gold); }

/* ===== WhatsApp floating button ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 150;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab::after {
  content: 'Chat on WhatsApp';
  position: absolute; right: 68px; top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal); color: var(--cream);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-fab:hover::after { opacity: 1; }
@media (max-width: 500px) {
  .whatsapp-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-fab::after { display: none; }
}

/* ===== Gradient palette for placeholder visuals ===== */
.bg-g1 { background: linear-gradient(135deg, #f0e6d2, #ede4d0); color: #2b2520; }
.bg-g2 { background: linear-gradient(135deg, #e2d6b9, #d8c9a5); color: #2b2520; }
.bg-g3 { background: linear-gradient(135deg, #f3ead7, #e8d8b8); color: #2b2520; }
.bg-g4 { background: linear-gradient(135deg, #c9af7f, #b89868); color: #faf6f0; }
.bg-g5 { background: linear-gradient(135deg, #d8e5e0, #b9d2c8); color: #2b2520; }
.bg-g6 { background: linear-gradient(135deg, #006f65, #00897c); color: #faf6f0; }
.bg-g7 { background: linear-gradient(135deg, #e2d6b9, #c4d8d0); color: #2b2520; }
.bg-g8 { background: linear-gradient(135deg, #c9af7f, #006f65); color: #faf6f0; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px; gap: 8px; border-bottom: 1px solid var(--soft-grey); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero-title { font-size: 38px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero { padding: 60px 0 50px; }
  .page-hero p { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 80px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
}

/* ===== Nav dropdowns ===== */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a .caret {
  display: inline-block; margin-left: 2px; font-size: 10px;
  vertical-align: middle; transition: transform 0.2s; color: var(--muted);
}
.nav-links .has-dropdown:hover > a .caret { transform: rotate(180deg); color: var(--terracotta); }
.nav-links .dropdown {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 220px;
  background: var(--cream); box-shadow: 0 8px 28px rgba(43, 37, 32, 0.12);
  border: 1px solid var(--soft-grey); border-radius: var(--radius-md);
  padding: 8px 0; list-style: none; display: flex; flex-direction: column;
  gap: 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 110;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown li { margin: 0; }
.nav-links .dropdown li a {
  display: block; padding: 9px 18px; font-size: 14px; font-weight: 500;
  white-space: nowrap; color: var(--charcoal);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.nav-links .dropdown li a:hover { background: var(--blush); color: var(--terracotta); padding-left: 22px; }
@media (max-width: 900px) {
  .nav-links .has-dropdown { width: 100%; }
  .nav-links .has-dropdown > a .caret { float: right; }
  .nav-links .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 4px 0 8px 16px; min-width: 0;
  }
  .nav-links .dropdown li a { padding: 6px 12px; font-size: 13px; color: var(--muted); }
}

/* ===== Bebas Neue for numeric content site-wide =====
   Applied to prices, stats, totals, step indicators, etc.
   Uses !important to override per-page inline font-family rules. */
.price, .price-big, .product-meta .price-big,
.package-price, .package-body .package-price,
.cart-count, .cart-subtotal strong,
.tier-price, .grabgo-tier .tier-price, .tier-card .tier-price,
.qi-num, .pt-price, .sc-size,
.kit-from, .kit-card-foot .kit-from,
.pd-from .price, .variant-row .v-price,
.set-total .st-value, .set-includes .item-price, .item-price,
.quote-total .t-value, .quote-row .q-value,
.how-step .num, .step .step-num, .step-num, .process-step .ps-num,
.tier-essential strong,
.pricing-tier .pt-price, .pricing-tier .pt-sub {
  font-family: 'Bebas Neue', 'Playfair Display', sans-serif !important;
  letter-spacing: 1.5px !important;
  font-weight: 400 !important;
}
.tier-price small, .pt-price small, .price small,
.price-big small, .package-price small, .set-total .st-value small,
.kit-from small, .pd-from small {
  font-family: 'Inter', sans-serif !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--muted) !important;
  margin-left: 4px !important;
  text-transform: lowercase !important;
}
.step .step-num, .step-num {
  font-size: 28px !important;
}
