/* Modern Design System - Nerve Vitality & Daily Nutrition Guide (Dublin, Ireland) */
:root {
  --primary: #105652;
  --primary-light: #167a74;
  --primary-dark: #0b3c39;
  --accent: #e59866;
  --accent-soft: #fbf2eb;
  --emerald: #2e7d32;
  --emerald-light: #e8f5e9;
  --bg-main: #fcfdfd;
  --bg-card: #ffffff;
  --bg-soft: #f4f8f7;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(16, 86, 82, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 86, 82, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 86, 82, 0.12);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-main);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Header & Top Bar */
.top-notice {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--emerald-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 86, 82, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 86, 82, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--emerald-light);
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 70px 24px 60px;
  background: linear-gradient(175deg, #eaf4f3 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: #def0ed;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card-summary {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Standard Section Layout */
.section {
  padding: 70px 24px;
}

.section-alt {
  background: var(--bg-soft);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Food Grid Cards */
.grid-cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.food-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.food-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--emerald-light);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.food-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eef7f6;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.food-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.food-nutrients {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.food-text {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.food-list {
  list-style: none;
  font-size: 0.9rem;
  color: #334155;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

.food-list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
}

.food-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-size: 0.8rem;
}

/* Interactive Meal Planner / Habit Tool */
.tool-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.step-filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.meal-plan-display {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--primary);
}

.meal-plan-card {
  display: none;
}

.meal-plan-card.active {
  display: block;
}

/* Compliance Disclaimer Box */
.compliance-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #64748b;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 30px 0;
  font-size: 0.88rem;
  color: #475569;
}

/* Contact / Booking Form */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 86, 82, 0.1);
}

/* Legal Pages & Content Article Style */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.article-container h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.article-container h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin: 30px 0 14px;
}

.article-container p {
  margin-bottom: 18px;
  color: #334155;
  font-size: 1rem;
}

.article-container ul, .article-container ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: #334155;
}

.article-container li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: #0f2d2b;
  color: #e2e8f0;
  padding: 60px 24px 30px;
  font-size: 0.92rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  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: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  border: 1px solid var(--border-light);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
