/* ==========================================================================
   Anamuz — Anamur Banana Farm
   Mobile-first stylesheet. Palette:
   --yellow  #F4D03F  (banana yellow, primary CTA)
   --green   #27AE60  (banana leaf, WhatsApp)
   --orange  #E67E22  (ripe banana spots, accents)
   --cream   #FEF9E7  (page background)
   --dark    #2C3E50  (text)
   ========================================================================== */

:root {
  --yellow: #F4D03F;
  --yellow-dark: #d4b112;
  --green: #27AE60;
  --green-dark: #1e8a4c;
  --orange: #E67E22;
  --cream: #FEF9E7;
  --dark: #2C3E50;
  --gray: #7f8c8d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(44, 62, 80, .10);
  --shadow-lg: 0 12px 32px rgba(44, 62, 80, .16);
  --radius: 16px;
  --alert-h: 0px; /* set by JS while alert bar is visible */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }

a { color: inherit; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 40px;
}

.title-underline {
  display: block;
  width: 72px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  margin: 12px auto 0;
}

/* --------------------------------------------------------------------------
   1. Alert bar
   -------------------------------------------------------------------------- */
.alert-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--yellow);
  color: var(--dark);
  font-size: .82rem;
  font-weight: 500;
  padding: 8px 44px 8px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(44, 62, 80, .12);
}

.alert-bar.hidden { display: none; }

.alert-close {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(44, 62, 80, .12);
  color: var(--dark);
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.alert-close:hover { background: rgba(44, 62, 80, .25); }

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: var(--alert-h);
  left: 0; right: 0;
  z-index: 50;
  background: rgba(254, 249, 231, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s, background .3s, top .3s;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-decoration: none;
}
.logo svg { width: 32px; height: 32px; }

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--green); border-color: var(--yellow); }

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--yellow-dark);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--yellow-dark); }

.lang-switch {
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--dark);
  border-radius: 999px;
  padding: 5px 12px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.lang-switch:hover { background: var(--dark); color: var(--cream); }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  border: 0;
  background: var(--yellow);
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid rgba(44, 62, 80, .08);
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .04em;
}
.mobile-menu a:active, .mobile-menu a:hover { background: var(--cream); color: var(--green); }
.mobile-menu .menu-call {
  margin: 8px 24px 12px;
  background: var(--yellow);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: url('../4b8bdfb1-b07a-43ae-9d47-f3d43517660c.jpeg') center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 46, 32, .78) 0%, rgba(24, 46, 32, .55) 55%, rgba(254, 249, 231, .96) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(244, 208, 63, .18);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hero h1 .accent { color: var(--yellow); }

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, .92);
  max-width: 680px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 16px 34px;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 0 var(--yellow-dark), 0 10px 26px rgba(0, 0, 0, .28);
}
.btn-yellow:hover { box-shadow: 0 6px 0 var(--yellow-dark), 0 14px 30px rgba(0, 0, 0, .3); }

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 0 var(--green-dark), 0 10px 26px rgba(0, 0, 0, .18);
}
.btn-green:hover { box-shadow: 0 6px 0 var(--green-dark), 0 14px 30px rgba(0, 0, 0, .22); }

.btn-blue {
  background: #2E86C1;
  color: var(--white);
  box-shadow: 0 4px 0 #21618C, 0 10px 26px rgba(0, 0, 0, .18);
}

.hero-phone {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .95;
}
.hero-phone strong { color: var(--yellow); letter-spacing: .08em; }

/* --------------------------------------------------------------------------
   4. Order options cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--yellow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:nth-child(2) { border-top-color: var(--green); }
.card:nth-child(3) { border-top-color: var(--orange); }

.card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 34px; height: 34px; }

.card h3 { font-size: 1.1rem; font-weight: 700; }

.card p { color: var(--gray); font-size: .92rem; flex: 1; }

.card-badge {
  display: inline-block;
  background: var(--cream);
  border: 1px dashed var(--orange);
  color: var(--orange);
  font-size: .78rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 14px 0 18px;
}

.card .btn { font-size: .85rem; padding: 13px 20px; width: 100%; }

/* --------------------------------------------------------------------------
   5. Why us
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.feature {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 36px; height: 36px; }
.feature:nth-child(2) .feature-icon { background: linear-gradient(135deg, #7DCEA0, var(--green)); }
.feature:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--orange), #CA6F1E); }

.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--gray); font-size: .92rem; margin: 0; }

/* --------------------------------------------------------------------------
   6. How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  position: relative;
}

.step { text-align: center; position: relative; }

.step-number {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(244, 208, 63, .25);
  position: relative;
  z-index: 1;
}

.step h3 { font-size: 1.05rem; }
.step p { color: var(--gray); font-size: .92rem; margin: 0; max-width: 300px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   7. Ripeness guide
   -------------------------------------------------------------------------- */
.ripeness-figure {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 0 0 28px;
}
.ripeness-figure img { border-radius: 10px; margin: 0 auto; }
.ripeness-figure figcaption {
  text-align: center;
  color: var(--gray);
  font-size: .82rem;
  padding-top: 12px;
}

.ripeness-scale {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.ripeness-stage {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .85rem;
}

.stage-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.ripeness-stage strong { display: block; font-size: .88rem; }
.ripeness-stage span { color: var(--gray); }

/* --------------------------------------------------------------------------
   8. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--yellow) 0%, #F7DC6F 55%, var(--orange) 130%);
  text-align: center;
  padding: 64px 0;
}

.final-cta h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.final-cta p { max-width: 620px; margin: 0 auto 32px; font-weight: 500; }

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.final-cta-buttons .btn { width: 100%; max-width: 380px; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .85);
  padding: 44px 0 110px; /* bottom padding clears the floating CTA bar */
  font-size: .88rem;
}

.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }

.site-footer .logo { color: var(--yellow); margin-bottom: 10px; }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

.seo-text {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .35);
  font-size: .72rem;
  line-height: 1.7;
}

.copyright { margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: .75rem; }

/* --------------------------------------------------------------------------
   10. Floating mobile CTA bar
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 55;
  display: flex;
  box-shadow: 0 -4px 18px rgba(44, 62, 80, .25);
}

.floating-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px calc(15px + env(safe-area-inset-bottom, 0px));
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: .05em;
}
.floating-cta svg { width: 22px; height: 22px; }
.floating-cta .call { background: var(--yellow); color: var(--dark); }
.floating-cta .whatsapp { background: var(--green); color: var(--white); }

/* --------------------------------------------------------------------------
   Scroll animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   FAQ page
   -------------------------------------------------------------------------- */
.faq-hero {
  background: linear-gradient(135deg, var(--yellow) 0%, #F7DC6F 60%, var(--orange) 160%);
  padding: 150px 0 48px;
  text-align: center;
}
.faq-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.faq-hero p { max-width: 640px; margin: 0 auto; font-weight: 500; }

.faq-search {
  max-width: 560px;
  margin: 26px auto 0;
  position: relative;
}
.faq-search input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.faq-search svg {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--gray);
}
.faq-count { margin-top: 12px; font-size: .82rem; font-weight: 600; color: rgba(44,62,80,.75); }

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 980px;
}
.faq-nav a {
  background: var(--white);
  border: 1px solid rgba(44,62,80,.12);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.faq-nav a:hover { background: var(--yellow); border-color: var(--yellow); }

.faq-cat { margin-bottom: 44px; scroll-margin-top: 110px; }
.faq-cat > h2 {
  font-size: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  border-left: 5px solid var(--yellow);
  padding-left: 14px;
  margin-bottom: 18px;
}
.faq-cat > h2 small { font-size: .78rem; font-weight: 600; color: var(--gray); }

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item[hidden] { display: none; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 14px 42px 14px 16px;
  font-weight: 600;
  font-size: .92rem;
  position: relative;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--cream); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.qno {
  flex: none;
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--cream);
  border-radius: 6px;
  padding: 2px 7px;
}
.faq-a { padding: 0 16px 16px 16px; color: var(--gray); font-size: .9rem; }
.faq-a p { margin: 0; }
.faq-noresult {
  display: none;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 20px;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
/* Alert bar smaller on small phones */
@media (max-width: 479px) {
  .alert-bar {
    font-size: .7rem;
    padding: 5px 36px 5px 10px;
    line-height: 1.35;
  }
}

/* --------------------------------------------------------------------------
   Cookie consent banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--dark);
  color: rgba(255, 255, 255, .9);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  line-height: 1.45;
  box-shadow: 0 -4px 18px rgba(44, 62, 80, .3);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; flex: 1; min-width: 180px; }
.cookie-banner a { color: var(--yellow); text-underline-offset: 3px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--yellow);
  color: var(--dark);
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: var(--yellow-dark); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s;
}
.btn-cookie-decline:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }

/* On mobile, float cookie banner above the floating CTA bar */
@media (max-width: 899px) {
  .cookie-banner { bottom: 62px; }
}

@media (min-width: 640px) {
  .alert-bar { font-size: .88rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .final-cta-buttons { flex-direction: row; justify-content: center; }
  .ripeness-scale { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .ripeness-scale { grid-template-columns: repeat(5, 1fr); }
  .ripeness-stage { flex-direction: column; text-align: center; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  /* connecting line between numbered circles */
  .steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16.6%;
    right: 16.6%;
    height: 4px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0 14px, transparent 14px 26px);
  }

  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger, .mobile-menu { display: none; }
  .mobile-menu.open { display: none; }
  .floating-cta { display: none; }
  .site-footer { padding-bottom: 44px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; }
}
