/* ============================================================
   SIMONDS CAFÉ — MASTER STYLESHEET
   To change brand colours, edit the variables below in :root
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ─── BRAND TOKENS — Edit these to restyle the whole site ─── */
:root {
  --cream:        #F5F0E0;
  --cream-dark:   #EDE6CC;
  --green-dark:   #1B3A2D;
  --green-mid:    #2E5E46;
  --green-light:  #4A8B6A;
  --maroon:       #6B1F1F;
  --maroon-light: #8B3030;
  --gold:         #C8973A;
  --gold-light:   #E8B85A;
  --text-dark:    #1A1208;
  --text-mid:     #3D3220;
  --text-light:   #7A6A50;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --shadow-soft: 0 4px 24px rgba(27,58,45,0.10);
  --shadow-card: 0 8px 40px rgba(27,58,45,0.13);
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem,   4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p  { font-size: 1rem; color: var(--text-mid); max-width: 65ch; }

.italic { font-style: italic; }
.label  {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
}

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 5rem) 0; }

.text-center { text-align: center; }
.text-center p { margin: 0 auto; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,45,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(27,58,45,0.82);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(245,240,224,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,58,45,0.08);
  box-shadow: var(--shadow-soft);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(245,240,224,0.2);
  color: var(--cream);
}

.nav.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  background: var(--green-dark);
  color: var(--cream);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav.scrolled .nav-toggle span {
  background: var(--text-dark);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── FOOTER ─── */
footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

footer h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

footer p, footer a {
  color: rgba(245,240,224,0.75);
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: none;
}

footer a:hover { color: var(--gold-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  filter: brightness(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(245,240,224,0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,224,0.5);
}

.pure-veg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid #22AA22;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22AA22;
}
.pure-veg-badge::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: #22AA22;
  border-radius: 50%;
}

/* ─── DIVIDER ─── */
.divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(27,58,45,0.2);
}
.divider-diamond {
  width: 10px; height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── SECTION HEADING ─── */
.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-heading .label { margin-bottom: 0.75rem; display: block; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { margin: 0 auto; }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,58,45,0.16);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ─── FORM STYLES ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid rgba(27,58,45,0.2);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46,94,70,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 1.5rem;
    border-bottom: 2px solid var(--green-dark); gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── UTILITY ─── */
.bg-green { background: var(--green-dark); color: var(--cream); }
.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4 { color: var(--cream); }
.bg-green p { color: rgba(245,240,224,0.8); }
.bg-cream-dark { background: var(--cream-dark); }
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }
.text-green { color: var(--green-dark); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ─── HERO SHARED ─── */
.page-hero {
  height: 52vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  color: var(--cream);
}
.page-hero-content h1 { color: var(--cream); }
.page-hero-content .label { color: var(--gold-light); }
