:root {
  color-scheme: dark;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.hero-storefront-bg {
  background-image: url("assets/storefront-opt.jpg");
  background-size: cover;
  background-position: center;
}

/* Navbar links */
.nav-link {
  position: relative;
  color: rgb(212 212 216); /* text-zinc-300 */
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: rgb(250 250 250); /* text-white */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 2px;
  width: 0;
  background-color: rgb(249 115 22); /* orange-500 */
  transition: width 0.2s ease;
}

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

.nav-link-active {
  color: rgb(251 146 60); /* orange-400 */
}

.nav-link-active::after {
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  color: rgb(228 228 231); /* zinc-200 */
}

.mobile-nav-link:hover {
  background-color: rgb(39 39 42); /* zinc-800 */
  color: rgb(250 250 250);
}

.mobile-nav-link-active {
  background-color: rgb(39 39 42);
  color: rgb(251 146 60);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background-color: rgb(249 115 22);
  color: black;
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
  transition: background-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-primary:hover {
  background-color: rgb(251 146 60);
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: 2px solid rgb(249 115 22);
  outline-offset: 2px;
}

/* Sections */
.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(250 250 250);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.25rem;
  }
}

.section-subtitle {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgb(161 161 170);
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 0.875rem;
  }
}

.section-body {
  font-size: 0.875rem;
  color: rgb(212 212 216);
}

@media (min-width: 640px) {
  .section-body {
    font-size: 1rem;
  }
}

/* Cards */
.info-card {
  background-color: rgba(24, 24, 27, 0.8);
  border: 1px solid rgb(39 39 42);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .info-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: rgba(249, 115, 22, 0.1);
  color: rgb(251 146 60);
  border: 1px solid rgba(249, 115, 22, 0.45);
}

.badge-subtle {
  background-color: rgb(24 24 27);
  color: rgb(228 228 231);
  border-color: rgb(82 82 91);
}

.menu-card {
  background-color: rgba(24, 24, 27, 0.8);
  border: 1px solid rgb(39 39 42);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .menu-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }
}

.menu-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(244 244 245);
}

.menu-price {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(251 146 60);
  background-color: rgba(249, 115, 22, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.menu-desc {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: rgb(212 212 216);
}

.menu-card-image {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .menu-card-image {
    height: auto;
    aspect-ratio: 16 / 11;
    object-position: center;
  }
}

/* Forms */
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(212 212 216);
}

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgb(63 63 70);
  background-color: rgba(24, 24, 27, 0.8);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: rgb(244 244 245);
}

.form-input::placeholder {
  color: rgb(113 113 122);
}

.form-input:focus {
  outline: 2px solid rgb(249 115 22);
  outline-offset: 1px;
  border-color: rgb(249 115 22);
}

/* Floating call button */
.call-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(249 115 22), rgb(245 158 11));
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.call-fab svg {
  width: 1.25rem;
  height: 1.25rem;
}

.call-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.45);
}

.call-fab:focus {
  outline: 2px solid rgb(251 146 60);
  outline-offset: 3px;
}

.call-fab-label {
  line-height: 1;
}

@media (max-width: 480px) {
  .call-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
    border-radius: 9999px;
  }

  .call-fab-label {
    display: none;
  }
}

/* Map lazy load */
.map-container {
  min-height: 320px;
  position: relative;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 320px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(24, 24, 27, 0.95), rgba(9, 9, 11, 0.98));
}

.map-placeholder-icon {
  width: 3rem;
  height: 3rem;
  color: rgb(249 115 22);
}

.map-placeholder-address {
  font-size: 0.9rem;
  color: rgb(212 212 216);
  max-width: 22rem;
  line-height: 1.5;
}

.map-open-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgb(251 146 60);
  transition: color 0.15s ease;
}

.map-open-link:hover {
  color: rgb(253 186 116);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Screen-reader only (if needed) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
