/* ===========================
   Pagliacci's Taverna - Styles
   =========================== */

/* Google Fonts imported in HTML */

@font-face {
  font-family: 'Harabara';
  src: url('/fonts/Harabara.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark-bg: #111111;
  --dark-bg2: #1a1a1a;
  --dark-bg3: #222222;
  --cream: #f5f0e8;
  --cream-dim: #c8bfae;
  --white: #ffffff;
  --border: rgba(201, 168, 76, 0.25);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--dark-bg);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ---- Utility ---- */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.gold { color: var(--gold); }
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto;
}
.divider-left { margin: 1.2rem 0; }

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  background: transparent;
}

.btn:hover {
  background: var(--gold);
  color: var(--dark-bg);
}

.btn-solid {
  background: var(--gold);
  color: var(--dark-bg);
}

.btn-solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark-bg);
}

/* ========================
   TOP BAR
   ======================== */
.topbar {
  background: #0a0a0a;
  padding: 0.55rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.topbar a {
  color: var(--cream-dim);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover { color: var(--gold); }

.topbar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 1.2rem; }

.topbar-right a {
  font-size: 1rem;
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  font-family: 'Harabara', 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.5rem;
  font-size: 0.78rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(17,17,17,0.2) 60%,
    rgba(17,17,17,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--cream-dim);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.8rem;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 1.2rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================
   ABOUT STRIP
   ======================== */
.about-strip {
  background: var(--dark-bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  text-align: center;
}

.about-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.about-strip-item i {
  font-size: 1.6rem;
  color: var(--gold);
}

.about-strip-item span {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ========================
   MENU SECTION
   ======================== */
.section-menu {
  background: var(--dark-bg2);
  padding: 6rem 2rem;
}

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

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.menu-image {
  position: relative;
}

.menu-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.menu-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border);
  z-index: -1;
}

.menu-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.menu-text p {
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.menu-call {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.menu-call-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.menu-call-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.menu-call-text a {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-style: italic;
}

/* ========================
   HOURS SECTION
   ======================== */
.section-hours {
  background: var(--dark-bg);
  padding: 6rem 2rem;
  text-align: center;
}

.section-hours h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.hours-grid {
  max-width: 500px;
  margin: 3rem auto 0;
  display: grid;
  gap: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row:nth-child(even) { background: rgba(255,255,255,0.025); }

.hours-day { color: var(--cream-dim); font-weight: 700; letter-spacing: 0.05em; }
.hours-time { color: var(--gold); }

.hours-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-style: italic;
}

/* ========================
   CUSTOMER FAVORITES
   ======================== */
.section-favorites {
  background: var(--dark-bg2);
  padding: 6rem 2rem;
}

.section-favorites .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-favorites h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
}

.favorites-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fav-card {
  background: var(--dark-bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.fav-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.fav-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.fav-card:hover .fav-card-img {
  transform: scale(1.05);
}

.fav-card-img-wrap {
  overflow: hidden;
  height: 220px;
}

.fav-card-body {
  padding: 1.5rem;
}

.fav-card-body h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.fav-card-body p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  margin-bottom: 1.3rem;
  line-height: 1.6;
}

.fav-card-body .btn {
  font-size: 0.75rem;
  padding: 0.55rem 1.4rem;
}

/* ========================
   CONTACT / LOCATION
   ======================== */
.section-contact {
  background: var(--dark-bg);
  padding: 6rem 2rem;
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.contact-info p.intro {
  color: var(--cream-dim);
  margin: 1.2rem 0 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact-item-text a,
.contact-item-text p {
  color: var(--cream-dim);
  font-size: 0.98rem;
  transition: color 0.2s;
}

.contact-item-text a:hover { color: var(--gold); }

.map-wrap {
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  display: block;
  filter: grayscale(0.3) invert(0.85) hue-rotate(180deg) brightness(0.85);
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Harabara', 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.footer-brand span { color: var(--gold); }

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 1.5rem;
}

.footer-bottom {
  font-size: 0.78rem;
  color: var(--cream-dim);
  opacity: 0.6;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--cream-dim);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold); }

/* ========================
   MOBILE RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .menu-image img { height: 320px; }
  .menu-image::before { display: none; }

  .favorites-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-wrap iframe { height: 280px; }
}

@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 0.5rem; text-align: center; }
  .topbar-left { justify-content: center; gap: 1rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.5rem;
  }

  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .favorites-grid { grid-template-columns: 1fr; }

  .about-strip { gap: 2rem; }

  .hero-buttons { flex-direction: column; align-items: center; }
}
