/* =========================================================
   X74 Cafe — Main Stylesheet
   ========================================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #2b2b2b;
  color: #e0e0e0;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0.03em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

/* ---- Navigation ---- */
.site-header {
  background: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-menu li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ccc;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active { color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ccc;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ---- Hero Slideshow ---- */
.hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }

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

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.hero-dot.active { background: #fff; }

/* ---- Page Banner (non-home pages) ---- */
.page-banner {
  background: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}
.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Sections ---- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Home — Feature Grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-text p {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
}

.feature-image img {
  border-radius: 4px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ---- Home — About Strip ---- */
.about-strip {
  background: #222;
  padding: 60px 20px;
  text-align: center;
}
.about-strip p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.9;
}

/* ---- Menu Pages ---- */
.menu-note {
  background: #1a1a1a;
  border-left: 4px solid #e8c84a;
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 2px;
}
.menu-note p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8c84a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-note .socials-row {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.menu-note .socials-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.menu-note .socials-row a:hover { background: #444; }

.menu-subtitle {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 30px;
  text-align: center;
}

.menu-category {
  margin-bottom: 50px;
}
.menu-category h2 {
  color: #e8c84a;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.menu-item {
  background: #1e1e1e;
  border-radius: 6px;
  padding: 18px 20px;
  border: 1px solid #333;
  transition: border-color 0.2s;
}
.menu-item:hover { border-color: #555; }

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.menu-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.menu-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: #e8c84a;
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.5;
}
.menu-item-extras {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #888;
  font-style: italic;
}

.surcharge-note {
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #444;
  padding: 14px 20px;
  border-radius: 4px;
  color: #e8c84a;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 30px;
}

/* ---- Drinks Page ---- */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* ---- Functions Page ---- */
.functions-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- Garden / House Made ---- */
.info-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.info-block h2 {
  color: #e8c84a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.info-block p {
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: #1e1e1e;
  border-radius: 6px;
  padding: 30px;
  border: 1px solid #333;
}
.contact-card h3 {
  color: #e8c84a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.contact-card p, .contact-card a {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
  display: block;
}
.contact-card a:hover { color: #fff; text-decoration: underline; }

.map-embed {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 6px;
  margin-top: 40px;
}

/* ---- Retail Stand ---- */
.retail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.retail-items { list-style: none; }
.retail-items li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #333;
  font-size: 0.95rem;
  color: #ccc;
}
.retail-items li:last-child { border-bottom: none; }
.retail-price { color: #e8c84a; font-weight: 700; }

/* ---- Footer ---- */
.site-footer {
  background: #111;
  padding: 50px 20px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.8;
  display: block;
}
.footer-col a:hover { color: #ccc; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #222;
  color: #ccc;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: #444; color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #555; font-size: 0.82rem; }

.footer-logo img { height: 40px; }

.ubereats-badge img {
  height: 50px;
  border-radius: 6px;
}

/* ---- Specials Page ---- */
.specials-cta {
  text-align: center;
  padding: 60px 20px;
}
.specials-cta h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.specials-cta p {
  color: #aaa;
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #e8c84a;
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.btn:hover { background: #d4b43a; }
.btn-outline {
  background: transparent;
  border: 2px solid #e8c84a;
  color: #e8c84a;
  margin-left: 12px;
}
.btn-outline:hover { background: #e8c84a; color: #111; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .feature-grid,
  .contact-grid,
  .retail-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .hero { height: 320px; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 10px 0 20px;
    border-top: 1px solid #333;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 12px 24px; font-size: 0.9rem; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero { height: 220px; }
  .menu-items { grid-template-columns: 1fr; }
}
