/* ============================================
   INFUSE Tea Bar — Shared Stylesheet
   letsinfuse.co.uk rebuild
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --green-primary:   #536963;
  --green-secondary: #718f87;
  --green-light:     #E9F4F0;
  --green-mid:       #CBCCBF;
  --warm-white:      #F2EFEC;
  --dark-text:       #343a3a;
  --mid-text:        #5a6363;
  --white:           #ffffff;
  --border:          #d4e4df;

  --font-main: 'Quicksand', sans-serif;

  --nav-height: 70px;
  --max-width: 1100px;
  --section-pad: 70px 24px;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(83,105,99,0.10);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-primary); text-decoration: none; }
a:hover { color: var(--green-secondary); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section--green  { background: var(--green-light); }
.section--warm   { background: var(--warm-white); }
.section--dark   { background: var(--green-primary); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--mid    { background: #718f87; color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__header h2 { margin-bottom: 12px; }
.section__header p  { color: var(--mid-text); max-width: 600px; margin: 0 auto; }
.section--dark .section__header p,
.section--mid .section__header p { color: rgba(255,255,255,0.8); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 40px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  line-height: 1;
  text-decoration: none;
}
.btn--primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn--primary:hover {
  background: var(--green-secondary);
  border-color: var(--green-secondary);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}
.btn--outline:hover {
  background: var(--green-primary);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--green-primary);
}
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-primary); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-social a { color: var(--mid-text); transition: color 0.2s; font-size: 1.1rem; }
.nav-social a:hover { color: var(--green-primary); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-mobile a:hover { color: var(--green-primary); }
.nav-mobile .mobile-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.nav-mobile .mobile-social a {
  border: none;
  font-size: 1.2rem;
  padding: 0;
}

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-height); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--green-primary);
  color: var(--white);
  padding: 56px 24px 48px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* --- Opening Hours Bar --- */
.hours-bar {
  background: var(--green-secondary);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hours-bar a { color: var(--white); text-decoration: underline; }

/* --- Two-col grid --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* --- Card grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(83,105,99,0.15); }
.card__img { width: 100%; height: 180px; object-fit: cover; }
.card__body { padding: 20px; }
.card__tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card__tag--paid { background: #fff3e0; color: #bf6c00; }
.card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card__meta { font-size: 0.875rem; color: var(--mid-text); margin-bottom: 12px; }
.card__price { font-weight: 700; color: var(--green-primary); font-size: 0.95rem; }

/* --- Map section --- */
.map-embed {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: var(--radius);
  display: block;
}

/* --- Info list (hours, address etc) --- */
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  font-weight: 600;
  min-width: 110px;
  color: var(--green-primary);
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--green-secondary);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* --- Menu page specific --- */
.menu-section { margin-bottom: 48px; }
.menu-section h3 {
  color: var(--green-primary);
  font-size: 1.3rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-divider {
  width: 36px;
  height: 2px;
  background: var(--green-secondary);
  border-radius: 2px;
  margin: 8px 0 20px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  gap: 16px;
}
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-weight: 600; font-size: 0.95rem; }
.menu-item__desc { font-size: 0.85rem; color: var(--mid-text); margin-top: 2px; }
.menu-item__price {
  font-weight: 700;
  color: var(--green-primary);
  white-space: nowrap;
  font-size: 0.95rem;
}
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.menu-note {
  background: var(--green-light);
  border-left: 3px solid var(--green-secondary);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--mid-text);
  margin-bottom: 40px;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark-text);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col p, .footer-col address {
  font-size: 0.875rem;
  line-height: 1.8;
  font-style: normal;
}
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--white); }
.footer-hours { font-size: 0.875rem; }
.footer-hours tr td { padding: 2px 0; }
.footer-hours tr td:first-child { padding-right: 16px; color: rgba(255,255,255,0.5); min-width: 90px; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--green-secondary); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 20px; }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--mid-text);
  padding: 12px 0;
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--green-primary); }
.breadcrumb span { margin: 0 6px; }

/* --- Prose (legal pages) --- */
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; color: var(--green-primary); }
.prose h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 0.95rem; color: var(--mid-text); line-height: 1.75; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1em; }
.prose li { margin-bottom: 4px; }
.prose a { text-decoration: underline; }
.prose .updated { font-size: 0.85rem; color: var(--mid-text); margin-bottom: 32px; font-style: italic; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse { direction: ltr; }
  .menu-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px 20px; }
  .nav-links, .nav-social { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card-grid { grid-template-columns: 1fr; }
}

/* --- Cookie Consent Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark-text);
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; line-height: 1.5; }
#cookie-banner a { color: rgba(255,255,255,0.75); text-decoration: underline; }
#cookie-banner a:hover { color: #fff; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.cookie-btn--accept { background: var(--green-secondary); color: #fff; }
.cookie-btn--accept:hover { background: var(--green-primary); }
.cookie-btn--decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn--decline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Map consent placeholder */
.map-consent-placeholder {
  width: 100%;
  height: 480px;
  background: var(--green-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.map-consent-placeholder i { font-size: 2.5rem; color: var(--green-secondary); }
.map-consent-placeholder p { color: var(--mid-text); font-size: 0.9rem; max-width: 280px; margin: 0; }
@media (max-width: 900px) {
  .map-consent-placeholder { height: 320px; }
  #cookie-banner { padding: 14px 16px; }
}
