/* ============================================
   SUPREME FINE FOODS — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --black: #1a1a1a;
  --dark: #2c2c2c;
  --green: #3a5a3c;
  --green-light: #4e7a50;
  --gold: #c8a951;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --light-grey: #e8e4de;
  --text-body: #3d3d3d;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8953f;
  border-color: #b8953f;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}

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

.header-logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  color: var(--light-grey);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-contact a {
  color: var(--light-grey);
  font-size: 0.8rem;
  font-weight: 400;
  transition: color 0.2s;
}
.header-contact a:hover { color: var(--gold); }

.header-contact .phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

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

/* ============================================
   TOP BAR (social + contact strip)
   ============================================ */
.top-bar {
  background: var(--dark);
  padding: 8px 24px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
}

.top-bar-contact span {
  color: var(--light-grey);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a {
  color: var(--light-grey);
  font-size: 0.78rem;
  transition: color 0.2s;
}
.top-bar-contact a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--light-grey);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content--centred {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  height: 380px;
  width: auto;
  margin-bottom: 5px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.1));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

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

/* ============================================
   INTRO / INFOGRAPHIC SECTION
   ============================================ */
.intro-section {
  padding: 80px 0;
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-weight: 300;
  font-size: 1.05rem;
}

.intro-text .section-label { 
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.intro-text a { color: var(--green); font-weight: 600; }
.intro-text a:hover { text-decoration: underline; }

.intro-image img {
  width: 100%;
  border-radius: 2px;
}

.intro-bag-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--green);
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================
   DELIVERY SECTION
   ============================================ */
.delivery-section {
  padding: 80px 0;
  background: var(--white);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.delivery-map img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.delivery-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delivery-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.1rem;
}

.feature-text strong {
  display: block;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 300;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-section {
  padding: 80px 0;
  background: var(--black);
}

.products-section .section-title { color: var(--white); }

.products-section .section-label { text-align: center; }
.products-section .section-title { text-align: center; margin-bottom: 48px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img { transform: scale(1.08); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
  transition: background 0.3s;
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(58,90,60,0.9) 0%, rgba(58,90,60,0.3) 60%, transparent 100%);
}

.product-card-name {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   SEASONALITY PREVIEW (home page)
   ============================================ */
.season-preview {
  padding: 80px 0;
  background: var(--off-white);
}

.season-preview-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.season-preview-text { max-width: 600px; }
.season-preview-text p {
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--light-grey);
  padding: 60px 0 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 55px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: #aaa;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a,
.footer-col ul li {
  font-size: 0.88rem;
  color: #aaa;
  font-weight: 300;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  color: #aaa;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid #444;
  transition: all 0.2s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: #666;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--black);
  padding: 60px 0;
  border-bottom: 3px solid var(--gold);
  text-align: center;
}

.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
}
.page-hero p {
  color: #aaa;
  margin-top: 12px;
  font-weight: 300;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .delivery-grid { grid-template-columns: 1fr; }
  .delivery-map img { max-width: 100%; }
}

@media (max-width: 640px) {
  .header-contact { display: none; }
  .main-nav { display: none; position: absolute; top: 75px; left: 0; right: 0; background: var(--black); padding: 16px 0; border-top: 1px solid #333; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 12px 24px; border-bottom: none; }
  .nav-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-contact { display: none; }
  .hero { height: 420px; }
  .hero-logo { height: 180px; }
}
