:root {
  --green: #108007;
  --yellow: #ffbf00;
  --contour: #310909;
}

/* RESET & BASE */

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

html {
  scroll-behavior: smooth;
  background-color: var(--green);   /* <-- lägg till den här */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #141414;
  line-height: 1.6;
  min-height: 100vh;                /* gör så sidan minst är lika hög som skärmen */
}

/* LINKS */

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ANNOUNCEMENT BAR */

.announcement-bar {
  background-color: var(--yellow);
  color: var(--contour);
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  position: sticky;
  top: 0;
  z-index: 1000; /* så den ligger över allt annat */
}


/* HERO */

.hero {
  border-bottom: 1px solid rgba(49, 9, 9, 0.12);
  padding: 2.5rem 1.5rem 2.75rem;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Brand-row: adress – logga – öppettider */

.hero-brand-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(49, 9, 9, 0.16);
  background-color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-side {
  font-size: 0.9rem;
  text-align: center;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: rgba(20, 20, 20, 0.6);
  margin-bottom: 0.25rem;
}

/* Klickbara länkar i hero (adress + öppettider) */

.hero-link {
  display: inline-block;
  cursor: pointer;
  color: inherit;
}

.hero-link:hover {
  text-decoration: underline;
}

.hero-address,
.hero-hours {
  font-size: 1rem;
}

.hero-address::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--yellow);
  margin-right: 0.5rem;
}

.hero-hours {
  font-weight: 500;
}

.hero-hours::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--green);
  margin-left: 0.5rem;
}

.hero-center {
  text-align: center;
}

.hero-logo {
  max-height: 90px;
  width: auto;
}

/* SEKTIONER */

.section {
  padding: 4rem 1.5rem;
}

.section + .section {
  border-top: 3px solid var(--green); /* tydlig grön linje mellan sektioner */
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Intro-sektionen "Basils Gatukök" – centrerad text */

.section--intro .section-inner {
  text-align: center;
}

.section--intro .section-text {
  max-width: 640px;
  margin: 0 auto 1rem;
  text-align: center;
}

/* Rubriker */

.section-title {
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--contour);
}

.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--yellow);
  margin: 0.75rem;
  vertical-align: middle;
}

.section-sub {
  font-size: 0.95rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  color: rgba(20, 20, 20, 0.68);
}

.section-text {
  font-size: 0.98rem;
  max-width: 640px;
  margin-bottom: 1rem;
}

/* MENY */

.menu-section {
  margin-top: 0.5rem;
  background: #ffffff;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--green);
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}

/* Kategori-titel från Google Sheet */

.category-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--contour);
  background: var(--yellow);
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* Menyrader */

.menu-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(49, 9, 9, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.98rem;
  position: relative;
  padding-left: 1.5rem; /* plats för pricken */
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 1.1rem;
}

.menu-name {
  font-weight: 500;
}

.menu-desc {
  font-size: 0.85rem;
  color: rgba(20, 20, 20, 0.65);
  margin-top: 0.15rem;
}

.menu-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
  color: var(--green);
}

/* ÖPPETTIDER / INFO / KONTAKT */

.info-grid {
  margin-top: 1rem;
  border-top: 1px solid rgba(49, 9, 9, 0.14);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(49, 9, 9, 0.06);
  font-size: 0.95rem;
}

.info-row span:first-child {
  font-weight: 500;
}

.info-list {
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.info-list p + p {
  margin-top: 0.4rem;
}

/* MAP */

.map-wrapper {
  margin-top: 1.5rem;
  border: 1px solid rgba(49, 9, 9, 0.18);
  padding: 0.4rem;
  border-radius: 10px;
}

.map-frame,
.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: none;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(49, 9, 9, 0.12);
  padding: 1.2rem 1.5rem 1.6rem;
  background-color: var(--green);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.8rem;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(243, 243, 243);
}

/* ANIMATIONER – scroll reveal */
/* Synligt läge som standard (ifall JS inte körs) */

.fade-up,
.fade-left,
.fade-right,
.fade-down {
  opacity: 1;
  transform: none;
  transition: 700ms ease;
}

/* När JS lägger på .reveal får de en liten rörelse/”pop” */

.fade-up.reveal {
  transform: translateY(-6px);
}

.fade-down.reveal {
  transform: translateY(6px);
}

.fade-left.reveal {
  transform: translateX(-6px);
}

.fade-right.reveal {
  transform: translateX(6px);
}


/* RESPONSIVE */

@media (max-width: 720px) {
  .hero-brand-row {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 20px;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .menu-section {
    padding: 1.25rem 1.25rem;
  }
}
