/* Aub's Lounge - Gourmet Banana Bread & Poetry */
/* Shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
  --gold: rgb(250, 230, 10);
  --gold-dark: rgb(220, 200, 0);
  --black: #111;
  --dark: #1a1a1a;
  --dark-card: #222;
  --white: #fff;
  --gray-light: #f5f5f5;
  --gray: #888;
  --gray-dark: #333;
  --text: #222;
  --text-light: #ccc;
  --max-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-bar .marquee {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.announcement-bar .separator {
  display: inline-block;
  margin: 0 2em;
  opacity: 0.5;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo a {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.nav-cart {
  position: relative;
}

.nav-cart svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  transition: fill 0.2s;
}

.nav-cart:hover svg {
  fill: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-dark {
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-small {
  min-height: 35vh;
}

.hero-small h1 {
  font-size: 2.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-dark);
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 20px;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-light {
  background: var(--gray-light);
}

.section-gold {
  background: var(--gold);
  color: var(--black);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* ---------- Two Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.two-col-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.two-col-image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.section-dark .card {
  background: var(--dark-card);
}

.card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.section-dark .card-body p {
  color: var(--text-light);
}

/* ---------- Flavor Cards ---------- */
.flavor-card .card-body h3 {
  color: var(--gold);
}

.section-dark .flavor-card .card-body h3 {
  color: var(--gold);
}

/* ---------- Product Grid ---------- */
.product-card .card-body {
  text-align: center;
}

.product-card .price {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 8px;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- Amenities List ---------- */
.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.amenities-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Event Types ---------- */
.event-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.event-type {
  background: var(--dark-card);
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(250,230,10,0.2);
  transition: border-color 0.2s;
}

.event-type:hover {
  border-color: var(--gold);
}

/* ---------- Info Box ---------- */
.info-box {
  background: var(--dark-card);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}

.info-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.info-box p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Hours Table ---------- */
.hours-table {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 0;
  font-size: 0.9rem;
}

.hours-table td:first-child {
  font-weight: 600;
  padding-right: 24px;
}

.hours-table .closed {
  color: var(--gray);
}

/* ---------- Map ---------- */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 20px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
}

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

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-dark);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--gold);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-social a:hover svg {
  fill: var(--black);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--gray-dark);
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---------- Cart Page ---------- */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.cart-empty p {
  color: var(--gray);
  margin-bottom: 32px;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-small h1 {
    font-size: 1.6rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 16px 0;
    border-top: 1px solid var(--gray-dark);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 20px;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

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

  .event-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .announcement-bar {
    font-size: 0.75rem;
  }
}

/* ---------- Spoken Space Section ---------- */
.spoken-space {
  text-align: center;
}

.spoken-space h2 {
  color: var(--gold);
  margin-bottom: 16px;
}

.spoken-space .schedule {
  font-size: 1.1rem;
  margin: 16px 0;
}

.spoken-space .schedule strong {
  color: var(--gold);
}

/* ---------- Pickup Info ---------- */
.pickup-info {
  max-width: 700px;
  margin: 0 auto;
}

.pickup-info h3 {
  color: var(--gold);
  margin-bottom: 8px;
  margin-top: 24px;
}

.pickup-info p {
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ---------- Category Filter ---------- */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-filter a {
  padding: 8px 24px;
  border: 2px solid var(--gold);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.2s;
}

.category-filter a:hover,
.category-filter a.active {
  background: var(--gold);
  color: var(--black);
}
