/* ============================================================
   styles-weekes-green.css — Weekes Newsagents
   Colour theme matched to shop.weekesretail.co.uk
   ============================================================ */

/* ===== CSS VARIABLES (WEEKES GREEN THEME) ===== */
:root {
  --primary:       #217A3C;   /* main green — header, buttons, active states */
  --primary-dark:  #165C2C;   /* darker green — hover states, footer */
  --primary-light: #2D9E52;   /* lighter green — gradients, highlights */
  --primary-pale:  #EAF5EE;   /* very pale green — card backgrounds, tints */
  --primary-mid:   #1A6B33;   /* mid green — nav strip, accents */

  --dark:          #1A2E1F;   /* near-black with green tint — headings */
  --dark2:         #132218;   /* deeper — hero gradient */
  --mid:           #2D4A35;   /* body text on light backgrounds */
  --muted:         #5A7A62;   /* subdued text, placeholders */
  --border:        #C2DCC9;   /* green-tinted borders */
  --bg:            #F5FAF6;   /* near-white with green tint — page background */
  --white:         #FFFFFF;
  --text:          #1C2E22;

  --radius:        10px;
  --shadow:        0 4px 20px rgba(33,122,60,0.12);
  --transition:    0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 16px rgba(33,122,60,0.12);
}
.nav-container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.nav-logo img { height: 40px; width: auto; border-radius: 4px; }
.nav-links {
  display: flex; list-style: none;
  gap: 0.25rem; align-items: center;
}
.nav-links a {
  color: var(--mid);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-pale);
}
.nav-links a.nav-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 0.4rem 1.1rem;
}
.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--primary); font-size: 1.5rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33,122,60,0.3);
  color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ===== HERO (Home page) ===== */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-mid) 55%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 700px; }
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 1.25rem;
}
.hero h1 span {
  color: #90EFB0; /* bright mint — readable on dark green */
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 520px; margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FEATURES STRIP (Home page) ===== */
.features { padding: 4rem 0; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.9rem; color: var(--muted); }

/* ===== PAGE HERO (About & Shop pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-mid) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--primary-light);
}
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--white);
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-top: 0.5rem; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--dark); text-align: center;
  margin-bottom: 3rem;
}
.section-title::after {
  content: ''; display: block;
  width: 50px; height: 3px;
  background: var(--primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ===== OUR STORY (About page) ===== */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.story-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.story-text p:last-child { margin-bottom: 0; }
.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: transform var(--transition);
}
.highlight-card:hover { transform: translateX(5px); }
.highlight-icon { font-size: 1.75rem; flex-shrink: 0; }
.highlight-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}
.highlight-desc { font-size: 0.85rem; color: var(--muted); }

/* ===== SERVICES (About page) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--primary);
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); }
.service-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9rem; color: var(--muted); }

/* ===== TESTIMONIALS (About page) ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 1rem; left: 1.25rem;
  font-size: 4rem; color: var(--primary);
  font-family: Georgia, serif; line-height: 1;
  opacity: 0.2;
}
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card p { font-style: italic; color: var(--mid); margin-bottom: 1rem; }
.reviewer { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ===== CONTACT & ADDRESS (About page) ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--primary); margin-bottom: 0.75rem;
}
.contact-card p { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--mid); }
.contact-card a { color: var(--primary); }
.contact-card a:hover { text-decoration: underline; }
.hours-table { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.hours-table td { padding: 0.35rem 0; border-bottom: 0.5px solid var(--border); color: var(--mid); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); }
.map-placeholder { margin-top: 1.25rem; }

/* ===== SHOP PAGE ===== */
.shop-redirect { padding: 5rem 0; }
.shop-hero-text { text-align: center; margin-bottom: 3.5rem; }
.shop-hero-text .shop-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.shop-hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.75rem;
}
.shop-hero-text p { color: var(--muted); font-size: 1.05rem; }

/* Three-column layout */
.shop-three-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

/* App columns (left & right) */
.app-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.qr-frame {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(33,122,60,0.1);
  transition: box-shadow var(--transition), transform var(--transition);
}
.qr-frame:hover {
  box-shadow: 0 8px 28px rgba(33,122,60,0.22);
  transform: translateY(-3px);
}
.qr-frame img { display: block; border-radius: 6px; }
.qr-scan-hint {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

/* App store badges */
.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary-dark);
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
  max-width: 200px;
  justify-content: center;
}
.app-badge:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33,122,60,0.3);
  color: var(--white);
}
.app-badge svg { flex-shrink: 0; opacity: 0.9; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-badge-sub { font-size: 0.68rem; opacity: 0.75; letter-spacing: 0.03em; }
.app-badge-main { font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; }

/* Centre column */
.shop-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.shop-divider-line {
  width: 1.5px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.shop-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.shop-center-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.shop-main-btn {
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(33,122,60,0.25);
}
.shop-center-sub { font-size: 0.78rem; color: var(--muted); margin: 0; }
.redirect-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  border-top: 3px solid var(--primary-light);
  padding: 2rem 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.9;
}

/* Mobile nav colours — Green theme */
@media (max-width: 768px) {
  .nav-links {
    background: var(--white);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(33,122,60,0.2);
  }
  .nav-links a {
    color: var(--mid);
    background: transparent;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--primary-pale);
    color: var(--primary);
  }
  .nav-links a.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary);
    margin-top: 0.25rem;
    font-weight: 700;
  }
  .nav-links a.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    position: relative;
    z-index: 1000;
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }

  /* All nav links on mobile — reset and restyle cleanly */
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    display: block;
  }

  /* Hero */
  .hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }

  /* Story */
  .story-block { grid-template-columns: 1fr; gap: 2rem; }

  /* Shop */
  .shop-three-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .shop-divider-line {
    width: 80px; height: 1.5px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
  }
  .shop-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .app-badge { max-width: 220px; }
  .page-hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .app-badge { max-width: 220px; }
  .page-hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
}