/* ==========================================================================
   YU&ME CAFE — RESPONSIVE CAFE PWA STYLESHEET
   Works seamlessly across small/large mobiles, tablets, laptops, desktops & ultrawides
   ========================================================================== */

:root {
  --bg-cream: #FFFDF9;
  --espresso-dark: #180E09;
  --espresso-mid: #271710;
  --amber-gold: #FBBF24;
  --teal-vibe: #0D9488;
  --coral-badge: #E15B64;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-cream);
  color: var(--espresso-mid);
  overflow-x: hidden;
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

.font-display {
  font-family: 'Fredoka', 'Inter', sans-serif;
}

/* Subtle Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #FDF8EE;
}
::-webkit-scrollbar-thumb {
  background: #D4A373;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A67140;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Multi-Page Transitions */
.pwa-page {
  display: none;
  animation: pwaPageIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pwa-page.active-page {
  display: block;
}

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

/* Full-Width Responsive Hero Photo Slider */
.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #180E09;
  /* Responsive heights from 360px mobile to 2560px ultrawide */
  height: clamp(270px, 54vw, 640px);
}

@media (min-width: 1536px) {
  .hero-slider-viewport {
    height: clamp(540px, 42vw, 720px);
  }
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide-item.active-slide {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Atmospheric Photo Banner for Section Highlights */
.cafe-photo-banner {
  position: relative;
  overflow: hidden;
  background-color: #180E09;
}

.cafe-photo-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.15);
  pointer-events: none;
  z-index: 1;
}

/* PWA Bottom Navigation Bar Safe Area */
.pwa-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
