:root {
  --color-primary: #1e7d32;
  --color-primary-dark: #145a24;
  --color-accent: #4caf50;
  --color-cream: #ffffff;
  --color-text: #1f2a22;
  --color-muted: #5c6b61;
  --max-width: 1140px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img.img-fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}
img.img-fade.img-loaded {
  opacity: 1;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  opacity: 0;
  animation: pageFadeIn 0.5s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; animation: none; }
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin-top: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--color-cream);
  border-bottom: 1px solid #dcebdd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-primary-dark);
  transition: color 0.25s ease, transform 0.25s ease;
}

.logo:hover {
  color: var(--color-primary);
  transform: scale(1.03);
}

.logo-badge {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(20, 90, 36, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.logo:hover .logo-badge {
  box-shadow: 0 5px 14px rgba(20, 90, 36, 0.45);
  transform: scale(1.05);
}

.logo-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 66%);
  background-size: 250% 250%;
  background-position: 120% 0;
  pointer-events: none;
  transition: background-position 0.8s ease;
}

.logo:hover .logo-badge::after {
  background-position: -20% 100%;
}

.logo img {
  height: 72px;
  width: 72px;
  object-fit: cover;
  display: block;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  position: relative;
  color: var(--color-text);
  font-weight: 600;
  padding: 6px 2px;
  transition: color 0.2s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transition: left 0.3s ease, right 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--color-primary);
}

nav a:hover::after,
nav a.active::after {
  left: 0;
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 90px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.92;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #2b2220;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* Sections */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title h2 {
  font-size: 2.1rem;
  color: var(--color-primary-dark);
}

.section-title p {
  color: var(--color-muted);
  max-width: 560px;
  margin: 10px auto 0;
}

/* Feature / card grid */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(43, 34, 32, 0.08);
}

.card-icon-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.card-body {
  padding: 22px;
}

.card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.card .price {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.card:hover .price,
.showcase-col h3 .price:hover {
  transform: scale(1.12);
  color: var(--color-primary);
}

/* Showcase card (photo banner + split details) */
.showcase {
  max-width: 980px;
  margin: 0 auto;
}

.showcase-photo {
  border-radius: 14px;
  overflow: hidden;
}

.showcase-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.showcase-panel {
  background: #fff;
  border-radius: 14px;
  margin-top: 14px;
  padding: 30px 36px;
}

.showcase-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
}

.showcase-col h3 {
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.showcase-col h3 .price {
  color: var(--color-accent);
}

.showcase-col p {
  margin: 0;
  color: var(--color-text);
}

.showcase-divider {
  width: 1px;
  background: #e3d8cb;
}

.showcase-leaf {
  text-align: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e3d8cb;
  color: var(--color-primary);
  font-size: 1.1rem;
}

@media (max-width: 700px) {
  .showcase-split {
    grid-template-columns: 1fr;
  }
  .showcase-divider {
    width: 100%;
    height: 1px;
  }
  .showcase-panel {
    padding: 24px;
  }
  .showcase-photo img {
    height: 220px;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content img {
  border-radius: var(--radius);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.stats div {
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.8rem;
  color: var(--color-primary);
}

/* Testimonials */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 16px rgba(43, 34, 32, 0.08);
}

.testimonial p.quote {
  font-style: italic;
  color: var(--color-text);
}

.testimonial .author {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 12px;
}

/* Contact / Form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item strong {
  display: block;
  color: var(--color-primary-dark);
}

form {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(43, 34, 32, 0.08);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 16px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8ddc9;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

form .btn {
  margin-top: 22px;
  width: 100%;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 10px;
}

/* CTA band */
.cta-band {
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta-band h2 {
  margin-bottom: 14px;
}

/* Footer */
footer {
  background: #0f3d1d;
  color: #d7e8da;
  padding: 44px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 8px;
}

footer a {
  color: #d9cfc6;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e5a30;
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9fc2a6;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .about-content, .contact-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  nav ul {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    padding: 20px;
    border-bottom: 1px solid #ecddc8;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* =========================================================
   Animations & visual flourishes
   ========================================================= */

/* Sticky header gains depth once the page scrolls */
header {
  transition: box-shadow 0.3s ease;
}
header.scrolled {
  box-shadow: 0 4px 16px rgba(20, 90, 36, 0.12);
}

/* Scroll-reveal: elements fade/slide up into place */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > * {
  animation: fadeUp 0.6s ease both;
}
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: 0.55s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Hero entrance + floating garnish leaves */
.hero {
  position: relative;
  overflow: hidden;
}
.hero h1 {
  animation: heroUp 0.8s ease both;
}
.hero p {
  animation: heroUp 0.8s ease both 0.15s;
}
.hero .btn {
  animation: heroUp 0.8s ease both 0.3s;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Full-bleed photo hero with centered ornamented text (inner pages) */
.hero-photo-center {
  background-image:
    linear-gradient(rgba(8, 36, 17, 0.25), rgba(8, 36, 17, 0.55)),
    url("../images/about-hero-strip.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 20px !important;
}
.hero-photo-center .hero-ornament {
  justify-content: center;
}
.hero-menu {
  background-image:
    linear-gradient(rgba(8, 36, 17, 0.25), rgba(8, 36, 17, 0.55)),
    url("../images/menu-hero-strip.jpg");
}
.hero-gallery {
  background-image:
    linear-gradient(rgba(8, 36, 17, 0.25), rgba(8, 36, 17, 0.55)),
    url("../images/gallery-hero.jpg");
}

/* Illustrated green hero (Contact page) */
.hero-contact {
  background-image:
    url("../images/contact-hero-left.png"),
    url("../images/contact-hero-right.png"),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(135deg, #2fae1f 0%, #15811a 45%, #0b5f12 75%, #063f09 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: left bottom, right bottom, center, center;
  background-size: 300px auto, 300px auto, cover, cover;
  padding: 90px 20px !important;
}
.hero-contact h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-contact {
    background-size: 160px auto, 160px auto, cover, cover;
  }
}
.hero-photo-center h1,
.hero-photo-center p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero-photo-center h1 {
  font-size: 2.6rem;
}
.hero-photo-center .hero-accent-inline {
  color: var(--color-accent);
}

/* Full-bleed photo hero (centered layout) */
.hero-photo {
  background-image:
    linear-gradient(rgba(8, 36, 17, 0.72), rgba(8, 36, 17, 0.72)),
    url("../images/hero-bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Photographic home hero */
.hero-home {
  background-image:
    linear-gradient(100deg, rgba(8, 36, 17, 0.95) 0%, rgba(8, 36, 17, 0.88) 32%, rgba(8, 36, 17, 0.45) 58%, rgba(8, 36, 17, 0.12) 78%),
    url("../images/hero-bg2.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  text-align: left;
  padding: 90px 20px;
  display: flex;
  align-items: center;
  min-height: 600px;
}
.hero-home-inner {
  max-width: 620px;
}
.hero-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.hero-ornament-line {
  flex: 0 0 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent));
}
.hero-ornament-line:last-child {
  background: linear-gradient(to left, transparent, var(--color-accent));
}
.hero-chef-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.2;
}
.hero-home h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-accent {
  display: block;
  font-style: italic;
  color: var(--color-accent);
}
.hero-home p {
  margin-left: 0;
  margin-right: 0;
  max-width: 540px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-badge-icon {
  font-size: 1.4rem;
}

@media (max-width: 860px) {
  .hero-home h1 {
    font-size: 2.3rem;
  }
  .hero-home {
    background-position: center 85%;
    min-height: 0;
  }
}

.hero-leaf {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.35;
  animation: floatLeaf 9s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
.hero-leaf:nth-child(1) { left: 6%;  top: 18%; animation-duration: 10s; }
.hero-leaf:nth-child(2) { left: 88%; top: 22%; animation-duration: 8s;  animation-delay: 1s; }
.hero-leaf:nth-child(3) { left: 14%; top: 68%; animation-duration: 11s; animation-delay: 2s; }
.hero-leaf:nth-child(4) { left: 80%; top: 70%; animation-duration: 9.5s; animation-delay: 0.5s; }
.hero-leaf:nth-child(5) { left: 48%; top: 10%; animation-duration: 12s; animation-delay: 1.5s; }

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(12deg); }
}

/* Card lift + image zoom on hover */
.card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(20, 90, 36, 0.16);
}
.card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover img {
  transform: scale(1.08);
}

/* Buttons: lift + ripple */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleEffect {
  to { transform: scale(2.6); opacity: 0; }
}

/* Gallery hover overlay */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 61, 29, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Testimonial hover lift */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(20, 90, 36, 0.14);
}

/* Stats count-up emphasis */
.stats strong {
  display: inline-block;
}

/* Floating WhatsApp quick-contact button */
.whatsapp-fab,
.instagram-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 100;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover,
.instagram-fab:hover {
  transform: scale(1.08);
}
.instagram-fab {
  bottom: 90px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.instagram-fab svg {
  width: 28px;
  height: 28px;
}
.whatsapp-fab.wiggle {
  animation: fabWiggle 0.7s ease;
}
@keyframes fabWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-12deg) scale(1.1); }
  40% { transform: rotate(10deg) scale(1.1); }
  60% { transform: rotate(-8deg) scale(1.05); }
  80% { transform: rotate(6deg) scale(1.05); }
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulseRing 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before { animation: none; }
}

/* =========================================================
   Extra flourishes: shimmer, tilt, confetti
   ========================================================= */

/* Gold shimmer sweep on accent heading text */
.hero-accent,
.hero-accent-inline {
  background-image: linear-gradient(
    100deg,
    var(--color-accent) 0%,
    var(--color-accent) 40%,
    #fff6d8 50%,
    var(--color-accent) 60%,
    var(--color-accent) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-accent);
  animation: shimmerSweep 4.5s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  60%, 100% { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-accent, .hero-accent-inline { animation: none; }
}

/* 3D tilt-on-hover for cards */
.card, .testimonial {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Animated gradient shift on CTA bands */
.cta-band {
  background-image: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary), #1e9d3a, var(--color-primary-dark));
  background-size: 300% 300%;
  animation: ctaGradientShift 10s ease infinite;
}
@keyframes ctaGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band { animation: none; }
}

/* Leaf-burst particles on button click */
.btn-leaf-burst {
  position: fixed;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 300;
  animation: leafBurst 0.9s ease-out forwards;
}
@keyframes leafBurst {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.4); opacity: 0; }
}
