/* ================================================================
   THE WILD CAFÉ — style.css
   Matches the existing GoDaddy site design exactly.
   Primary color: Deep forest green #1B3A2D
   Typography: Cormorant Garamond (display) + Montserrat (UI)
================================================================ */

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #1a472a;
  --green-light:  #1E8848;
  --white:        #ffffff;
  --cream:        #f8f5f0;
  --black:        #111111;
  --text:         #2a2a2a;
  --text-mid:     #555555;
  --text-light:   #888888;
  --border:       rgba(0,0,0,0.1);
  --nav-h:        110px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ================================================================
   NAVIGATION
================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.35s var(--ease);
}

#navbar.nav-hidden {
  transform: translateY(-100%);
}

/* Transparent state — over hero */
#navbar.transparent { background: transparent; }

/* Scrolled state — solid green */
#navbar.scrolled {
  background: var(--green);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
}

.nav-group {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-group a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--white);
  transition: opacity 0.2s;
}

.nav-group a:hover { opacity: 0.7; }

/* Centre logo */
.nav-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--white);
  text-align: center;
}

.nav-logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.25em;
  margin-top: 2px;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--green);
  padding: 20px 40px 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.2s;
}

.mobile-link:hover { opacity: 0.7; }

/* ================================================================
   HERO SECTION
   Background image: images/hero-bg.jpg
   Download this from your GoDaddy site (the close-up food photo)
================================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll;
    height: 100svh;
  }
}

/* Fallback colour while image loads */
.hero { background-color: #2a3a2a; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 12, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-logo { margin-bottom: 24px; }

.hero-logo-img {
  width: clamp(180px, 30vw, 320px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 1.5vw, 13px);
  letter-spacing: 0.25em;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 14px 36px;
  transition: background 0.3s, color 0.3s;
}

.hero-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* ================================================================
   WELCOME / ABOUT SECTION
================================================================ */
.welcome-section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.welcome-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 24px;
}

.welcome-text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-mid);
}

.welcome-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.welcome-image img {
  transition: transform 0.8s var(--ease);
}
.welcome-image:hover img { transform: scale(1.03); }

/* ================================================================
   QUOTE BANNER
================================================================ */
.quote-banner {
  background: var(--green);
  padding: 60px 60px;
  text-align: center;
}

.quote-banner blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 0.2em;
  line-height: 2;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  quotes: none;
}

/* ================================================================
   MENU FAVOURITES
================================================================ */
.menu-favourites { padding: 60px 40px; }

.menu-fav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.menu-fav-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.menu-fav-image img { transition: transform 0.8s var(--ease); }
.menu-fav-image:hover img { transform: scale(1.03); }

.menu-fav-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 40px;
}

.menu-fav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}

.menu-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--black);
  margin-bottom: 8px;
}

.menu-item p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-mid);
}

.menu-item.full-width { grid-column: 1 / -1; }

.menu-fav-cta {
  margin-top: 40px;
  text-align: center;
}

/* ================================================================
   DISH STRIP
================================================================ */
.dish-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.dish-strip-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
}

.dish-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.dish-strip-item:hover img { transform: scale(1.04); }

/* ================================================================
   BUTTONS
================================================================ */
.outline-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.5);
  padding: 14px 28px;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.outline-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ================================================================
   GALLERY
================================================================ */
.gallery-section { padding: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-item img { transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ================================================================
   EVENTS SECTION
================================================================ */
.events-section {
  background: var(--green);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-card {
  background: var(--white);
  padding: 50px 60px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.events-icon {
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
}

.events-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 12px;
}

.events-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--text-mid);
}

.events-card p a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Decorative badge in corner */
.events-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 52px;
  height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}

/* ================================================================
   CONTACT SECTION
================================================================ */
.contact-section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.contact-image img { transition: transform 0.8s var(--ease); }
.contact-image:hover img { transform: scale(1.03); }

.contact-details h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--black);
  margin-bottom: 16px;
}

.contact-intro {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.contact-grid { display: flex; flex-direction: column; gap: 0; }

.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.contact-row:first-child { border-top: 1px solid var(--border); }

.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.03em;
  padding-top: 2px;
}

.contact-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.6;
}

.contact-value.link {
  color: var(--green);
  transition: opacity 0.2s;
}
.contact-value.link:hover { opacity: 0.7; }

.contact-value.hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-value.hours strong {
  font-weight: 500;
  font-size: 12px;
  margin-top: 8px;
  color: var(--black);
}
.contact-value.hours strong:first-child { margin-top: 0; }

.contact-value.hours span {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  transition: background 0.3s, transform 0.2s;
}
.social-icon:hover { background: var(--green-light); transform: scale(1.08); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 24px 20px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.site-footer a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--white); }

/* ================================================================
   HERO LOAD ANIMATION
================================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-fade {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) forwards;
  animation-delay: var(--hero-delay, 0s);
}

/* ================================================================
   SCROLL ANIMATION UTILITY
================================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--anim-delay, 0s);
}

[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-left"]  { transform: translateX(30px); }

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 900px)
================================================================ */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-group  { display: none; }
  .hamburger { display: flex; }

  .welcome-inner,
  .menu-fav-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .welcome-image,
  .menu-fav-image {
    order: -1;
    aspect-ratio: 4/3;
  }

  .dish-strip { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .menu-fav-grid { grid-template-columns: 1fr; }

  .contact-image { aspect-ratio: 3/2; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 600px)
================================================================ */
@media (max-width: 600px) {
  .welcome-section,
  .menu-favourites,
  .contact-section { padding: 40px 20px; }

  .quote-banner { padding: 40px 24px; }

  .events-section { padding: 40px 20px; }

  .events-card { padding: 40px 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-row { grid-template-columns: 1fr; gap: 6px; }

  .hero-btn { padding: 12px 28px; font-size: 10px; }
}