/*
  MAB's Celebrations — Stylesheet
  Theme: Warm, festive (gold, maroon, cream, dark green)
  Includes responsive layout, cards, gallery, menu, and contact form.
*/

/* CSS Variables for theme */
:root {
  --cream: #fff7e6;
  --gold: #d4af37;
  --gold-600: #c19a2c;
  --maroon: #7b1f1f;
  --maroon-800: #5f1616;
  --dark-green: #0b3d2e;
  --green-700: #0a3427;
  --text: #231f1f;
  --muted: #5c4f46;
  --border: #e6dcc8;
  --white: #ffffff;
}

/* Base reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Containers */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--gold);
  color: var(--dark-green);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(140%) blur(6px);
  background: color-mix(in srgb, var(--cream) 75%, white 25%);
  border-bottom: 1px solid var(--border);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--white) 85%, var(--cream) 15%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.25rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 26px; height: 26px; display: grid; place-items: center;
  color: var(--gold);
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  color: var(--dark-green);
}

/* Navigation */
.nav { position: relative; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--maroon);
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  color: var(--green-700);
}
.nav-list a:hover { background: rgba(11, 61, 46, 0.08); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.55rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.8rem 1.2rem; font-size: 1.05rem; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-600));
  color: var(--dark-green);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--green-700);
}
.btn-outline:hover { background: rgba(212,175,55,0.12); }

/* Hero */
.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;

  /* Main background image */
  background-image:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.65)
    ),
    url("images/hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Golden festive overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 400px at 20% 10%,
      rgba(212,175,55,0.25),
      transparent 60%
    ),
    radial-gradient(
      700px 300px at 80% 0%,
      rgba(255,255,255,0.12),
      transparent 70%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 4rem 1.5rem;
  max-width: 900px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin-bottom: 1.8rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--dark-green);
  margin: 0 0 0.75rem;
}
.section-lead { color: var(--muted); max-width: 60ch; }

/* Cards */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.08); }
.card h3 { margin-top: 0.4rem; margin-bottom: 0.25rem; }
.card-icon { color: var(--gold); width: 36px; height: 36px; }
.card-icon svg { width: 100%; height: 100%; }

/* Dishes */
.dishes .dish-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0; padding: 0; list-style: none;
}
.dishes .dish-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.menu-card .menu-heading {
  color: var(--maroon);
  margin: 0 0 0.5rem;
}
.menu-card .menu-columns h4 { margin: 0.6rem 0 0.25rem; color: var(--green-700); }
.menu-card .menu-columns ul { margin: 0 0 0.6rem; padding-left: 1rem; }
.menu-card .menu-columns li { margin: 0.2rem 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-card {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-card img { aspect-ratio: 4/3; object-fit: cover; }
.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 80%);
  color: white;
  padding: 0.6rem 0.8rem;
  font-weight: 500;
}
.gallery-card:hover img { filter: brightness(0.95) saturate(1.02); transform: scale(1.02); transition: transform 200ms ease, filter 200ms ease; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
.form {
  display: grid;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, var(--white) 45%);
}
.form-status { min-height: 1.25rem; color: var(--maroon); }
.contact-info .info-block { background: var(--white); border: 1px solid var(--border); border-radius: 0.8rem; padding: 1rem; }
.social { margin-top: 0.8rem; }
.social-icons { display: flex; gap: 0.6rem; }
.social-link { color: var(--green-700); background: var(--cream); border: 1px solid var(--border); border-radius: 0.6rem; padding: 0.45rem; display: inline-flex; }
.social-link:hover { background: color-mix(in srgb, var(--cream) 60%, var(--white) 40%); }
.social-link svg { width: 22px; height: 22px; }

/* Footer */
.footer {
  background: linear-gradient(135deg, #2b1b0f, #4a2c1a);
  color: #f5f5f5;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #f1c27d;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #f1c27d;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links li:hover {
  color: #f1c27d;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .footer {
    text-align: center;
  }
}
/* Default = Light */
:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --card-bg: #f5f5f5;
}

/* Dark Mode */
body.dark {
  --bg-color: #0f0f0f;
  --text-color: #f5f5f5;
  --card-bg: #1c1c1c;
}

/* Apply variables */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Toggle button */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.15);
}

/* Dark header compatibility */
body.dark .theme-toggle {
  border-color: rgba(255,255,255,0.6);
}
select[multiple] {
  height: 160px;
}





/* /* ===============================
   Contact / Booking Section
   =============================== */

.section.contact {
  padding: 60px 20px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 35px;
}

/* ===============================
   Layout Grid
   =============================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Form Styling
   =============================== */

.form {
  padding: 0;
}

.form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 18px;
  font-family: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #caa24d;
}

/* ===============================
   Event Checkbox Grid
   =============================== */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 12px 0 20px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.check-card:hover {
  border-color: #caa24d;
}

.check-card input {
  accent-color: #caa24d;
}

/* ===============================
   Submit Button
   =============================== */

.btn-gold {
  background: #caa24d;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-gold:hover {
  background: #b18c3a;
}

/* ===============================
   Contact Info Section
   =============================== */

.contact-info {
  font-size: 15px;
}

.info-block h3 {
  margin-bottom: 10px;
}

.info-block p {
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-link {
  color: #555;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #caa24d;
}
#message {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  background: #fff;
  margin-bottom: 20px;
  box-sizing: border-box;
}



/* Optional subtle background to match checkbox width */
.form textarea:focus {
  border-color: #caa24d;
  outline: none;
} 

.form-note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}
.gallery-card img {
  cursor: zoom-in;
}

/* ===============================
   RESPONSIVE ADD-ON
   (No existing styles changed)
   =============================== */

/* Tablet & small laptops */
@media (max-width: 900px) {

  .grid.cards,
  .menu-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 3rem 1.2rem;
  }
}

/* Mobile devices */
@media (max-width: 600px) {

  /* Header */
  .header-inner {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  /* Hero */
  .hero {
    min-height: 65vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Cards & grids */
  .grid.cards,
  .menu-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Buttons */
  .btn,
  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  /* Forms */
  .form input,
  .form textarea,
  .form select {
    font-size: 15px;
  }

  /* Footer */
  .footer-container {
    text-align: center;
    gap: 25px;
  }
}

/* Small phones */
@media (max-width: 400px) {

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}

/* Touch-friendly sizing (mobile UX standard) */
@media (hover: none) {
  .btn,
  .social-link {
    min-width: 44px;
    min-height: 44px;
  }
}

