/* ===== BRIGHT CAFÉ THEMES ===== */

/* Theme 1: Sunny Yellow (default) */
:root,
[data-theme="sunny"] {
  --color-primary: #E6A817;
  --color-primary-light: #F0BE3E;
  --color-primary-dark: #C78F0E;
  --color-secondary: #3D3425;
  --color-accent: #FFF5E0;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FFFBF2;
  --color-text: #2D2A26;
  --color-text-muted: #7A746B;
  --color-text-on-primary: #FFFFFF;
  --color-border: #F0E6D0;
  --color-card-accent: #FDEBD0;
}

/* Theme 2: Fresh Mint */
[data-theme="mint"] {
  --color-primary: #2DB87F;
  --color-primary-light: #45D49A;
  --color-primary-dark: #1F9466;
  --color-secondary: #1E3A2F;
  --color-accent: #E0F7ED;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F3FBF7;
  --color-text: #1F2D27;
  --color-text-muted: #5E7A6B;
  --color-text-on-primary: #FFFFFF;
  --color-border: #C8E8D8;
  --color-card-accent: #D0F0E0;
}

/* Theme 3: Berry Pink */
[data-theme="berry"] {
  --color-primary: #D94F7A;
  --color-primary-light: #E87099;
  --color-primary-dark: #B83D63;
  --color-secondary: #3A1E2A;
  --color-accent: #FDE8EF;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FFF5F8;
  --color-text: #2D1F26;
  --color-text-muted: #8A6B77;
  --color-text-on-primary: #FFFFFF;
  --color-border: #F0D0DC;
  --color-card-accent: #FADCE6;
}

/* ===== GLOBAL OVERRIDES — PLAYFUL CAFÉ FEEL ===== */
body {
  font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
}

/* ===== FLOATING PILL NAVBAR ===== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 0 var(--space-md);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.navbar .container {
  max-width: 100%;
  padding: var(--space-sm) 0;
}

.navbar-logo {
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  white-space: nowrap;
}

.navbar-links a {
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: 9999px;
  padding: 6px 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-links a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===== SPLIT HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  padding-right: var(--space-xl);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-text h1 span {
  color: var(--color-primary);
}

.hero-text p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: var(--color-primary);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
}

/* ===== BUTTONS — ROUNDED & PLAYFUL ===== */
.btn {
  border-radius: 9999px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-image img {
  border-radius: 24px;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 3px dashed var(--color-primary);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.25;
}

/* ===== MENU — COLORFUL DISH CARDS IN GRID ===== */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.menu-tab {
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-family: 'Nunito', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-tab:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.menu-tab.active {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

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

/* Card grid for menu items */
.menu-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.menu-card {
  background: var(--color-bg);
  border-radius: 20px;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-card-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.menu-card-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.menu-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.menu-card-price {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
}

/* Dietary Badges */
.dietary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  line-height: 1;
  flex-shrink: 0;
}

.dietary-badge.badge-v {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.dietary-badge.badge-vg {
  background: #F1F8E9;
  color: #558B2F;
  border: 1px solid #AED581;
}

.dietary-badge.badge-gf {
  background: #FFF8E1;
  color: #F57F17;
  border: 1px solid #FFD54F;
}

/* ===== DAILY SPECIAL — COLORED BANNER ===== */
.daily-banner {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border-radius: 24px;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.daily-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.daily-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.daily-banner .daily-special-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: var(--space-xs) var(--space-md);
  border-radius: 9999px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
}

.daily-banner .daily-special-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.daily-banner .daily-special-desc {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.daily-banner .daily-special-price {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.daily-banner .daily-special-includes {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.daily-banner .daily-special-schedule {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}

.daily-banner .daily-special-schedule span {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: var(--space-xs) var(--space-md);
  border-radius: 9999px;
  font-size: var(--font-size-sm);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.daily-banner .daily-special-schedule span:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== GALLERY ===== */
.gallery-grid .gallery-item {
  border-radius: 20px;
  overflow: hidden;
}

.gallery-grid .gallery-item img {
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.06);
}

/* ===== BOOKING ===== */
.booking-placeholder {
  border-radius: 24px;
  border: 2px dashed var(--color-primary);
  background: var(--color-accent);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card .stars {
  color: var(--color-primary);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.form-input,
.form-textarea {
  border-radius: 14px;
  border: 2px solid var(--color-border);
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-accent);
}

.contact-info-item {
  border-radius: 16px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
}

.map-container iframe {
  border-radius: 20px;
}

/* ===== FOOTER ===== */
.footer {
  border-radius: 32px 32px 0 0;
}

/* ===== FLOATING ACTION BUTTONS ===== */
.fab {
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ===== SECTION HEADERS ===== */
.section-header h2 {
  font-weight: 800;
}

.section-header p {
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    order: 1;
  }

  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image img {
    height: 350px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

@media (max-width: 768px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .navbar-menu {
    border-radius: 20px;
    margin-top: var(--space-sm);
  }
}

@media (max-width: 640px) {
  .menu-tabs {
    gap: var(--space-xs);
  }

  .menu-tab {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
  }

  .menu-card-grid {
    grid-template-columns: 1fr;
  }

  .daily-banner {
    padding: var(--space-xl) var(--space-lg);
    border-radius: 20px;
  }

  .daily-banner .daily-special-schedule {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding-top: 80px;
  }
}
