/* ===== VARIABLES ===== */
:root {
  --pink:       #c97a8a;
  --pink-light: #f5e8eb;
  --purple:     #6b7c5c;
  --yellow:     #c9a84c;
  --dark:       #2d3728;
  --gray:       #6b7280;
  --light:      #f9f4ef;
  --white:      #ffffff;
  --green:      #6b7c5c;
  --green-light:#e8ede3;
  --gold:       #c9a84c;
  --cream:      #f9f4ef;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  background: var(--cream);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}
.navbar .logo span { color: var(--gold); }
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 68px;
  width: 68px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links .btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition);
}
.nav-links .btn-nav:hover { background: var(--gold); color: var(--white); }

/* Hamburger */
.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(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--dark); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* ===== FLOATING CANDY BACKGROUND ===== */
.candy-piece {
  position: absolute;
  font-size: 1.8rem;
  pointer-events: none;
  user-select: none;
  animation: candyFloat linear infinite;
  opacity: 0;
  z-index: 0;
}
@keyframes candyFloat {
  0%   { transform: translateY(110%) rotate(0deg);   opacity: 0; }
  5%   { opacity: 0.75; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10%) rotate(360deg); opacity: 0; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f9f4ef 0%, #f0ece6 40%, #e8ede3 70%, #f5f0e8 100%);
  overflow: hidden;
  padding: 4rem 1.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-content .eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-content h1 { color: var(--dark); margin-bottom: 1rem; }
.hero-content p { font-size: 1.1rem; color: var(--gray); margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SECTION WRAPPER ===== */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--gray); margin-top: 0.5rem; max-width: 540px; margin-inline: auto; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.14); }
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--pink-light);
}
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--pink-light), #e8d5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 1.25rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--gray); font-size: 0.9rem; }
.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-top: 0.75rem;
}
.badge-local  { background: #e0f2fe; color: #0369a1; }
.badge-ships  { background: #dcfce7; color: #15803d; }
.badge-halal  { background: #fef9c3; color: #854d0e; }

/* ===== FEATURED / ALTERNATING BG ===== */
.bg-light { background: var(--light); }
.bg-pink  { background: var(--pink-light); }

/* ===== PHOTO GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink-light), #e8d5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ===== FORM ===== */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  background: #dcfce7;
  color: #15803d;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 0.5rem; }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--gray); font-style: italic; }
.testimonial-card .author { font-weight: 600; margin-top: 1rem; font-size: 0.9rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #374151;
}
.footer-inner h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-inner p, .footer-inner a { font-size: 0.9rem; line-height: 1.8; }
.footer-inner a:hover { color: var(--pink); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold); margin-bottom: 0.5rem; }
.social-links { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  font-size: 1rem;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--green); }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 1.25rem;
  color: #9ca3af;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #f9f4ef 0%, #f0ece6 40%, #e8ede3 70%, #f5f0e8 100%);
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: var(--gray); }

/* ===== PRICING TABLE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}
.pricing-card.featured { border-color: var(--gold); }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.pricing-card h3 { margin-bottom: 0.25rem; }
.pricing-card .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  margin: 0.5rem 0;
}
.pricing-card .price span { font-size: 0.9rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { text-align: left; margin: 1rem 0 1.5rem; }
.pricing-card ul li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== SHOP PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-4px); }
.product-card .product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-light), #e8d5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.product-card .product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.product-card .product-desc { font-size: 0.85rem; color: var(--gray); flex: 1; }
.product-card .product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin: 0.75rem 0 1rem;
}
.product-card .product-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== ORDER MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal h3 { margin-bottom: 1.25rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 2rem;
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }
  .nav-links .btn-nav { border-radius: 0; background: var(--green-light); color: var(--green); }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .navbar { position: relative; }
}
