/* Village Café Knysna — Global Styles */

:root {
  --green: #3A6B35;
  --green-dark: #1a3a1a;
  --green-light: #e8f4e8;
  --gold: #C8922A;
  --gold-light: #fef3dc;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #2d2d2d;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

img { max-width: 100%; }

/* ── NAVBAR ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: rgba(26,58,26,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.nav.scrolled {
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.80);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.10);
}

.nav-links .nav-cta {
  color: var(--green-dark);
  background: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links .nav-cta:hover {
  background: #d4962e;
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--green-dark);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-direction: column;
  gap: 0.25rem;
}

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

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  display: block;
  transition: background 0.2s;
}

.nav-mobile a:hover { background: rgba(255,255,255,0.08); }

.nav-mobile .nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 800;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  background: linear-gradient(160deg, var(--green-dark) 0%, #2a5227 50%, var(--green) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.04)"/></svg>') repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.90);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover { background: #d4962e; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover { border-color: rgba(255,255,255,0.8); }

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover { background: #2f5a2b; }

.btn-wa {
  background: #25D366;
  color: var(--white);
}

.btn-wa:hover { background: #1fbe5a; }

/* ── SECTIONS ────────────────────────────────────────────── */

.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 560px;
}

/* ── ABOUT ───────────────────────────────────────────────── */

.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-light);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--green);
}

.about-photo-placeholder {
  font-size: 4rem;
}

.about-photo-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.6;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat {
  text-align: center;
  padding: 1rem;
  background: var(--green-light);
  border-radius: 12px;
}

.about-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
}

.about-stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}

/* ── OFFERINGS GRID ──────────────────────────────────────── */

.offerings { background: var(--cream); }

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.offering-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.offering-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.offering-card h3 {
  font-size: 1.125rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.offering-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── HIGHLIGHTS ──────────────────────────────────────────── */

.highlights {
  background: var(--green-dark);
  color: var(--white);
}

.highlights .section-title { color: var(--white); }
.highlights .section-lead { color: rgba(255,255,255,0.70); }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.highlight-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background 0.2s;
}

.highlight-card:hover {
  background: rgba(255,255,255,0.13);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.highlight-card h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.375rem;
}

.highlight-card p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* ── VENUE HIRE ──────────────────────────────────────────── */

.venue { background: var(--white); }

.venue-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.venue-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.venue-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.venue-features li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.venue-photo {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-light), #c8e6c9);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  font-size: 4rem;
}

/* ── LOYALTY SECTION ─────────────────────────────────────── */

.loyalty {
  background: linear-gradient(135deg, var(--green-dark), #2a5227);
  color: var(--white);
}

.loyalty-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.loyalty-text { flex: 1; min-width: 260px; }
.loyalty-text .section-title { color: var(--white); margin-bottom: 0.75rem; }
.loyalty-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; }

.loyalty-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  min-width: 280px;
  flex-shrink: 0;
}

.loyalty-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loyalty-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.90);
  font-weight: 600;
}

.loyalty-step-num {
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── CONTACT ─────────────────────────────────────────────── */

.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.contact-item-text a:hover { color: var(--green); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.70);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  margin-bottom: 0.875rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── MENU PAGE ───────────────────────────────────────────── */

.menu-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  color: var(--white);
}

.menu-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }
.menu-hero p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; }

.menu-body { padding: 4rem 1.5rem; background: var(--cream); }

.menu-category {
  margin-bottom: 3rem;
}

.menu-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.menu-category-title h2 {
  font-size: 1.375rem;
  color: var(--green-dark);
}

.menu-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.875rem 1rem;
  background: var(--white);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.menu-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.menu-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.menu-item:only-child { border-radius: var(--radius); border-bottom: none; }

.menu-item-left { flex: 1; }

.menu-item-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.menu-item-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.menu-item-price {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-note-banner {
  background: var(--gold-light);
  border: 1px solid #f0d080;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #7a5a00;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { min-height: 240px; order: -1; }

  .venue-inner { grid-template-columns: 1fr; gap: 2rem; }
  .venue-photo { min-height: 240px; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .loyalty-inner { gap: 2rem; }

  .hero-actions { gap: 0.625rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 1rem; }
  .hero { padding: 6rem 1rem 3rem; }
  .menu-body { padding: 2.5rem 1rem; }
}
