*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --pink: #ff8fb1;
  --pink-soft: #edb8ed;
  --cream: #fff8e8;
  --mint: #35c9b5;
  --deep-pink: #ff4f7b;
  --logo-color: #ff00fe;
  --brown: #5a2b1f;
  --text-main: #442222;
  --bg: #fffdf8;
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffeaf3 0, #fffdf8 40%, #fff8e8 100%);
  color: var(--text-main);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.main-nav a:hover {
  background: var(--pink-soft);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: var(--logo-color);
  color: #fff;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #ffe1ec, #fff8e8);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/sprinkles.svg");
  opacity: 0.24;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-text {
  position: relative;
  color:black;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);

  margin-top: 0;
  margin-bottom: 0.8rem;
}

.hero-text p {
  margin-top: 0;
  margin-bottom: 1.6rem;
  font-size: 1rem;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-art img {
  max-width: 260px;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn.primary {
  background: var(--logo-color);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 79, 123, 0.32);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

/* Info grid */
.info-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.info-grid h2 {
  margin-top: 0;
}

.info-list {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

/* Menu page */
.page-header {
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

.page-header h1 {
  margin-bottom: 0.3rem;
}

.menu-section {
  margin-top: 1.8rem;
}

.menu-section h2 {
  margin-bottom: 0.9rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.menu-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.menu-item h3 {
  margin: 0 0 0.25rem;
}

.menu-desc {
  margin: 0;
  font-size: 0.92rem;
}

.menu-price {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--brown);
}

/* Contact page */
.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  margin-bottom: 2.5rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.6rem 0.7rem;
  font: inherit;
  background: #fffdfb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-info h2 {
  margin-bottom: 0.3rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 1.2rem 1.5rem 1.8rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-art {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-art img {
    max-width: 220px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  main {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

}
/* Prevent background scroll when lightbox open */
.no-scroll { overflow: hidden; }

/* ===== Image-only carousel ===== */

.menu-carousel {
  margin-top: 1.5rem;
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  font-size: 26px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* ===== Lightbox ===== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
