/* ==========================================================================
   Grotto Hookah Lounge — Shared Styles
   Colors: Deep Purple #2d1b4e · Copper Gold #c49b5c · Dark BG #120c1e · Cream #f0e8d8
   Fonts: Yeseva One (display) + Noto Sans (body)
   ========================================================================== */

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

:root {
  --purple: #2d1b4e;
  --gold: #c49b5c;
  --dark: #120c1e;
  --cream: #f0e8d8;
  --purple-light: #3f2a66;
  --gold-light: #d4b07a;
  --dark-card: #1a1229;
  --overlay: rgba(18, 12, 30, 0.85);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Yeseva One', cursive;
  color: var(--gold);
  line-height: 1.25;
}

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

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

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

ul {
  list-style: none;
}

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

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 2rem;
  border: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

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

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(18, 12, 30, 0.97);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Yeseva One', cursive;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-logo:hover {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

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

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 0.6rem 0;
  font-size: 0.82rem;
  color: rgba(240, 232, 216, 0.5);
}

.breadcrumbs a {
  color: rgba(240, 232, 216, 0.6);
}

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

.breadcrumbs .separator {
  margin: 0 0.4rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('images/tiktok-hidden-bar.jpg') center center / cover no-repeat var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(45, 27, 78, 0.6) 0%, rgba(18, 12, 30, 0.85) 70%);
  z-index: 1;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--purple) 0%, var(--dark) 100%);
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--cream);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
section {
  padding: 5rem 0;
}

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

.section-purple {
  background: var(--purple);
}

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

/* ---------- Cards ---------- */
.card {
  background: var(--dark-card);
  border: 1px solid rgba(196, 155, 92, 0.15);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 155, 92, 0.4);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- Features / Highlights ---------- */
.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ---------- Menu Section ---------- */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196, 155, 92, 0.25);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(240, 232, 216, 0.1);
}

.menu-item-name {
  font-weight: 600;
  font-size: 1rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: rgba(240, 232, 216, 0.6);
  margin-top: 0.2rem;
}

.menu-item-price {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  margin-left: 1rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-card);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(240, 232, 216, 0.4);
  text-align: center;
  padding: 1rem;
  height: 100%;
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
}

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

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

.contact-info-item .icon {
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 30px;
  text-align: center;
  padding-top: 2px;
}

.contact-info-item h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--dark-card);
  border: 1px solid rgba(196, 155, 92, 0.2);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(240, 232, 216, 0.35);
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
  width: 100%;
  height: 350px;
  background: var(--dark-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 232, 216, 0.4);
  font-size: 0.95rem;
  border: 1px solid rgba(196, 155, 92, 0.15);
}

/* ---------- Events ---------- */
.event-card {
  background: var(--dark-card);
  border: 1px solid rgba(196, 155, 92, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 155, 92, 0.4);
}

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

.event-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.event-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.event-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.event-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 232, 216, 0.3);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--purple);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(196, 155, 92, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 0.88rem;
  color: rgba(240, 232, 216, 0.7);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand p {
  max-width: 280px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 232, 216, 0.1);
  font-size: 0.8rem;
  color: rgba(240, 232, 216, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    right: 0;
  }

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

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .page-header {
    padding: 7rem 0 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

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