/* ========================================
   LEONI'S Deli - Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FFE7C3;
  --blue: #0033FF;
  --orange: #FB6917;
  --white: #FFFFFF;
  --blue-dark: #0028CC;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--blue);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
.heading-display {
  font-family: 'Climate Crisis', system-ui;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
}

.heading-script {
  font-family: 'Beth Ellen', cursive;
  font-weight: 400;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 102;
  background-color: var(--cream);
  border-bottom: 2px solid var(--blue);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 51, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img,
.header-logo svg {
  height: 40px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: 'Climate Crisis', system-ui;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--orange);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  border: 2px solid var(--blue);
  border-radius: 20px;
  overflow: hidden;
}

.lang-switch button {
  padding: 4px 12px;
  border: none;
  background: transparent;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--orange);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
  position: relative;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span {
  background: var(--blue);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--blue);
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: 'Climate Crisis', system-ui;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  color: var(--white);
  text-transform: uppercase;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--orange);
}

.mobile-nav .lang-switch {
  border-color: var(--white);
}

.mobile-nav .lang-switch button {
  color: var(--white);
}

.mobile-nav .lang-switch button.active {
  background: var(--orange);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--blue);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-lion {
  position: absolute;
  width: 60%;
  max-width: 700px;
  opacity: 0.06;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
}

.hero-icon-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.hero-icon {
  width: 48px;
  height: 48px;
  color: var(--orange);
  stroke-width: 1.5;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
}

.hero-title-script {
  color: var(--orange);
  font-size: 0.45em;
  display: block;
  text-transform: none;
  margin-top: 8px;
}

.hero-tagline {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.hero-hours-icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
  stroke-width: 2;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s;
  animation: bounce 2s infinite;
  position: absolute;
  bottom: 16px;
  left: 50%;
  margin-left: -28px;
}

.hero-cta:hover {
  border-color: var(--orange);
  background: rgba(251, 105, 23, 0.15);
}

.hero-cta svg {
  color: var(--white);
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about-bg-lion {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.06;
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.about h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 8px;
  color: var(--blue);
}

.about .subtitle {
  font-family: 'Beth Ellen', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--orange);
  margin-bottom: 32px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--blue);
  max-width: 600px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section {
  padding: 80px 0 60px;
  background: var(--white);
}

.gallery-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--blue);
  margin-bottom: 8px;
}

.gallery-subtitle {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--orange);
  margin-bottom: 40px;
}

/*
  Gallery layout — uniform 16:9 tiles
  Row 1: 2 images side by side
  Row 2: 3 images side by side
  Row 3: 3 images side by side
  Row 4: 2 images side by side
*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* Row 1: two 16:9 images */
.g1  { grid-column: 1 / 4; }
.g2  { grid-column: 4 / 7; }

/* Row 2: three 16:9 images */
.g3  { grid-column: 1 / 3; }
.g4  { grid-column: 3 / 5; }
.g5  { grid-column: 5 / 7; }

/* Row 3: three 16:9 images */
.g6  { grid-column: 1 / 3; }
.g7  { grid-column: 3 / 5; }
.g8  { grid-column: 5 / 7; }

/* Row 4: two 16:9 images */
.g9  { grid-column: 1 / 4; }
.g10 { grid-column: 4 / 7; }

.gallery-item {
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 30px rgba(0, 51, 255, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder style */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}

.gallery-placeholder svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.gallery-placeholder span {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Color variations */
.g2 .gallery-placeholder,
.g5 .gallery-placeholder,
.g8 .gallery-placeholder  { background: var(--blue-dark); }
.g3 .gallery-placeholder,
.g6 .gallery-placeholder,
.g10 .gallery-placeholder { background: #001faa; }
.g4 .gallery-placeholder,
.g9 .gallery-placeholder  { background: #0029d6; }

.gallery-item:hover .gallery-placeholder {
  background: var(--orange);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.lightbox-placeholder {
  width: 100%;
  height: 100%;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
}

.lightbox-placeholder svg {
  width: 64px;
  height: 64px;
  stroke-width: 1;
}

.lightbox-placeholder p {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1;
}

.lightbox-close:hover {
  color: var(--orange);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--orange);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========================================
   MENU
   ======================================== */
.menu {
  padding: 80px 0;
  background: var(--blue);
  color: var(--white);
  position: relative;
}

.menu h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 48px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.menu-section {
  position: relative;
}

.menu-section h3 {
  font-family: 'Climate Crisis', system-ui;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-section .menu-subtitle {
  font-family: 'Beth Ellen', cursive;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 24px;
}

.menu-section-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--orange);
  stroke-width: 1.5;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-item-name {
  font-weight: 600;
  font-size: 1rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 2px;
}

.menu-item-price {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  margin-left: 16px;
}

/* Contact icons */
.contact-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
  stroke-width: 2;
}

.contact-info h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================
   INFO BANNER
   ======================================== */
.info-banner {
  background: var(--orange);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.info-banner p {
  font-family: 'Climate Crisis', system-ui;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  text-transform: uppercase;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.info-banner .social-hint {
  font-family: 'Beth Ellen', cursive;
  font-size: 1.3rem;
  margin-top: 12px;
  text-transform: none;
}

/* ========================================
   SOCIAL
   ======================================== */
.social {
  padding: 48px 0;
  background: var(--cream);
  text-align: center;
}

.social h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.social-icons a:hover svg {
  fill: var(--white);
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
  transition: fill 0.3s;
}

/* ========================================
   CONTACT / MAP
   ======================================== */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 48px;
  color: var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-map {
  aspect-ratio: 1;
  background: #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--blue);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  padding: 24px 0;
}

.contact-info h3 {
  font-family: 'Climate Crisis', system-ui;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--blue);
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--blue);
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin-top: 8px;
}

.btn-directions:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img,
.footer-logo svg {
  height: 36px;
  width: auto;
}

.footer-producers {
  margin-bottom: 32px;
  text-align: center;
}

.footer-producers h4 {
  font-family: 'Beth Ellen', cursive;
  font-size: 1rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.footer-producer-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.5;
}

.footer-producer-logos > span {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .gallery-grid {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .header-info {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .header-inner {
    padding: 10px 16px;
  }

  /* About */
  .about {
    padding: 48px 0;
  }

  .about-bg-lion {
    width: 300px;
    right: -80px;
  }

  /* Gallery - tablet */
  .gallery-section {
    padding: 48px 0 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .g1  { grid-column: 1 / 3; }
  .g2  { grid-column: 3 / 5; }
  .g3  { grid-column: 1 / 3; }
  .g4  { grid-column: 3 / 5; }
  .g5  { grid-column: 1 / 3; }
  .g6  { grid-column: 3 / 5; }
  .g7  { grid-column: 1 / 3; }
  .g8  { grid-column: 3 / 5; }
  .g9  { grid-column: 1 / 3; }
  .g10 { grid-column: 3 / 5; }

  /* Lightbox */
  .lightbox-content {
    width: 92vw;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev svg,
  .lightbox-next svg {
    width: 22px;
    height: 22px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  /* Menu */
  .menu {
    padding: 48px 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .menu-section h3 {
    font-size: 1.2rem;
  }

  /* Contact */
  .contact {
    padding: 48px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    aspect-ratio: 16 / 10;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about h2 {
    font-size: 1.8rem;
  }

  /* Gallery - mobile: simple 2 col, all 16:9 */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .g1, .g2, .g3, .g4, .g5,
  .g6, .g7, .g8, .g9, .g10 {
    grid-column: span 1;
  }

  .gallery-placeholder svg {
    width: 22px;
    height: 22px;
  }

  .menu h2 {
    font-size: 1.8rem;
    margin-bottom: 32px;
  }

  .info-banner {
    padding: 28px 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-icon {
    width: 36px;
    height: 36px;
  }
}
