/* ===== MOMENTUM - Shared Styles ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

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

:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #222222;
  --bg-card: #2a2a2a;
  --bg-dark: #111111;
  --gold: #c9a84c;
  --gold-light: #d4b85a;
  --gold-dark: #b08e3a;
  --white: #ffffff;
  --white-muted: #cccccc;
  --white-dim: #999999;
  --text-primary: #ffffff;
  --text-secondary: #bbbbbb;
  --text-muted: #888888;
  --border-color: #3a3a3a;
  --border-light: #444444;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 50px;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-elegant: 'Cormorant Garamond', 'Georgia', serif;
  --max-width: 480px;
  --nav-height: 70px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== App Container ===== */
.app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-primary);
  position: relative;
  padding-bottom: calc(var(--nav-height) + 20px);
}

/* ===== Top Header ===== */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
}

.logo-link {
  display: flex;
  align-items: center;
}

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

.header-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--white-muted);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  font-weight: 500;
}

.filter-tab:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-tab svg,
.filter-tab .tab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== Venue Cards (Homepage) ===== */
.venues-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.venue-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.venue-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.venue-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.venue-card-body {
  padding: 18px 20px 20px;
}

.venue-card-logo {
  height: 32px;
  margin-bottom: 4px;
}

.venue-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 2px;
}

.venue-card-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.venue-card-subtitle {
  font-size: 13px;
  color: var(--white-dim);
  font-style: italic;
  margin-bottom: 14px;
}

.venue-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.venue-card-actions a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 0.3s ease;
}

.venue-card-actions a:hover {
  opacity: 0.7;
}

/* ===== Credit Footer ===== */
.credit-footer {
  text-align: center;
  padding: 20px 20px 100px;
  font-size: 10px;
  color: #c9a84c;
  letter-spacing: 0.5px;
}
.credit-footer a {
  color: #c9a84c;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.credit-footer a:hover {
  opacity: 0.7;
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--white-dim);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

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

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

/* ===== Venue Detail Page ===== */

/* Hero */
.venue-hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

.venue-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.venue-hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
}

.venue-hero-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--white);
  text-transform: uppercase;
}

.venue-hero-tagline {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* CTA Buttons */
.cta-section {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-outline svg {
  width: 16px;
  height: 16px;
}

/* Description */
.venue-description {
  padding: 24px 24px 10px;
}

.venue-description p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Tagline Quote */
.venue-tagline-section {
  padding: 30px 24px;
  text-align: right;
}

.venue-tagline-quote {
  font-family: var(--font-elegant);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: var(--gold);
}

/* Image Banner */
.image-banner {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Buttons */
.section-btn-wrap {
  padding: 24px 24px;
  text-align: center;
}

/* Schedule Experience */
.schedule-section {
  padding: 10px 24px 0;
}

.schedule-section-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.schedule-section-inner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.schedule-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 40%, transparent);
  display: flex;
  align-items: flex-start;
  padding: 30px 24px;
}

.schedule-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.schedule-btn-wrap {
  padding: 18px 24px;
  text-align: center;
}

/* Events Section */
.events-section {
  padding: 30px 24px 0;
}

.events-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.events-image {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.events-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-btn-wrap {
  padding: 18px 24px;
  text-align: center;
}

/* Our Moments */
.moments-section {
  padding: 30px 24px 20px;
}

.moments-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.moments-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin-bottom: 16px;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.moments-grid .moment-img {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.moments-grid .moment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.moments-grid .moment-img:hover img {
  transform: scale(1.05);
}

.moments-grid .moment-img.tall {
  grid-row: span 2;
  height: 100%;
}

/* ===== Responsive - Tablet & Desktop ===== */
@media (min-width: 600px) {
  .app-container {
    max-width: 520px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
  }

  .venue-hero {
    height: 380px;
  }

  .venue-card-image {
    height: 220px;
  }
}

@media (min-width: 1024px) {
  body {
    background: #0e0e0e;
  }

  .app-container {
    max-width: 480px;
    box-shadow: 0 0 60px rgba(0,0,0,0.5);
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }

/* ===== Back Button ===== */
.back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 50;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: rgba(0,0,0,0.7);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== Placeholder images ===== */
.placeholder-img {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  font-size: 12px;
}
