/* 
 * B&C Evergreen Supplies Limited - Style Guide & Global Styling
 * Official Oak House Foods Franchisee Website
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Outfit:wght@100..900&display=swap');

:root {
  /* Brand Colors */
  --primary: hsl(148, 40%, 18%);         /* Forest Green */
  --primary-light: hsl(148, 30%, 30%);   /* Soft Forest Green */
  --primary-bg: hsl(148, 40%, 96%);      /* Light green-tinted background */
  
  --secondary: hsl(38, 85%, 48%);        /* Warm Amber/Gold */
  --secondary-hover: hsl(38, 90%, 42%);  /* Darker Gold */
  --secondary-bg: hsl(38, 80%, 96%);     /* Warm cream gold tint */

  --text-dark: hsl(210, 24%, 12%);       /* Near Black/Charcoal */
  --text-light: hsl(210, 16%, 38%);      /* Medium Muted Grey */
  --text-on-primary: hsl(0, 0%, 100%);   /* White */
  --text-on-secondary: hsl(210, 24%, 12%);
  
  --bg-main: hsl(36, 30%, 97%);          /* Warm Cream Background */
  --bg-card: hsl(0, 0%, 100%);           /* Pure White for Cards */
  
  --border-color: hsl(210, 14%, 88%);    /* Soft Light Grey Border */
  --border-focus: var(--primary-light);
  
  --success: hsl(122, 39%, 41%);
  --success-bg: hsl(122, 39%, 95%);
  --error: hsl(4, 69%, 50%);
  --error-bg: hsl(4, 69%, 96%);
  
  /* Fonts */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(30, 70, 49, 0.08);
  --shadow-hover: 0 15px 35px rgba(30, 70, 49, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  /* Layout */
  --container-width: 1200px;
}

/* Base resets & global styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base for rems */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: keyboard focus styles */
*:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1.1rem; /* Senior friendly default size */
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-on-primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-on-secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-on-secondary);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

/* Top Bar Info */
.top-bar {
  background-color: var(--primary);
  color: var(--text-on-primary);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--secondary);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--text-on-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar-phone {
  font-weight: 700 !important;
  font-size: 1.05rem;
}

/* Header & Nav */
header.main-header {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition-fast);
}

header.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

/* Main Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-bg);
}

.nav-link.active {
  border-bottom: 2px solid var(--secondary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 70, 49, 0.85), rgba(30, 70, 49, 0.9)), url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
  color: var(--text-on-primary);
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--text-on-primary);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: hsl(148, 20%, 85%);
  font-size: 1.35rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Franchise Banner Overlay */
.franchise-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--secondary-bg);
  border: 1px solid var(--secondary);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.franchise-badge-large svg {
  color: var(--secondary);
}

/* Partner Brand Showcase Banner */
.brand-partner-banner {
  background-color: var(--bg-card);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.brand-partner-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo-wrap {
  text-align: center;
  max-width: 250px;
}

.partner-logo-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.partner-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: hsl(4, 69%, 50%); /* Oak House Foods Red/Orange color */
  font-weight: 800;
}

.partner-brand span {
  color: var(--primary);
}

/* Steps - How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.step-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--primary);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  color: var(--text-on-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  margin: 1rem 0;
  color: var(--primary-light);
}

.step-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.step-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Featured Meals / Catalog section */
.section-title-wrap {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
}

.meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.meal-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.meal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.meal-img-container {
  position: relative;
  height: 200px;
  background-color: var(--primary-bg);
  overflow: hidden;
}

.meal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.meal-card:hover .meal-img-container img {
  transform: scale(1.05);
}

.meal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--text-on-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.dietary-labels {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.diet-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  color: #fff;
}

/* Dietary Label Colors matching Oak House Foods standard types */
.diet-gf { background-color: #3182ce; } /* Gluten Free - Blue */
.diet-v  { background-color: #38a169; } /* Vegetarian - Green */
.diet-df { background-color: #805ad5; } /* Diabetic Friendly - Purple */
.diet-so { background-color: #dd6b20; } /* Soft/Puréed - Orange */
.diet-ls { background-color: #e53e3e; } /* Low Salt - Red */

.meal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.meal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.meal-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.meal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.meal-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.meal-footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Filter Controls */
.filter-controls {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-bar-wrap {
  display: flex;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-focus);
  outline: none;
  box-shadow: var(--shadow-md);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.filter-buttons-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* Postcode Checker Section */
.checker-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.checker-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.checker-form {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem 0;
  position: relative;
}

.checker-input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  transition: all var(--transition-fast);
}

.checker-input:focus {
  border-color: var(--border-focus);
  outline: none;
}

.checker-form button {
  white-space: nowrap;
}

.checker-result {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: none;
  animation: fadeIn var(--transition-normal);
}

.checker-result.success {
  display: block;
  background-color: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}

.checker-result.error {
  display: block;
  background-color: var(--error-bg);
  border: 1px solid var(--error);
  color: var(--error);
}

/* About/Franchise split layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.split-image-container {
  position: relative;
}

.split-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.split-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--secondary);
  color: var(--text-on-secondary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  max-width: 220px;
}

/* Dietary needs list */
.dietary-range-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.dietary-range-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.dietary-range-card:hover {
  transform: translateY(-3px);
}

.dietary-range-card.gf { border-left-color: #3182ce; }
.dietary-range-card.v  { border-left-color: #38a169; }
.dietary-range-card.df { border-left-color: #805ad5; }
.dietary-range-card.so { border-left-color: #dd6b20; }
.dietary-range-card.ls { border-left-color: #e53e3e; }

.diet-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.dietary-range-card.gf .diet-icon-wrap { background-color: #3182ce; }
.dietary-range-card.v .diet-icon-wrap { background-color: #38a169; }
.dietary-range-card.df .diet-icon-wrap { background-color: #805ad5; }
.dietary-range-card.so .diet-icon-wrap { background-color: #dd6b20; }
.dietary-range-card.ls .diet-icon-wrap { background-color: #e53e3e; }

.dietary-range-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.dietary-range-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Reviews page layouts */
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.review-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--secondary);
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--primary-bg);
  border-radius: 50%;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.review-author-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-light);
}

/* Contact columns styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.contact-item-details p {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-form-panel {
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  outline: none;
}

.checkbox-group {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.checkbox-label input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* Contact Google Map Frame */
.map-container {
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Call rates warning */
.tel-rates-warning {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  font-style: italic;
}

/* Blog layouts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-image-wrap {
  height: 200px;
  background-color: var(--primary-bg);
}

.blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.blog-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  flex-grow: 1;
}

.blog-readmore {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

/* Call Wishlist Modal / Drawer */
.wishlist-drawer {
  position: fixed;
  bottom: 0;
  right: 2rem;
  background-color: var(--bg-card);
  width: 380px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-bottom: none;
  z-index: 99;
  transform: translateY(calc(100% - 55px));
  transition: transform var(--transition-normal);
}

.wishlist-drawer.open {
  transform: translateY(0);
}

.wishlist-header {
  background-color: var(--primary);
  color: var(--text-on-primary);
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.wishlist-header h3 {
  color: var(--text-on-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wishlist-header h3 span {
  background-color: var(--secondary);
  color: var(--text-on-secondary);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.wishlist-content {
  padding: 1.5rem;
  max-height: 350px;
  overflow-y: auto;
}

.wishlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.wishlist-item-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.wishlist-item-remove {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 1.1rem;
}

.wishlist-actions {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--primary-bg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wishlist-actions p {
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
}

/* Footer Section */
footer.main-footer {
  background-color: var(--primary);
  color: hsl(148, 20%, 90%);
  padding: 5rem 0 2rem 0;
  border-top: 5px solid var(--secondary);
}

footer.main-footer h3 {
  color: var(--text-on-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--secondary);
  padding-left: 0.75rem;
}

footer.main-footer p {
  color: hsl(148, 20%, 82%);
  font-size: 0.95rem;
}

footer.main-footer a {
  color: hsl(148, 20%, 85%);
  font-size: 0.95rem;
}

footer.main-footer a:hover {
  color: var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-on-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid hsl(148, 30%, 25%);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-compliance-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.compliance-badge {
  background-color: hsl(148, 30%, 23%);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(148, 25%, 30%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-on-primary);
}

.compliance-badge.hygiene span {
  color: var(--secondary);
}

/* Mobile Bottom Sticky Banner */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--text-on-primary);
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--secondary);
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 60px;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-on-primary);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  background: none;
}

.mobile-sticky-btn:first-child {
  background-color: var(--secondary);
  color: var(--text-on-secondary);
}

.mobile-sticky-btn:nth-child(2) {
  border-left: 1px solid hsl(148, 30%, 25%);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .split-layout {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .top-bar {
    display: none; /* Hide top bar on mobile to prioritize main sticky call header */
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    flex-direction: column;
    background-color: var(--bg-card);
    width: 100%;
    height: calc(100vh - 90px);
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    align-items: stretch;
  }
  
  .nav-menu.open {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    display: block;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-image-container {
    order: -1;
  }

  .section-title {
    font-size: 2rem;
  }

  .checker-card {
    padding: 2.5rem 1.5rem;
  }

  .checker-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .checker-form button {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 60px; /* Space for sticky call banner on mobile */
  }

  .wishlist-drawer {
    right: 1rem;
    width: calc(100% - 2rem);
    bottom: 60px; /* Sits above sticky banner */
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}


/* Brand Image Logo Styles */
.logo-image {
  height: 70px;
  width: auto;
  display: block;
  transition: height var(--transition-fast);
}

.logo-subtitle-franchise {
  display: none;
}

@media (max-width: 1024px) {
  .logo-image {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 40px;
  }
}
