/* ==========================================================================
   Mad Hattin's Bakery — Whimsical Redesign
   Palette: midnight navy · warm gold · parchment · cream
   Fonts: Cormorant Garamond · Crimson Pro · Dancing Script
   ========================================================================== */

:root {
  --midnight:      #1A2744;
  --midnight-deep: #0F1525;
  --gold:          #C8922A;
  --gold-light:    #E8B84B;
  --rose:          #B5687A;
  --parchment:     #FDF0DC;
  --cream:         #F5E6C8;
  --ink:           #2A1F14;
  --ink-muted:     #6B5A44;
  --white:         #FFFFFF;

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Crimson Pro', Georgia, serif;
  --font-script:   'Dancing Script', cursive;

  --section-pad:   clamp(5rem, 10vw, 10rem);
  --container:     1200px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-light); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Typography helpers */
.section-label {
  display: block;
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.section-label--center { text-align: center; }
.section-label--light  { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title--light { color: var(--white); }

/* Wave dividers */
.section-wave { display: block; line-height: 0; margin-top: -2px; }
.section-wave svg { display: block; width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn--gold {
  background: var(--gold);
  color: var(--midnight-deep);
  border-color: var(--gold);
  font-weight: 600;
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--midnight-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,146,42,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.35s var(--ease);
}
.nav--scrolled {
  background: rgba(15, 21, 37, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,146,42,0.2);
  padding: 0.75rem 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.nav__logo img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200,146,42,0.5);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--midnight-deep) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease) !important;
}
.nav__cta:hover {
  background: var(--gold-light) !important;
  color: var(--midnight-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,146,42,0.4);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--midnight-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,21,37,0.97) 0%, rgba(26,39,68,0.95) 50%, rgba(20,30,55,0.98) 100%);
  z-index: 1;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/products/CaramelApplePie.jpeg') center/cover no-repeat;
  z-index: -1;
  opacity: 0.15;
}
/* Floating sparkles */
.hero__spark {
  position: absolute;
  color: var(--gold);
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.hero__spark--1 { top: 18%; left: 12%; font-size: 0.8rem;  animation: sparkleFloat 6s ease-in-out infinite; }
.hero__spark--2 { top: 28%; right: 14%; font-size: 1.6rem; animation: sparkleFloat 8s ease-in-out infinite 1s;   color: rgba(200,146,42,0.45); }
.hero__spark--3 { bottom: 32%; left: 8%; font-size: 1rem;  animation: sparkleFloat 7s ease-in-out infinite 2s; }
.hero__spark--4 { top: 62%; right: 9%; font-size: 0.6rem;  animation: sparkleFloat 5s ease-in-out infinite 0.5s; }
.hero__spark--5 { bottom: 22%; right: 18%; font-size: 1.1rem; animation: sparkleFloat 9s ease-in-out infinite 3s; color: rgba(200,146,42,0.4); }

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg);   opacity: 0.6; }
  33%       { transform: translateY(-18px) rotate(15deg); opacity: 1; }
  66%       { transform: translateY(8px) rotate(-10deg);  opacity: 0.35; }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  max-width: 700px;
}
.hero__ornament {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero__logo {
  width: min(380px, 70vw);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.5));
  animation: fadeUp 1s 0.1s var(--ease) both;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation: fadeUp 1s 0.2s var(--ease) both;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 1s 0.35s var(--ease) both;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.5s var(--ease) both;
}
.hero__wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 4;
  line-height: 0;
}
.hero__wave svg { display: block; width: 100%; }

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

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: var(--section-pad) 0 0;
  background: var(--parchment);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__images { position: relative; }
.about__img--main {
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(42,31,20,0.18);
}
.about__img--accent {
  position: absolute;
  bottom: -2.5rem; right: -2.5rem;
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--cream);
  padding: 0.5rem;
  box-shadow: 0 12px 40px rgba(42,31,20,0.15);
  border: 5px solid var(--parchment);
  outline: 2px solid rgba(200,146,42,0.3);
}
.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about__text h2 em { color: var(--gold); font-style: italic; }
.about__text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
.about__challenge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(200,146,42,0.09), rgba(200,146,42,0.03));
  border: 1px solid rgba(200,146,42,0.25);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.about__challenge-ornament { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.about__challenge p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.about__badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.about__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(200,146,42,0.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  min-width: 78px;
  box-shadow: 0 2px 12px rgba(42,31,20,0.06);
}
.about__badge span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about__badge small {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* ==========================================================================
   Featured
   ========================================================================== */
.featured {
  position: relative;
  padding: var(--section-pad) 0 0;
  background: var(--midnight);
  overflow: hidden;
}
.featured__spark {
  position: absolute;
  color: rgba(200,146,42,0.18);
  font-size: 5rem;
  top: 15%;
  pointer-events: none;
  user-select: none;
}
.featured__spark--l { left: 2%; }
.featured__spark--r { right: 2%; }

.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-bottom: var(--section-pad);
}
.featured__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,146,42,0.22);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.featured__card:hover {
  transform: translateY(-10px) rotate(-0.4deg);
  border-color: rgba(200,146,42,0.6);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,146,42,0.25);
  background: rgba(255,255,255,0.07);
}
.featured__img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.featured__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.featured__card:hover .featured__img-wrap img { transform: scale(1.08); }
.featured__info { padding: 1.5rem; }
.featured__info h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.featured__info p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.featured__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

/* ==========================================================================
   Menu
   ========================================================================== */
.menu {
  padding: var(--section-pad) 0 0;
  background: var(--parchment);
}
.menu__intro {
  text-align: center;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  font-style: italic;
}
.menu__filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.menu__filter {
  padding: 0.55rem 1.4rem;
  border: 1.5px solid rgba(42,31,20,0.2);
  border-radius: 50px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.menu__filter:hover { border-color: var(--gold); color: var(--gold); }
.menu__filter.active {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--gold);
  font-weight: 500;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}
.menu__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  background: var(--white);
  border: 1px solid rgba(42,31,20,0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.menu__item:hover {
  border-color: rgba(200,146,42,0.4);
  box-shadow: 0 4px 20px rgba(42,31,20,0.08);
  transform: translateY(-2px);
}
.menu__item.hidden { display: none; }
.menu__item img {
  width: 72px; height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.menu__item img[src*="coming-soon"] { object-fit: contain; background: var(--cream); padding: 6px; }
.menu__item-info { flex: 1; min-width: 0; }
.menu__item-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu__price { font-weight: 600; color: var(--gold); font-size: 0.95rem; }
.menu__price small { font-weight: 400; color: var(--ink-muted); font-size: 0.85rem; }

/* ==========================================================================
   Product Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__content {
  position: relative;
  display: flex;
  background: var(--parchment);
  border-radius: 24px;
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  max-height: 85vh;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,146,42,0.2);
  transform: translateY(25px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal.open .modal__content { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15,21,37,0.7);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.modal__close:hover { background: var(--midnight); }
.modal__img-wrap {
  flex: 1 1 50%;
  min-height: 320px;
  background: var(--cream);
}
.modal__img { width: 100%; height: 100%; object-fit: cover; }
.modal__info {
  flex: 1 1 50%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.modal__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.modal__blurb {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}
.modal__order-btn { align-self: flex-start; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  padding: var(--section-pad) 0 0;
  background: var(--cream);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 6px;
  margin-top: 3rem;
}
.gallery__item { overflow: hidden; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ==========================================================================
   Gallery Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  z-index: 10;
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__img {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
  object-fit: contain;
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  user-select: none;
}
.lightbox__nav:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }
.gallery__item { cursor: zoom-in; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--midnight);
  overflow: hidden;
}
.contact__spark {
  position: absolute;
  color: rgba(200,146,42,0.1);
  font-size: 9rem;
  top: 8%;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.contact__spark--l { left: -1rem; }
.contact__spark--r { right: -1rem; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact__info > p {
  color: rgba(255,255,255,0.58);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.contact__details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact__detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact__detail svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }
.contact__detail strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.15rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact__detail span,
.contact__detail a { color: rgba(255,255,255,0.58); font-size: 1rem; }
.contact__detail a:hover { color: var(--gold-light); }
.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(200,146,42,0.35);
  border-radius: 50px;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.contact__social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(200,146,42,0.08);
}

.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,146,42,0.18);
  padding: 2.5rem;
  border-radius: 24px;
}
.form__group { margin-bottom: 1.25rem; }
.form__group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255,255,255,0.28); font-style: italic; }
.form__group select option { background: var(--midnight); color: var(--white); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: rgba(200,146,42,0.6);
  background: rgba(255,255,255,0.09);
}
.form__group textarea { resize: vertical; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--white);
}
.form-success__icon {
  display: block;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: sparkleFloat 3s ease-in-out infinite;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}
.form-success p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }
.form-error {
  background: rgba(181,104,122,0.15);
  border: 1px solid rgba(181,104,122,0.4);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #e8a0aa;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 3.5rem 0;
  background: var(--midnight-deep);
  border-top: 1px solid rgba(200,146,42,0.12);
}
.footer__inner { text-align: center; }
.footer__ornament {
  font-size: 0.9rem;
  letter-spacing: 0.7em;
  color: rgba(200,146,42,0.35);
  margin-bottom: 1.5rem;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer__brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(200,146,42,0.4);
}
.footer__brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  margin-bottom: 2rem;
}
.footer__bottom {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.28);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__bottom a { color: rgba(255,255,255,0.3); }
.footer__bottom a:hover { color: var(--gold-light); }

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .about__grid { gap: 3.5rem; }
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { gap: 3.5rem; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--midnight-deep);
    border-left: 1px solid rgba(200,146,42,0.2);
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--ease);
  }
  .nav__links.open { right: 0; }
  .nav__links a { font-size: 1.15rem; }
  .nav__cta { text-align: center; padding: 0.75rem 2rem !important; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__img--accent { width: 120px; height: 120px; bottom: -1rem; right: -0.5rem; }

  .featured__grid { grid-template-columns: 1fr; }
  .featured__spark { display: none; }

  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact__form { padding: 1.75rem; }
  .contact__spark { display: none; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero__logo { width: min(280px, 82vw); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
  .hero__spark { display: none; }

  .about__badges { flex-wrap: wrap; }

  .menu__grid { grid-template-columns: 1fr; }
  .menu__item img { width: 64px; height: 64px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }

  .modal__content { flex-direction: column; max-height: 90vh; overflow-y: auto; }
  .modal__img-wrap { flex: none; height: 260px; }
  .modal__info { padding: 1.5rem; }
  .modal__name { font-size: 1.5rem; }
}
