/* ===== VARIABLES ===== */
:root {
  --dusty-blue: #8FAED1;
  --dusty-blue-dark: #6B92BF;
  --dusty-blue-light: #B5CDE3;
  --warm-white: #F7F5F2;
  --charcoal: #444444;
  --taupe: #DDD8D2;
  --taupe-light: #EBE8E4;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1100px;
  --nav-height: 70px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--dusty-blue-dark); text-decoration: none; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--dusty-blue);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dusty-blue);
  transition: width 0.2s;
}

.nav-links a:hover { color: var(--dusty-blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--dusty-blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--dusty-blue-dark) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
  background: var(--dusty-blue);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  margin-top: var(--nav-height);
}

.announcement-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.announcement-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 4px;
  line-height: 1;
}

.announcement-close:hover { opacity: 1; }

/* ===== HERO ===== */
.announcement-banner + .hero { margin-top: 0; }

.hero {
  margin-top: var(--nav-height);
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-white) 100%);
  border-bottom: 1px solid var(--taupe);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero h1 span { color: var(--dusty-blue); }

.hero .tagline {
  font-size: 1.15rem;
  color: #777;
  margin-bottom: 2rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  background: var(--dusty-blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--dusty-blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--dusty-blue);
  border: 2px solid var(--dusty-blue);
}

.btn-outline:hover {
  background: var(--dusty-blue);
  color: var(--white);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.section-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-highlights {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.highlight {
  text-align: center;
}

.highlight .icon {
  width: 50px;
  height: 50px;
  background: var(--dusty-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.4rem;
}

.highlight p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ===== MENU ===== */
.menu {
  border-bottom: 1px solid var(--taupe);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--taupe);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.menu-card-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.menu-card:nth-child(1) .menu-card-image { background: linear-gradient(135deg, #F5E6F0, #E8D5E0); }
.menu-card:nth-child(2) .menu-card-image { background: linear-gradient(135deg, #E8DDD4, #D4C4B0); }
.menu-card:nth-child(3) .menu-card-image { background: linear-gradient(135deg, #D4E4F0, #B5CDE3); }

.menu-card-body {
  padding: 1.5rem;
}

.menu-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.menu-card-body p {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.menu-price {
  font-weight: 700;
  color: var(--dusty-blue-dark);
  font-size: 1.1rem;
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--taupe);
}

.menu-note p {
  color: #666;
  font-size: 0.95rem;
}

.menu-note strong { color: var(--charcoal); }

.menu-card.featured { border-color: var(--dusty-blue); }

.featured-badge {
  display: inline-block;
  background: var(--dusty-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
}

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

.gallery-item {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item:nth-child(1) { background: linear-gradient(135deg, #F5E6F0, #E8D5E0); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #E8DDD4, #D4C4B0); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #D4E4F0, #B5CDE3); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #F0E8D4, #E3D5B5); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #E0E8F0, #C5D5E5); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #F0E0E8, #E5C5D5); }

.gallery-item .placeholder-text {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.85);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #999;
  white-space: nowrap;
}

/* ===== ORDER FORM ===== */
.order {
  border-bottom: 1px solid var(--taupe);
}

.order-form {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--taupe);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.form-group label .required {
  color: #D9534F;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--taupe);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dusty-blue);
  box-shadow: 0 0 0 3px rgba(143, 174, 209, 0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.3rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dusty-blue);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dusty-blue);
}

.order-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--taupe);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--taupe-light);
}

.faq-question .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: var(--dusty-blue);
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.3rem 1.1rem;
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  border-bottom: 1px solid var(--taupe);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--taupe);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.testimonial-item {
  display: block;
  font-size: 0.8rem;
  color: var(--dusty-blue-dark);
  margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: var(--taupe);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  color: var(--taupe);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col a:hover { color: var(--dusty-blue-light); }

.footer-col .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #999;
}

/* ===== PER-ITEM FLAVOR GROUPS ===== */
.flavor-group {
  border-left: 3px solid var(--dusty-blue-light);
  padding-left: 1rem;
  margin-left: 0.15rem;
}

/* ===== FIELD HINT ===== */
.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #999;
  line-height: 1.4;
}

.field-hint.warn { color: #D9534F; }

/* ===== INSTAGRAM ===== */
.instagram-section {
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
}

.instagram-embed-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.instagram-follow-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #F5E6F0, #D4E4F0);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.instagram-follow-card .ig-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.instagram-follow-card p {
  color: #555;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dusty-blue);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  z-index: 900;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover { background: var(--dusty-blue-dark); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-close:hover { opacity: 1; }

.gallery-item img { cursor: zoom-in; }

/* ===== SCROLL FADE-IN ===== */
/* Only hide when JS is confirmed running (html.js). Without JS, or if scripts
   fail, content stays fully visible — never blank. */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--taupe);
    transform: translateY(-120%);
    transition: transform 0.3s;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.8rem; }

  .menu-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .order-form { padding: 1.5rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .about-highlights { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}
