:root {
  --accent: #005f99;
  --accent-2: #007fbf;
  --accent-warm: #ff7a59;
  --muted: #f2f7fb;
  --card-bg: rgba(255,255,255,0.96);
  --text: #142028;
  --muted-text: #556170;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(16,24,40,0.06);
  --shadow-lg: 0 18px 40px rgba(16,24,40,0.12);
  --glass: rgba(255,255,255,0.6);
  --transition: 220ms cubic-bezier(.2,.9,.2,1);
  --icon-size: 96px;
  --icon-gap: 20px;
  --icon-radius: 18px;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* SITE HEADER / HERO */
.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}

.banner {
  width: 100%;
  max-width: 1600px;
  height: 170px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 1rem;
}

.brand-badge {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.22));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #012b3a;
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  pointer-events: none;
}

/* Filters */
.filters {
  position: sticky;
  top: 0;
  z-index: 5;
  margin-top: -12px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.filters input,
.filters select {
  padding: 0.6rem 0.85rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(16,24,40,0.06);
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.filters input:focus,
.filters select:focus {
  outline: none;
  box-shadow: 0 10px 30px rgba(0,127,191,0.10);
  transform: translateY(-2px);
  border-color: var(--accent-2);
}
.filters input:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px rgba(0,127,191,0.15);
  border-color: var(--accent);
}

/* Grid & cards */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 300px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(10,20,30,0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 127, 191, 0.18);
}
.card::before {
  content: '';
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #00a8ff);
  width: 50%;
  margin: 0 auto 10px auto;
}
.card a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}
.card .logo-wrapper {
  width: var(--icon-size);
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  overflow: hidden;
}
.card .logo-wrapper img.logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.card img {
  width: var(--icon-size);
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  margin-bottom: 0.5rem;
  transition: transform var(--transition);
}
.card:hover img { transform: scale(1.06); }
.card h3 { margin: 0.25rem 0; font-size: 1.08rem; font-weight: 700; color: var(--text); }
.card p { margin: 0.18rem 0; font-size: 0.94rem; color: var(--muted-text); }
.card .meta { font-size: 0.85rem; color: #657384; margin-top: 0.3rem; }
.card .actions { margin-top: 0.6rem; display:flex; gap:0.5rem; justify-content:center; }

/* Focus ring for keyboard users */
.card-link:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,127,191,0.4);
  border-radius: var(--radius);
}

/* Hover/focus lift effect */
.card-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1),
              0 0 0 3px rgba(0,127,191,0.4);
  border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-position 0.4s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,127,191,0.12);
  background: linear-gradient(90deg, var(--accent), #00a8ff, var(--accent));
  background-size: 200% 100%;
  animation: gradientShift 1.2s ease-in-out forwards;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Icon row / carousel */
#iconRow {
  display: flex;
  justify-content: center;
  gap: var(--icon-gap);
  padding: 20px;
}
.icon-carousel-wrap {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  display: flex;
  justify-content: center;
}
.icon-carousel {
  display: flex;
  gap: var(--icon-gap);
  align-items: center;
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.1s linear;
}
.icon-carousel-wrap:hover .icon-carousel,
.icon-carousel-wrap:focus-within .icon-carousel {
  animation-play-state: paused;
  transition: none;
}
.food-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: cover;
  border-radius: var(--icon-radius);
  transition: transform 450ms cubic-bezier(.2,.9,.2,1), opacity 450ms ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  flex: 0 0 auto;
  display: block;
  animation: floatIcon 6s ease-in-out infinite;
}
.food-icon.active {
  transform: translateY(-4px) scale(1.2) !important;
  opacity: 0.85;
  filter: drop-shadow(0 0 10px var(--accent-2));
  animation: none !important;
  transition: all 0.25s ease;
  z-index: 2;
}

.food-icon:hover:not(.active) {
  transform: translateY(-2px) scale(1.08);
  opacity: 0.95;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

/* Notice */
.notice {
  max-width: 1200px;
  margin: 1rem auto;
  text-align: center;
  color: #900;
}

/* Container & Map (detail page polish) */
.container {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}
.map {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

/* Background & fade-in */
body {
  background: radial-gradient(circle at top left, #f8fcff 0%, #eef3f9 100%);
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Accessibility / Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* Responsive */
@media (max-width: 900px) {
  .banner {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .banner {
    height: 110px;
    padding: 0 12px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1rem;
  }

  .card {
    width: 92%;
  }

  .brand-badge {
    position: relative;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 6px 12px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: inline-block;
  }

  :root {
    --icon-size: 80px;
    --icon-gap: 14px;
    --icon-radius: 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card, .btn, .filters input, .filters select, .food-icon, .icon-carousel {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* --- DARK MODE TOGGLE BUTTON --- */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  z-index: 1000;
}
.theme-toggle:hover {
  transform: rotate(12deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* DARK MODE STYLES */
body.dark {
  --card-bg: rgba(30, 40, 50, 0.9);
  --text: #f0f0f0;
  --muted-text: #a0a8b0;
  --accent: #3eaaff;
  --accent-2: #00b0ff;
  --accent-warm: #ff9a6c;
  --muted: #1c1c1c;
  background: radial-gradient(circle at top left, #0f1115 0%, #1e232c 80%);
}
body.dark .filters {
  background: rgba(40,50,60,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.dark .filters input,
body.dark .filters select {
  background: #2c343e;
  border-color: rgba(255,255,255,0.08);
  color: #f0f0f0;
}
body.dark .card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text);
}
body.dark .card p,
body.dark .card .meta {
  color: var(--muted-text);
}
body.dark .btn {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
body.dark .btn.secondary {
  border-color: rgba(255,255,255,0.1);
  color: var(--accent);
}
body.dark .theme-toggle {
  background: rgba(30, 40, 50, 0.9);
  color: #fff;
}
/* --- Footer Styles --- */

.site-footer {
  position: relative;
  text-align: center;
  background: var(--bg-secondary, #fefefe);
  color: var(--text-secondary, #333);
  padding: 3rem 1rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted, #666);
  margin-bottom: 1.25rem;
}

.footer-nav {
  margin: 1rem 0 1.5rem;
}

.footer-nav a {
  color: var(--accent-color, #0077cc);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-hover, #005fa3);
  text-decoration: underline;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--text-muted, #777);
}

/* --- Dark mode footer fix --- */
body.dark .site-footer {
  background: #0b0b0c;
  color: #ddd;
  border-top: 1px solid rgba(255,255,255,0.1);
}

body.dark .footer-nav a {
  color: #66aaff;
}

body.dark .footer-nav a:hover {
  color: #88bbff;
}

body.dark .footer-credit {
  color: #aaa;
}
	
  
