/* ============================================================
   W.C. Maunders Ltd – Stylesheet
   ============================================================ */

/* Nav logo */
.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;
  border-radius: 6px;
  transition: opacity var(--trans);
}
.nav-logo:hover {
  opacity: 0.85;
}

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

:root {
  /* Original W.C. Maunders brand colours */
  --navy: #1b3d0f; /* deep green – hero, footer, dark sections  */
  --green: #349519; /* brand green – headings, borders            */
  --lime: #68d34a; /* bright lime – nav, highlights              */
  --lime-d: #50ba32; /* lime hover                                 */
  --yellow: #d4c908; /* toned-down original yellow #F5E81D         */
  --charcoal: #3c3c3c; /* original border / dark colour              */

  /* Mapped aliases used throughout */
  --amber: #349519; /* replaces amber → brand green               */
  --amber-d: #287010; /* replaces amber-d → darker green            */
  --light: #f4f8f2; /* very light green-tinted background         */
  --mid: #e6f0e2;
  --text: #2d2d2d;
  --muted: #5a6e56;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --trans: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--trans),
    transform var(--trans),
    box-shadow var(--trans);
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title.light {
  color: var(--white);
}
.section-sub {
  color: var(--muted);
  max-width: 580px;
  font-size: 1.05rem;
}
.section-sub.light {
  color: rgba(255, 255, 255, 0.65);
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header .section-sub {
  margin: 0 auto;
}

section {
  padding: 88px 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--trans);
  margin-left: 28px;
}
.nav-links a:hover {
  color: var(--amber);
}
.nav-cta {
  margin-left: 32px !important;
  background: var(--amber);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--amber-d) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1b3d0f 0%, #2d6b18 50%, #1e4d10 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80")
    center/cover no-repeat;
  opacity: 0.12;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(104, 211, 74, 0.18);
  border: 1px solid rgba(104, 211, 74, 0.45);
  color: var(--lime);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-title em {
  color: var(--amber);
  font-style: normal;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 38px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat span {
  display: block;
}
.hero-stat .num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--lime);
  font-weight: 700;
}
.hero-stat .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: "\2193";
  font-size: 1.2rem;
  color: var(--lime);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar {
  background: var(--lime);
}
.info-bar-inner {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 14px 24px;
  align-items: center;
  justify-content: center;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.88rem;
}
.info-item a {
  color: var(--charcoal);
  text-decoration: none;
}
.info-item a:hover {
  text-decoration: underline;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--white);
}

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

.about-img-wrap {
  position: relative;
  overflow: visible;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--light);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-badge .big {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: var(--lime);
  font-weight: 800;
  display: block;
  line-height: 1;
}
.about-badge .small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.about-body {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-ico {
  color: var(--amber);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    border-color var(--trans);
  border: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
  border-color: var(--navy);
}
.service-img {
  display: block;
  width: calc(100% + 56px);
  height: 160px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  margin: -32px -28px 20px -28px; /* bleed to card edges */
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
#products {
  background: var(--white);
}

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

.product-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition:
    background var(--trans),
    transform var(--trans),
    box-shadow var(--trans);
  cursor: default;
}
.product-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card:hover .p-icon {
  background: rgba(104, 211, 74, 0.25);
}
.product-card:hover .p-name {
  color: var(--white);
}

.p-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(52, 149, 25, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
  color: var(--navy);
}
.p-icon svg {
  width: 24px;
  height: 24px;
}
.product-card:hover .p-icon {
  background: rgba(104, 211, 74, 0.25);
  color: var(--white);
}
.p-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  transition: color var(--trans);
}

/* ============================================================
   OPENING HOURS
   ============================================================ */
#opening {
  background: var(--navy);
  padding: 72px 0;
}

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

.hours-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 14px 20px;
  border-left: 3px solid var(--amber);
}
.hour-row .day {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.hour-row .time {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.92rem;
}
.hour-row .closed {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-style: italic;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  height: 320px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(52, 149, 25, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-ico svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}
.contact-block h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-block p,
.contact-block a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.6;
}
.contact-block a:hover {
  color: var(--amber);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field textarea,
.field select {
  padding: 12px 16px;
  border: 1.5px solid #e0ddd8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  transition: border-color var(--trans);
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--amber);
  background: var(--white);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: #dc2626;
  background: #fff5f5;
}
.field input.is-invalid:focus,
.field textarea.is-invalid:focus,
.field select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.form-error {
  display: none;
  margin-top: 2px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.form-error.show {
  display: block;
}
.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 8px;
}
.form-submit:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #112608;
  color: rgba(255, 255, 255, 0.65);
}

.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  display: block;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer ul a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--trans);
}
footer ul a:hover {
  color: var(--amber);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-social-link {
  font-size: 0.82rem;
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  section {
    padding: 64px 0;
  }
  .about-grid,
  .opening-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > *:first-child {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   ONLINE SHOPS
   ============================================================ */
#online {
  background: var(--light);
}

.online-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.online-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    border-color var(--trans);
}
.online-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}
.ebay-card:hover {
  border-color: #e53238;
}
.amazon-card:hover {
  border-color: #ff9900;
}

.online-logo {
  height: 48px;
  display: flex;
  align-items: center;
}
.online-logo svg {
  height: 100%;
  width: auto;
}

.online-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.online-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  transition: color var(--trans);
}
.ebay-card .online-cta {
  color: #e53238;
}
.amazon-card .online-cta {
  color: #ff9900;
}
.online-card:hover .online-cta {
  text-decoration: underline;
}

.online-social {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1877f2;
  background: #eaf2ff;
  border: 1px solid #c9dcff;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    background var(--trans);
}

.facebook-link:hover {
  transform: translateY(-2px);
  background: #dceaff;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.2);
}

@media (max-width: 640px) {
  .online-grid {
    grid-template-columns: 1fr;
  }
  .facebook-link {
    width: 100%;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.2rem;
    margin-left: 0;
  }
  .nav-cta {
    margin-left: 0 !important;
  }
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  .hero-actions {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-badge {
    left: 0;
  }
  .info-bar-inner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
