/* ==========================================================================
   Karakka Foods — stylesheet
   Palette: warm black + antique gold, echoing the provided logo/brochure
   Display face: Fraunces (warm, characterful serif)
   Body face:    Manrope (clean, humanist)
   Utility face: 'Space Grotesk' small-caps labels
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600&display=swap');

:root{
  /* colors */
  --bg:            #0c0a08;
  --bg-panel:      #15120e;
  --bg-panel-2:    #1c1712;
  --line:          #322a20;
  --gold:          #cc9f4f;
  --gold-light:    #eecf8e;
  --gold-deep:     #8f6d31;
  --ivory:         #f4ecdc;
  --muted:         #a89a83;
  --muted-dim:     #7a6e5c;
  --spice:         #b8532f;
  --whatsapp:      #3fae5c;

  /* type */
  --f-display: 'Fraunces', 'Georgia', serif;
  --f-body:    'Manrope', -apple-system, sans-serif;
  --f-label:   'Space Grotesk', 'Manrope', sans-serif;

  /* layout */
  --max: 1120px;
  --pad: 20px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section{ position: relative; }

/* subtle warm noise / vignette so black panels don't look flat */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------ headings -------------------------------- */

.eyebrow{
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before{
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

h1, h2, h3{
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ivory);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2{
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
}

.section-head{
  max-width: 620px;
  margin: 0 0 40px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

p{ margin: 0 0 16px; color: var(--muted); }

/* ------------------------------- buttons -------------------------------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--f-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:focus-visible{ outline: 2px solid var(--gold-light); outline-offset: 3px; }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #1a1006;
  box-shadow: 0 8px 24px -8px rgba(204,159,79,0.55);
}
.btn-primary:hover{ box-shadow: 0 10px 28px -6px rgba(204,159,79,0.7); }

.btn-outline{
  background: transparent;
  border-color: var(--line);
  color: var(--ivory);
}
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-light); }

.btn-block{ width: 100%; }

.btn svg{ width: 18px; height: 18px; flex: none; }

/* ================================ HEADER ================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,10,8,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
}
.brand-name{
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
}
.brand-name span{
  display: block;
  font-family: var(--f-label);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted-dim);
  text-transform: uppercase;
  font-weight: 500;
}

.main-nav{
  display: none;
}
.main-nav ul{
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a{
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease;
}
.main-nav a:hover{ color: var(--gold-light); }

.header-cta{ display: none; }

.menu-toggle{
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  cursor: pointer;
  flex: none;
}
.menu-toggle svg{ width: 20px; height: 20px; }

.mobile-nav{
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 24px var(--pad) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-nav.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav ul{ list-style: none; margin: 0; padding: 0; }
.mobile-nav li{ border-bottom: 1px solid var(--line); }
.mobile-nav a{
  display: block;
  padding: 18px 4px;
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--ivory);
}
.mobile-nav .btn{ margin-top: 26px; }

@media (min-width: 900px){
  .main-nav{ display: block; }
  .header-cta{ display: inline-flex; }
  .menu-toggle{ display: none; }
  .mobile-nav{ display: none; }
}

/* ================================= HERO =================================== */

.hero{
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(204,159,79,0.16), transparent 60%),
    var(--bg);
  overflow: hidden;
  position: relative;
}

.hero-leaf{
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.hero-leaf svg{ width: 100%; height: 100%; }

.hero .container{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-medallion{
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px -14px rgba(0,0,0,0.7);
}

.hero h1{
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.08;
  max-width: 15ch;
  font-weight: 600;
}
.hero h1 em{
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-desc{
  max-width: 46ch;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions{
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 340px;
}
@media (min-width: 480px){
  .hero-actions{ flex-direction: row; max-width: none; justify-content: center; }
}

.hero-meta{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill{
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pill .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ============================ PRE-ORDER BANNER ============================ */

.preorder-band{
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.preorder-band .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  text-align: center;
}
.preorder-band p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.preorder-band strong{ color: var(--gold-light); font-weight: 700; }

/* ================================= MENU ==================================== */

.section-menu{ padding: 88px 0 72px; }

.menu-frame{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--bg-panel);
  max-width: 760px;
  margin: 0 auto;
}
.menu-frame button.menu-img-btn{
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
}
.menu-frame img{
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
}
.menu-frame .tap-hint{
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(12,10,8,0.82);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.menu-frame .tap-hint svg{ width: 14px; height: 14px; }

.menu-cta{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.menu-note{
  text-align: center;
  max-width: 480px;
  margin: 18px auto 0;
  font-size: 13.5px;
  color: var(--muted-dim);
}

/* lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6,5,4,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open{ display: flex; }
.lightbox img{
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
.lightbox-close{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close svg{ width: 20px; height: 20px; }

/* =============================== ABOUT =================================== */

.section-about{
  padding: 80px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid{
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-copy p{ font-size: 16px; color: var(--muted); }
.about-copy p:last-child{ margin-bottom: 0; }

.about-figure{
  display: flex;
  justify-content: center;
}
.about-figure .ring{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-figure img{
  width: 176px;
  height: 176px;
  border-radius: 50%;
}

@media (min-width: 860px){
  .about-grid{ grid-template-columns: 1.1fr 0.7fr; }
  .about-figure{ order: 2; }
}

/* ============================== WHY CHOOSE US ============================= */

.section-why{ padding: 84px 0; }

.why-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px){ .why-grid{ grid-template-columns: repeat(4, 1fr); } }

.why-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--bg-panel);
  transition: border-color 0.2s ease;
}
.why-card:hover{ border-color: var(--gold-deep); }
.why-card .icon{
  width: 42px; height: 42px;
  margin-bottom: 18px;
  color: var(--gold);
}
.why-card .icon svg{ width: 100%; height: 100%; }
.why-card h3{
  font-size: 17px;
  margin-bottom: 8px;
}
.why-card p{ font-size: 14px; margin: 0; color: var(--muted-dim); }

/* ============================== HOW TO ORDER =============================== */

.section-order{
  padding: 84px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-steps{
  display: grid;
  gap: 28px;
  counter-reset: step;
  margin-bottom: 44px;
}
@media (min-width: 760px){ .order-steps{ grid-template-columns: repeat(3, 1fr); } }

.order-step{ position: relative; padding-left: 0; }
.order-step .num{
  font-family: var(--f-display);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.order-step h3{ font-size: 18px; margin-bottom: 8px; }
.order-step p{ font-size: 14.5px; margin: 0; }

.order-note{
  background: rgba(204,159,79,0.08);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 32px;
}
.order-note strong{ color: var(--ivory); }

.order-actions{ display: flex; justify-content: center; }

/* ============================== DELIVERY AREAS ============================= */

.section-delivery{ padding: 84px 0; }

.delivery-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(204,159,79,0.09), transparent 70%), var(--bg-panel);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.delivery-card .radius-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 20px;
}
.delivery-card h3{
  font-family: var(--f-display);
  font-size: 24px;
  margin-bottom: 10px;
}
.delivery-card .areas{
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.delivery-card .fine{
  font-size: 13px;
  color: var(--muted-dim);
  margin: 0;
}

/* ================================ INSTAGRAM ================================ */

.section-insta{
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  border-top: 1px solid var(--line);
}
.section-insta .eyebrow{ justify-content: center; }
.section-insta h2{ max-width: 22ch; margin-left: auto; margin-right: auto; }
.section-insta p{ max-width: 46ch; margin-left: auto; margin-right: auto; }
.insta-handle{
  font-family: var(--f-label);
  color: var(--gold-light);
  font-size: 15px;
  margin-bottom: 26px;
  display: block;
}

/* ================================= CONTACT ================================= */

.section-contact{
  padding: 88px 0 96px;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.contact-panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel-2);
  padding: 44px 26px;
  text-align: center;
}
.contact-panel .brand-name{ font-size: 22px; margin-bottom: 6px; justify-content:center; }
.contact-panel h2{ margin-bottom: 8px; }

.contact-list{
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.contact-list li{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.contact-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.contact-list .ic{
  width: 20px; height: 20px; flex: none; color: var(--gold);
}
.contact-list .ic svg{ width: 100%; height: 100%; }
.contact-list a{ color: var(--ivory); }
.contact-list a:hover{ color: var(--gold-light); }

/* ================================== FOOTER ================================== */

.site-footer{
  background: var(--bg);
  padding: 48px 0 28px;
}
.footer-top{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer-top img{ width: 52px; height: 52px; border-radius: 50%; }
.footer-top .brand-name{ font-size: 20px; }
.footer-tagline{ color: var(--muted-dim); font-size: 14px; margin: 0; max-width: 40ch; }

.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}
.footer-links a{
  font-family: var(--f-label);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a:hover{ color: var(--gold-light); }

.footer-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted-dim);
  font-size: 12.5px;
}
.footer-bottom .tags{
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-bottom .tag{
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: var(--f-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10.5px;
}

/* =============================== WHATSAPP FAB =============================== */

.wa-fab{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.6);
  transition: transform 0.15s ease;
}
.wa-fab:hover{ transform: scale(1.06); }
.wa-fab svg{ width: 28px; height: 28px; color: #fff; }
.wa-fab:focus-visible{ outline: 2px solid var(--gold-light); outline-offset: 3px; }

@media (min-width: 900px){
  .wa-fab{ display: none; } /* header CTA already visible on desktop */
}

/* =============================== utility =============================== */

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

::selection{ background: var(--gold-deep); color: #fff; }
