/* ============================================
   Orwell DQ Cakes & more — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, dl { margin: 0; padding: 0; list-style: none; }

/* --- Focus --- */
:focus-visible { outline: 2px solid #1a5632; outline-offset: 2px; border-radius: 4px; }

/* --- Scroll Reveal (progressive enhancement) --- */
.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* --- Section --- */
.section { padding: 96px 0; }
.section-alt { background-color: #f3edd8; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a5632;
  background: #d3e5d9;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label-light {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8ccb0;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a5632;
  margin: 0 0 16px;
}
.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #4a6b4e;
  margin: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 26px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #1a5632;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26,86,50,0.35);
}
.btn-primary:hover { background: #144327; box-shadow: 0 6px 20px rgba(26,86,50,0.45); }
.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #ffffff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Navbar --- */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253,252,250,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,86,50,0.1);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a5632;
}
.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.nav-logo-accent { color: #336d3e; font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #1a5632;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: #eef5f1; color: #0f341e; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #1a5632;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 8px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #144327; transform: translateY(-1px); }
.nav-toggle { display: none; color: #1a5632; padding: 8px; border-radius: 6px; }
.menu-icon-close { display: none; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253,252,250,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(26,86,50,0.1);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { width: 100%; padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; width: 100%; }
  .nav-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a5632;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/10422361/pexels-photo-10422361.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  z-index: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,29,16,0.88) 0%, rgba(26,86,50,0.82) 50%, rgba(15,52,30,0.88) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 780px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a8ccb0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(168,204,176,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: #d3e5d9;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}
.hero-stat-label {
  font-size: 13px;
  color: #a8ccb0;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(168,204,176,0.4);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.5);
  animation: hero-bounce 2s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Products --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,86,50,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,86,50,0.15); }
.product-img-wrap { overflow: hidden; aspect-ratio: 3/2; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-body { padding: 28px; }
.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a5632;
  margin: 0 0 10px;
}
.product-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #4a6b4e;
  margin: 0;
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-img-block { position: relative; }
.about-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(26,86,50,0.18);
}
.about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: #1a5632;
  border-radius: 16px;
  z-index: -1;
  opacity: 0.15;
}
.about-text .section-title { text-align: left; }
.about-p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a6b4e;
  margin: 0 0 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 28px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #1a5632;
}
.about-check { color: #336d3e; flex-shrink: 0; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-block { max-width: 480px; }
  .about-text .section-title { text-align: center; }
  .about-p { text-align: center; }
  .about-features { max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #d3e5d9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: #1a5632;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/30469703/pexels-photo-30469703.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
  opacity: 0.2;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.cta-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #d3e5d9;
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #4a6b4e;
  margin: 0 0 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { }
.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #336d3e;
  margin-bottom: 6px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #1a5632;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover { color: #0f341e; text-decoration: underline; }
.contact-hours {
  font-size: 16px;
  color: #4a6b4e;
  line-height: 1.8;
}
.contact-form-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(26,86,50,0.1);
}
.contact-form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a5632;
  margin: 0 0 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a5632;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #1a5632;
  background: #f3edd8;
  border: 1.5px solid #d3e5d9;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a5632;
  box-shadow: 0 0 0 3px rgba(26,86,50,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a8ccb0; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #eef5f1;
  border: 1px solid #d3e5d9;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a5632;
}
.form-success.hidden { display: none; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info .section-title { text-align: center; }
  .contact-desc { text-align: center; }
  .contact-form-wrap { padding: 28px; }
}

/* --- Footer --- */
.footer {
  background: #0f341e;
  color: #a8ccb0;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(168,204,176,0.2);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 14px;
}
.footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}
.footer-logo-accent { color: #a8ccb0; font-weight: 600; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: #74ab7e; max-width: 280px; margin: 0; }
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8ccb0;
  margin: 0 0 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: #74ab7e;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #74ab7e;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-link:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  font-size: 13px;
  color: #74ab7e;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Utility --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
