/* Lucy's Lounge Fresno — static site styles.
   Look and feel match the original Avada/WordPress theme (black header, Antic Slab
   nav, PT Sans body, gray content area, shadowed banners), cleaned up: a deeper
   charcoal gray for contrast, and the logo's orange as the single accent. */

@font-face {
  font-family: "Antic Slab";
  src: url("../fonts/antic-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/pt-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/pt-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --content-bg: #34383b;
  --footer-bg: #1d1f21;
  --copyright-bg: #121314;
  --copyright-border: #2c2e30;
  --text: #fff;
  --text-muted: #c9cdd1;
  --rule: rgba(255, 255, 255, 0.14);
  --accent: #f7941d;
  --site-width: 1100px;
  --gutter: 16px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --font-body: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --font-nav: "Antic Slab", Georgia, serif;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
a:hover {
  color: #ffb54d;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--site-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: #fff;
  color: #000;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--black);
}

.site-header .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 100px;
}

.logo {
  flex: none;
}
.logo img {
  width: 250px;
  height: 100px;
}

.nav-toggle {
  display: none;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  margin-left: 25px;
  padding-top: 17px;
  border-top: 3px solid transparent;
  font: 400 28px/46px var(--font-nav);
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-top-color: var(--accent);
  color: #fff;
}

/* ---------- Main ---------- */

main {
  display: block;
  flex: 1;
  background: var(--content-bg);
  padding: 16px 0 48px;
}

.section {
  margin: 0 auto 20px;
}

.banner {
  display: block;
  margin: 32px 0;
  box-shadow: var(--shadow);
}
.banner img {
  width: 100%;
}
.banner + .banner {
  margin-top: 16px;
}

/* Page titles and the home intro, in the nav face so they match the header */

.intro,
.page-title {
  margin: 32px 0 0;
  text-align: center;
}
.intro h1,
.page-title h1 {
  margin: 0;
  font: 400 32px/1.25 var(--font-nav);
  letter-spacing: 1px;
}
.intro p,
.page-title p {
  max-width: 40em;
  margin: 8px auto 0;
  font-size: 18px;
  color: var(--text-muted);
}

/* Slider */

.slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 13 / 6;
  background: #111;
}

.slider-track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.slider-arrow:hover,
.slider-arrow:focus-visible {
  opacity: 1;
}
.slider-arrow svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.slider-prev {
  left: 5px;
}
.slider-next {
  right: 5px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.slider-dots button {
  width: 24px;
  height: 24px;
  margin: 2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider-dots button::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 5px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}
.slider-dots button[aria-current="true"]::before,
.slider-dots button:hover::before {
  background: #fff;
  border-color: #fff;
}

/* Without JavaScript only the first slide shows. */
.no-js .slider-arrow,
.no-js .slider-dots {
  display: none;
}

/* Hours + map */

.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 32px 0;
  align-items: center;
}

.hours {
  text-align: center;
}
.hours h2 {
  margin: 0 0 12px;
  font: 400 24px/1.3 var(--font-nav);
  letter-spacing: 1px;
}
.hours dl {
  max-width: 340px;
  margin: 0 auto;
  font-size: 18px;
}
.hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.hours dt,
.hours dd {
  margin: 0;
}
.hours dt {
  font-weight: 700;
}
.hours .address {
  margin-top: 24px;
  font-size: 18px;
  font-style: normal;
}

.map {
  justify-self: end;
  max-width: 500px;
  width: 100%;
  margin: 0;
}
.map > a {
  display: block;
  box-shadow: var(--shadow);
}
.map figcaption {
  margin-top: 8px;
  font-size: 14px;
  text-align: right;
  color: var(--text-muted);
}

/* ---------- Menu page ---------- */

.toc {
  margin: 16px 0 0;
}
.toc ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: inline-block;
  padding: 8px 0;
  font: 400 18px/1.4 var(--font-nav);
}

.menu-section {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  text-align: center;
  scroll-margin-top: 16px;
}
.menu-section h2 {
  margin: 0;
  font: 400 30px/1.25 var(--font-nav);
  letter-spacing: 1px;
}
.menu-section .note {
  margin: 4px 0 0;
  font-size: 17px;
  color: var(--text-muted);
}
.menu-section h3.subhead {
  margin: 32px 0 12px;
  font: 400 22px/1.3 var(--font-nav);
  letter-spacing: 1px;
}

.drinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.drink h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.drink p {
  margin: 2px 0 0;
  color: var(--text-muted);
}
.drink .price {
  font-weight: 700;
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}
.steps > li {
  counter-increment: step;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.steps h3::before {
  content: counter(step) "  ";
  font-weight: 400;
  color: var(--accent);
}
.steps ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.steps .many {
  columns: 2;
  column-gap: 32px;
}

.flavors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 16px auto 0;
  padding: 0;
  max-width: 40em;
  list-style: none;
  font-size: 17px;
}

.bottles {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 48px;
}
.bottles li {
  padding: 4px 0;
  break-inside: avoid;
}
.bottles .grape {
  font-weight: 700;
}
.bottles li {
  color: var(--text-muted);
}
.bottles .grape {
  color: var(--text);
}
.bottles .price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.printed {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.printed .banner {
  margin-top: 16px;
}

/* Contact page */

.contact {
  margin: 24px 0 0;
  text-align: center;
  font-size: 18px;
}
.contact p {
  margin: 0 0 20px;
}
.contact .info {
  text-align: left;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  border-top: 3px solid var(--accent);
  font-size: 15px;
}

.footer-main {
  padding: 30px 0;
}
.footer-main .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}
.footer-main p {
  margin: 0;
}
.footer-main a {
  color: #fff;
  text-decoration: none;
}
.footer-main a:hover {
  text-decoration: underline;
}

.copyright {
  background: var(--copyright-bg);
  border-top: 1px solid var(--copyright-border);
  padding: 18px 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.copyright p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .main-nav a {
    margin-left: 18px;
    font-size: 22px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps > li:has(.many) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .site-header .wrap {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
  }

  .logo img {
    width: 200px;
    height: 80px;
  }

  .nav-toggle {
    display: block;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    flex: 0 0 100%;
  }
  .js .main-nav {
    display: none;
  }
  .js .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    padding-bottom: 8px;
  }
  .main-nav a {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #333;
    font-size: 22px;
    line-height: 1.3;
  }
  .main-nav a[aria-current="page"] {
    border-top-color: #333;
    color: var(--accent);
  }

  .intro h1,
  .page-title h1,
  .menu-section h2 {
    font-size: 26px;
  }

  .info,
  .drinks {
    grid-template-columns: 1fr;
  }
  .info {
    gap: 10px;
  }
  .map {
    justify-self: center;
  }
  .map figcaption {
    text-align: center;
  }

  .bottles {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .slider-arrow {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slider-track,
  .main-nav a,
  .nav-toggle span {
    transition: none;
  }
}
