/* ============================================================
   SKY LOUNGE MENU — MODERN RESPONSIVE STYLESHEET
   Refined Mediterranean Lounge Culinary Aesthetic
   ============================================================ */

:root {
  --primary: #1659a3;
  --primary-dark: #0d2847;
  --primary-light: #eaf2fb;
  --accent: #c59b27;
  --accent-light: #fef7e7;
  --accent-dark: #996515;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #1659a3;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   HEADER & HERO
   ============================================================ */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 18px 16px 14px;
  text-align: center;
  position: relative;
}

.logo-wrapper {
  max-width: 480px;
  margin: 0 auto 8px;
}

.logo-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto;
}

.header-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 4px;
}

.header-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

.badge-gold {
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(197, 155, 39, 0.25);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */

.search-container {
  max-width: 600px;
  margin: 14px auto 6px;
  padding: 0 16px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px 14px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 89, 163, 0.15);
}

.search-icon {
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  padding: 10px 10px;
  font-size: 14px;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
}

.search-clear {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  padding: 4px;
  line-height: 1;
}

/* ============================================================
   STICKY CATEGORY NAV
   ============================================================ */

.nav-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-subtle);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.nav-pill:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.nav-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(22, 89, 163, 0.3);
}

/* ============================================================
   MAIN CONTENT CONTAINER
   ============================================================ */

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* ============================================================
   CATEGORY SECTIONS
   ============================================================ */

.menu-section {
  margin-bottom: 48px;
  scroll-margin-top: 70px;
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2.5px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-calligraphy-img {
  max-height: 52px;
  width: auto;
  margin: 0 auto 6px;
  object-fit: contain;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-img-wrapper {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 12px;
  cursor: pointer;
}

.card-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card-img-wrapper:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.item-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.item-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: -0.01em;
  border: 1px solid rgba(197, 155, 39, 0.2);
}

.item-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.45;
  margin-top: 4px;
}

.item-badge {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* ============================================================
   SPECIALS HIGHLIGHT BANNER
   ============================================================ */

.specials-banner {
  background: linear-gradient(135deg, #0d2847 0%, #1659a3 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.specials-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.specials-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ============================================================
   HOOKAH SECTION
   ============================================================ */

.hookah-rules-box {
  background: #ffffff;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hookah-rules-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.hookah-rules-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hookah-rule-pill {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.hookah-brand-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 28px 0 16px;
}

.hookah-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
}

.hookah-brand-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hookah-flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 12px;
}

.flavor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.flavor-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.flavor-img-wrap {
  height: 85px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.flavor-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.flavor-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.25;
}

/* ============================================================
   DRINK LIST / COMPACT GRID
   ============================================================ */

.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.compact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.compact-img-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.compact-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.compact-info {
  flex-grow: 1;
}

.compact-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-dark);
}

.compact-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.compact-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-top: 2px;
}

/* ============================================================
   GROUP TEAPOTS & COFFEE
   ============================================================ */

.sub-category-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px;
}

.sub-category-divider h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--primary-dark);
  white-space: nowrap;
}

.sub-category-divider .line {
  height: 1px;
  background: var(--border);
  flex-grow: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 30px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer .footer-brand {
  font-weight: 700;
  color: var(--primary-dark);
}

/* ============================================================
   IMAGE LIGHTBOX MODAL
   ============================================================ */

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
}

.lightbox-img {
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 80;
  transition: all 0.2s ease;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 600px) {
  .section-title {
    font-size: 22px;
  }
  .items-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-img-wrapper {
    height: 160px;
  }
  .hookah-flavors-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  .flavor-card {
    padding: 8px;
  }
  .flavor-img-wrap {
    height: 65px;
  }
  .flavor-name {
    font-size: 11.5px;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
}
