/* ═══════════════════════════════════════════════════════
   RADIANT AGRO — COMMON CSS
   Shared across all pages: variables, reset, nav, footer,
   buttons, ghost sketches, floating buttons, scroll reveal
═══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --brown:       #E8820C;
  --brown-dark:  #1A3C2A;
  --brown-mid:   #C86E00;
  --gold:        #E8820C;
  --gold-light:  #F5A83C;
  --cream:       #FAF8F4;
  --cream-dark:  #F2EDE3;
  --text-dark:   #1A3C2A;
  --text-body:   #2E3A28;
  --text-light:  #6A7A62;
  --white:       #FFFFFF;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-body);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY HELPERS ── */
.script-tag {
  font-family: 'Dancing Script', cursive;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-title.white { color: var(--white); }

/* ── LAYOUT ── */
.section { position: relative; padding: 90px 0; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 32px;
  border-radius: 4px;
  border: 2px solid var(--brown);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn:hover { background: var(--brown-dark); border-color: var(--brown-dark); transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--brown); }

/* ── GHOST SKETCHES ── */
.ghost-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ghost-sketch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 850px;
  height: auto;
  opacity: 0.18;
  filter: sepia(15%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ghost-sketch.left  { left: 0; }
.ghost-sketch.right { right: 0; transform: translateY(-50%) scaleX(-1); }

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  left: 16px;
  bottom: 40%;
  z-index: 9999;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── FLOATING PHONE ── */
.phone-float {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 9999;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(232,130,12,0.4);
  transition: transform 0.3s;
}
.phone-float:hover { transform: scale(1.1); }
.phone-float svg { width: 26px; height: 26px; fill: white; }

/* ══════════════════════════════════════════════════════
   TOP NAV — TWO TIER
══════════════════════════════════════════════════════ */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

/* Tier 1 — orange welcome bar */
.topbar-welcome { background: var(--brown); padding: 7px 40px; }
.topbar-welcome-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-welcome-text {
  font-size: 0.78rem; color: rgba(255,255,255,0.85);
  font-family: 'Lato', sans-serif; letter-spacing: 0.5px;
}
.topbar-welcome-contact { display: flex; align-items: center; gap: 16px; }
.topbar-welcome-contact a {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.85);
  font-family: 'Lato', sans-serif; transition: color 0.2s;
}
.topbar-welcome-contact a:hover { color: var(--white); }
.topbar-welcome-contact svg { width: 13px; height: 13px; fill: var(--gold-light); }
.topbar-welcome-sep { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* Tier 2 — white nav */
.topbar-nav {
  background: #fff;
  border-bottom: 1px solid rgba(232,130,12,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; gap: 20px;
}

/* Logo */
.topbar-logo { display: flex; align-items: center; gap: 21px; flex-shrink: 0; margin-right: 16px; }
.topbar-logo img { height: 94px; width: auto; max-width: 220px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-text span:first-child {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem; font-weight: 900;
  color: var(--brown); line-height: 1.1;
  letter-spacing: 10px; text-transform: uppercase;
}
.logo-tagline {
  font-size: 0.58rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--brown);
  font-weight: 400; margin-top: 2px;
  border-top: 1px solid rgba(232,130,12,0.3);
  border-bottom: 1px solid rgba(232,130,12,0.3);
  padding: 1px 0;
}

/* Nav links */
.topbar-menu {
  display: flex; align-items: center; gap: 28px;
  list-style: none; flex: 1; justify-content: center;
  margin: 0; padding: 0;
}
.topbar-menu li { position: relative; }
.topbar-menu a {
  font-size: 0.92rem; font-weight: 700;
  color: #1A1208; font-family: 'Lato', sans-serif;
  transition: color 0.2s; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.topbar-menu a:hover,
.topbar-menu a.active { color: var(--brown); }
.topbar-menu .has-drop > a::after { content: '▾'; font-size: 0.72rem; color: var(--brown); }

/* Call anytime — right */
.topbar-call {
  display: flex; align-items: center; gap: 12px;
  border-left: 1.5px solid rgba(232,130,12,0.2);
  padding-left: 24px; flex-shrink: 0; margin-left: 8px;
}
.topbar-call-icon {
  width: 38px; height: 38px;
  background: var(--brown); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.topbar-call-icon svg { width: 18px; height: 18px; fill: #fff; }
.topbar-call-text { display: flex; flex-direction: column; line-height: 1.3; }
.topbar-call-text span:first-child {
  font-size: 0.72rem; color: var(--brown);
  font-weight: 700; letter-spacing: 0.5px; font-family: 'Lato', sans-serif;
}
.topbar-call-text span:last-child {
  font-size: 0.92rem; font-weight: 700;
  color: #1A1208; font-family: 'Lato', sans-serif;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: all 0.3s; }

/* Mobile fullscreen menu */
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 9998;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 2rem; color: var(--brown);
  cursor: pointer; background: none; border: none; line-height: 1;
}
.mobile-menu-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 28px; }
.mobile-menu-links a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--text-dark);
  font-weight: 700; transition: color 0.2s;
}
.mobile-menu-links a:hover { color: var(--brown); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer-section {
  background: var(--brown-dark);
  padding: 80px 0 0;
  position: relative;
}
.footer-section .ghost-sketch { opacity: 0.08; filter: brightness(0.5) sepia(30%) invert(1); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo-img { height: 110px; width: auto; max-width: 250px; object-fit: contain; margin-bottom: 12px; }
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 0.72rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.footer-blurb { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.65); }
.footer-col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; }
.footer-ticker-wrap { background: rgba(0,0,0,0.2); padding: 10px 0; overflow: hidden; }
.footer-ticker {
  display: flex; gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
  font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 1px;
}
.footer-ticker span { white-space: nowrap; }
.footer-ticker .sep { color: var(--gold); }
.footer-copyright {
  padding: 16px 40px; text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
}
.footer-copyright a {
  color: #E8820C !important;
  font-weight: 700 !important;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-copyright a:hover {
  color: #F5A83C !important;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.75s ease, transform 0.75s ease; }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(36px); }
.js-reveal-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── KEYFRAMES ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — NAV
══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .topbar-menu { display: none; }
  .topbar-call { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .topbar-welcome { padding: 7px 20px; }
  .topbar-welcome-contact { gap: 14px; }
  .topbar-welcome-contact a { font-size: 0.75rem; }
  .topbar-welcome-text { font-size: 0.75rem; }
  .topbar-inner { padding: 0 20px; height: 60px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .topbar-welcome-contact a:last-child { display: none; }
  .topbar-welcome-sep { display: none; }
}

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-copyright { padding: 14px 20px; font-size: 0.72rem; }
  .whatsapp-float { left: 12px; }
  .phone-float { right: 12px; bottom: 16px; }
}

/* ═══════════════════════════════════════════
   SHARED PAGE HERO — used on all inner pages
   (about, products, recipes, contact)
═══════════════════════════════════════════ */
.page-hero {
  margin-top: 110px;
  position: relative;
  background: var(--brown-dark);
  padding: 70px 0 60px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,60,42,0.92) 0%, rgba(26,60,42,0.72) 60%, rgba(26,60,42,0.50) 100%);
  z-index: 1;
}
.page-hero-ghost {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 700px; opacity: 0.15; filter: brightness(1.8) sepia(10%);
  pointer-events: none; user-select: none; -webkit-user-drag: none; z-index: 2;
}
.page-hero-ghost-left {
  left: 0; right: auto; transform: translateY(-50%) scaleX(-1);
}
.page-hero-content { position: relative; z-index: 3; }
.page-hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-light); font-family: 'Lato', sans-serif;
  font-weight: 700; margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 18px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  font-family: 'Lato', sans-serif;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .page-hero { margin-top: 100px; padding: 50px 0 40px; }
  .page-hero-ghost { display: none; }
}
@media (max-width: 480px) {
  .page-hero { margin-top: 95px; }
}
