:root {
  --chocolate: #5b2f18;
  --dark: #241008;
  --cream: #fff1d2;
  --gold: #f3b23b;
  --orange: #c95b22;
  --white: #fffaf0;
  --text: #3c2417;
  --muted: #7c604d;
  --shadow: 0 24px 70px rgba(74, 38, 18, .2);
  --photo: linear-gradient(135deg, #6b3317, #df8036);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(243, 178, 59, .2), transparent 28%),
    linear-gradient(180deg, #fffaf0, #fff2d4 48%, #fffaf0);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 246, 226, .94);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s, padding .25s;
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(77, 40, 16, .14); padding-block: 10px; }
.brand span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--chocolate);
}
.brand small { color: var(--orange); font-weight: 700; }
.nav { display: flex; justify-content: center; gap: 8px; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #61402d;
}
.nav a:hover, .nav a.active { background: #ffe8ba; color: var(--chocolate); }
.header-call {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6c3519, #2e1409);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(91, 47, 24, .24);
}
.menu-toggle { display: none; background: none; border: 0; color: var(--chocolate); font-size: 1.5rem; }
.menu-toggle::after { content: "☰"; font-weight: 800; }
.menu-toggle i { display: none; }
.menu-toggle.open::after { content: "×"; }

.section-pad { padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 72px); }
.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  width: 100%;
  max-width: 100vw;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 80px clamp(18px, 6vw, 92px);
  overflow: hidden;
  color: #fff;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(30, 12, 5, .9), rgba(82, 36, 13, .72) 45%, rgba(170, 79, 24, .42)),
    radial-gradient(circle at 72% 26%, rgba(255, 194, 86, .32), transparent 22%),
    url("../images/hero-factory.jpg");
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    linear-gradient(to top, rgba(30, 12, 5, .82), transparent 78%),
    radial-gradient(ellipse at 18% 86%, rgba(245, 213, 141, .8) 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 36% 88%, rgba(216, 137, 55, .74) 0 9%, transparent 9.4%),
    radial-gradient(ellipse at 54% 90%, rgba(255, 224, 160, .68) 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 76% 88%, rgba(201, 106, 46, .76) 0 9%, transparent 9.4%);
  opacity: .75;
}
.hero-content, .hero-stats, .page-hero > * { position: relative; z-index: 2; min-width: 0; max-width: 100%; }
.eyebrow {
  display: inline-flex;
  color: var(--orange);
  background: #fff0cc;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
}
.hero .eyebrow { color: #3a1b0e; background: #ffd885; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1, h2 { font-family: "Playfair Display", serif; }
.hero h1 { max-width: 850px; margin-top: 18px; font-size: clamp(3rem, 8vw, 6.8rem); overflow-wrap: break-word; }
.hero p { max-width: 760px; font-size: clamp(1rem, 1.8vw, 1.28rem); line-height: 1.7; color: #fff4de; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn.primary { background: linear-gradient(135deg, #ffd36f, #f09d2d 55%, #c75a22); color: #35180b; box-shadow: 0 12px 28px rgba(205, 96, 28, .32), 0 0 0 0 rgba(244, 180, 65, .6); animation: pulse 2.8s infinite; }
.btn.secondary { background: #fff8ea; color: var(--chocolate); }
.btn.whatsapp { background: #23c55e; color: #fff; }
.hero-stats {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(83, 37, 16, .72), rgba(36, 16, 8, .62));
  backdrop-filter: blur(12px);
}
.hero-stats strong { display: block; font-size: 2rem; }
.hero-stats span { color: #ffe9c1; line-height: 1.5; }
.float-item {
  position: absolute;
  z-index: 1;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255,255,255,.68), transparent 9%),
    radial-gradient(ellipse at 50% 58%, #ffe0a1 0 22%, #c96d2e 62%, #6f3518);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  animation: float 5s ease-in-out infinite;
}
.float-one { right: 18%; top: 18%; animation-name: breadFloat; }
.float-two { right: 7%; top: 55%; width: 58px; animation-delay: -1.2s; animation-name: cookieFloat; }
.float-three { left: 8%; bottom: 12%; width: 68px; animation-delay: -2.1s; animation-name: breadFloat; }

.strip { background: var(--cream); }
.strip-grid, .product-grid, .why-grid, .contact-cards, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.image-card, .visual-panel, .product-img, .gallery-img, .why-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e9a74b center / cover no-repeat;
  box-shadow: var(--shadow);
}
.image-card {
  min-height: 210px;
  display: flex;
  align-items: end;
  padding: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  isolation: isolate;
}
.image-card::before, .visual-panel::before, .product-img::before, .gallery-img::before, .why-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  transition: transform .6s;
}
.image-card::after, .gallery-img::after, .visual-panel::after, .why-img::after, .product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 18, 7, .72), rgba(44, 18, 7, .14) 58%, rgba(255, 210, 123, .12));
}
.image-card:hover::before, .product-card:hover .product-img::before, .gallery-img:hover::before, .visual-panel:hover::before, .why-card:hover .why-img::before { transform: scale(1.08); }
.image-card span { position: relative; z-index: 2; }
.strip-grid .bread { --photo: url("../images/bread-loaves.jpg"); }
.strip-grid .rusk { --photo: url("../images/toast-rusk.jpg"); }
.strip-grid .cookies { --photo: url("../images/cookies.jpg"); }
.strip-grid .biscuits { --photo: url("../images/biscuits.jpg"); }
.strip-grid .cakes { --photo: url("../images/cakes.jpg"); }
.visual-panel.factory { --photo: url("../images/factory-ovens.jpg"); }
.product-card:nth-child(1) .product-img { --photo: url("../images/fresh-buns.jpg"); }
.product-card:nth-child(2) .product-img { --photo: url("../images/rusk-packing.jpg"); }
.product-card:nth-child(3) .product-img { --photo: url("../images/cookie-packing.jpg"); }
.product-card:nth-child(4) .product-img { --photo: url("../images/retail-packs.jpg"); }
.product-card:nth-child(5) .product-img { --photo: url("../images/cake-finishing.jpg"); }
.product-card:nth-child(6) .product-img { --photo: url("../images/cream-rolls.jpg"); }
.product-card:nth-child(7) .product-img { --photo: url("../images/bakery-snacks.jpg"); }
.product-card:nth-child(8) .product-img { --photo: url("../images/wholesale-cartons.jpg"); }
.gallery .bread { --photo: url("../images/bread-racks.jpg"); }
.gallery .factory { --photo: url("../images/dough-production.jpg"); }
.gallery .cookies { --photo: url("../images/croissants.jpg"); }
.gallery .packing { --photo: url("../images/packed-products.jpg"); }
.gallery .cakes { --photo: url("../images/quality-ingredients.jpg"); }
.gallery .rusk { --photo: url("../images/delivery-crates.jpg"); }
.gallery .supply { --photo: url("../images/restaurant-trays.jpg"); }
.gallery .snacks { --photo: url("../images/bakery-exterior.jpg"); }
.quality { --photo: url("../images/quality-control.jpg"); }
.bulk { --photo: url("../images/flour-dough.jpg"); }
.delivery { --photo: url("../images/tea-stall-supply.jpg"); }

.about-split, .enquiry {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.visual-panel { min-height: 500px; }
.section-copy h2, .section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  color: var(--chocolate);
}
.section-copy p, .section-head p, .product-card p, .why-card p, .testimonial p, .contact-card p {
  color: var(--muted);
  line-height: 1.7;
}
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { font-weight: 800; color: var(--chocolate); }
.check-list li::before { content: "✓"; color: var(--orange); margin-right: 10px; }

.products { background: linear-gradient(180deg, #fff7e7, #f6dfb8); }
.section-head { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.product-card, .why-card, .testimonial, .contact-card {
  position: relative;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(255, 242, 213, .94));
  border: 1px solid rgba(164, 91, 31, .14);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product-card > *, .why-card > * { position: relative; z-index: 1; }
.product-card::before, .why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.42), transparent 42%, rgba(185, 91, 31, .08));
}
.product-card::after {
  content: "Fresh Daily";
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 244, 222, .92);
  color: #5b2f18;
  font-size: .76rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(36, 16, 8, .18);
}
.product-card:nth-child(2)::after { content: "Tea Partner"; }
.product-card:nth-child(3)::after { content: "Crunchy"; }
.product-card:nth-child(4)::after { content: "Retail Pack"; }
.product-card:nth-child(5)::after { content: "Soft Finish"; }
.product-card:nth-child(6)::after { content: "Cream Filled"; }
.product-card:nth-child(7)::after { content: "Snack Supply"; }
.product-card:nth-child(8)::after { content: "Bulk Orders"; }
.product-card:hover, .why-card:hover, .contact-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(74, 38, 18, .23); }
.product-img { height: 230px; margin-bottom: 18px; box-shadow: none; }
.product-img::before { animation: slowZoom 14s ease-in-out infinite alternate; }
.product-card h3, .why-card h3, .contact-card h3 { color: var(--chocolate); font-size: 1.35rem; }
.product-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.product-card a { color: var(--orange); font-weight: 800; }

.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}
.gallery-img { box-shadow: 0 18px 50px rgba(69, 34, 13, .22); }
.gallery-img::after { background: linear-gradient(to top, rgba(31, 12, 4, .45), transparent 64%); }
.gallery-img::before { filter: saturate(1.08) contrast(1.04); }
.gallery-img:hover { box-shadow: 0 26px 70px rgba(69, 34, 13, .3); }
.gallery-img.tall { grid-row: span 2; }
.gallery-img.wide { grid-column: span 2; }
.why-img { height: 250px; margin: -18px -18px 20px; border-radius: 8px 8px 0 0; box-shadow: none; }
.counter-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark);
  color: #fff;
}
.counter-band div { padding: clamp(28px, 5vw, 54px); text-align: center; background: #35180b; }
.counter-band strong { display: block; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--gold); }
.counter-band span { color: #ffe7bf; font-weight: 700; }
.testimonial-grid { max-width: 920px; margin: 0 auto; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 0; }
.contact-card { text-align: center; }
.contact-card i { font-size: 2rem; color: var(--orange); margin-bottom: 12px; }
.contact-card a { color: var(--chocolate); font-weight: 800; overflow-wrap: anywhere; }

.enquiry { background: var(--cream); }
.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.enquiry-form input, .enquiry-form textarea {
  width: 100%;
  border: 1px solid #ead0a6;
  border-radius: 8px;
  padding: 16px;
  font: inherit;
  background: #fffaf0;
}
.enquiry-form textarea, .enquiry-form button { grid-column: 1 / -1; }
.enquiry-form textarea { min-height: 130px; resize: vertical; }

.footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding: 64px clamp(18px, 5vw, 72px) 28px;
  background: var(--dark);
  color: #fff4de;
}
.footer h3, .footer h4 { color: #fff; margin: 0 0 14px; }
.footer a, .footer p { display: block; color: #d8b992; line-height: 1.7; margin: 4px 0; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; }
.floating-call, .floating-whatsapp {
  position: fixed;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
}
.floating-call { left: 20px; background: var(--orange); }
.floating-whatsapp { right: 20px; background: #20bf55; }

.page-hero {
  min-height: 430px;
  position: relative;
  display: grid;
  align-content: end;
  padding: 120px clamp(18px, 6vw, 92px) 70px;
  overflow: hidden;
  color: #fff;
}
.page-hero h1 { max-width: 920px; margin-top: 14px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.about-hero::before {
  background:
    linear-gradient(105deg, rgba(30, 12, 5, .88), rgba(82, 36, 13, .66), rgba(170, 79, 24, .28)),
    url("../images/dough-production.jpg") center / cover;
}
.products-hero::before {
  background:
    linear-gradient(105deg, rgba(30, 12, 5, .86), rgba(82, 36, 13, .62), rgba(170, 79, 24, .26)),
    url("../images/packed-products.jpg") center / cover;
}
.contact-hero::before {
  background:
    linear-gradient(105deg, rgba(30, 12, 5, .86), rgba(82, 36, 13, .62), rgba(170, 79, 24, .26)),
    url("../images/wholesale-cartons.jpg") center / cover;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-24px) rotate(8deg); } }
@keyframes breadFloat { 0%,100% { transform: translate3d(0,0,0) rotate(-8deg); } 45% { transform: translate3d(-14px,-30px,0) rotate(10deg); } 72% { transform: translate3d(10px,-16px,0) rotate(2deg); } }
@keyframes cookieFloat { 0%,100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); } 50% { transform: translate3d(16px,-22px,0) rotate(24deg) scale(1.08); } }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 180, 65, .55); } 70% { box-shadow: 0 0 0 16px rgba(244, 180, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 180, 65, 0); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff7e7;
    padding: 12px;
    border-radius: 8px;
  }
  .nav.open { display: flex; }
  .header-call { display: none; }
  .hero, .about-split, .enquiry { grid-template-columns: 1fr; }
  .hero { min-height: 760px; gap: 22px; }
  .hero-stats { max-width: 420px; }
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .counter-band, .footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 16px; }
  .section-pad { padding-block: 54px; }
  .hero { padding: 54px 18px 42px; min-height: 740px; align-content: center; }
  .hero-content { width: calc(100vw - 36px); }
  .hero h1 { max-width: 100%; font-size: clamp(2.1rem, 9.6vw, 2.65rem); }
  .hero p { max-width: 100%; overflow-wrap: anywhere; }
  .hero-stats { width: 100%; padding: 20px; }
  .product-img { height: 220px; }
  .image-card { min-height: 190px; }
  .masonry { grid-auto-rows: 210px; }
  .page-hero { min-height: 360px; padding-top: 92px; }
  .hero-actions .btn { width: 100%; }
  .visual-panel { min-height: 340px; }
  .masonry, .counter-band, .footer, .enquiry-form { grid-template-columns: 1fr; }
  .gallery-img.wide { grid-column: auto; }
  .gallery-img.tall { grid-row: auto; }
  .section-pad { padding-inline: 16px; }
  .floating-call, .floating-whatsapp { width: 48px; height: 48px; bottom: 12px; font-size: 1.1rem; }
}
