/* Book My Event Hub — Landing Page */

:root {
  --bg-black: #0a0a0f;
  --bg-dark: #0f0b1e;
  --bg-card: #16121e;
  --bg-purple: #1a1030;
  --magenta: #e91e8c;
  --magenta-hover: #ff2d9a;
  --pink: #ff007f;
  --text-white: #ffffff;
  --text-muted: #a8a0b8;
  --text-dim: #6b6478;
  --border: rgba(255, 255, 255, 0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  transition: background 0.3s;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 0.15rem 0;
  transition: opacity 0.2s, transform 0.2s;
}

.brand-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-link:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
}

.brand-logo-full {
  width: auto;
  height: 52px;
  max-width: min(240px, 46vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  display: none;
  box-shadow: 0 4px 18px rgba(233, 30, 140, 0.35);
}

.brand-logo-compact {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}

.brand-logo-compact .line-top {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.brand-logo-compact .line-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-brand .brand-logo-full {
  height: 58px;
  max-width: 260px;
  margin-bottom: 1.25rem;
  filter: none;
}

.footer-brand .brand-link:hover {
  transform: none;
  opacity: 1;
}

.footer-brand .brand-link:hover .brand-logo-full {
  filter: drop-shadow(0 0 16px rgba(233, 30, 140, 0.25));
}

/* Legacy text logo fallback */
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

.nav-links {
  margin: 0 auto;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sign-in {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.sign-in:hover {
  color: var(--text-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--magenta);
  color: var(--text-white);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/ballroom_hero.jpg') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.55) 0%,
    rgba(10, 10, 15, 0.75) 60%,
    var(--bg-black) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--text-white);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.search-bar {
  display: flex;
  align-items: stretch;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(26, 16, 48, 0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.search-field {
  flex: 1;
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-right: 1px solid var(--border);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.search-field input,
.search-field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-white);
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  background: var(--magenta);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--magenta-hover);
}

.search-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* ── Section common ── */
section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.view-all {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.view-all:hover {
  color: var(--magenta);
}

/* ── Venues ── */
.venues {
  background: var(--bg-black);
}

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

.venue-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.venue-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.venue-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.venue-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.venue-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(61, 26, 110, 0.55), rgba(26, 10, 46, 0.95));
  color: rgba(255, 255, 255, 0.45);
}

.venue-img-placeholder svg {
  width: 3rem;
  height: 3rem;
  fill: currentColor;
}

.venue-media-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(10, 8, 16, 0.72);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venue-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}

.venue-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.venue-info h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

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

.rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #ffc107;
}

.rating svg {
  width: 14px;
  height: 14px;
  fill: #ffc107;
}

.price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--magenta);
}

/* ── Hub Standard ── */
.hub-standard {
  background: var(--bg-dark);
  text-align: center;
}

.hub-standard .section-title {
  margin-bottom: 1rem;
}

.standard-desc {
  max-width: 560px;
  margin: 0 auto 3.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(233, 30, 140, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-purple);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  color: var(--magenta);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Collections ── */
.collections {
  background: var(--bg-black);
}

.collections .section-title {
  margin-bottom: 2.5rem;
}

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

.collection-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.collection-text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.collection-text h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.collection-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Testimonial ── */
.testimonial {
  background: var(--bg-dark);
  text-align: center;
  padding: 6rem 0;
}

.quote-icon {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--magenta);
  margin-bottom: 1.5rem;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--text-white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--magenta);
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── CTA ── */
.cta {
  background: var(--bg-black);
  padding-bottom: 6rem;
}

.cta-box {
  background: var(--bg-purple);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-box h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

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

/* ── Footer ── */
.footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .brand-link {
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.newsletter-form {
  display: flex;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-white);
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-form button {
  padding: 0 1rem;
  background: var(--magenta);
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--magenta-hover);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--magenta);
}

/* ── Mobile menu toggle ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 90;
}

.nav-backdrop.visible {
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .venue-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .brand-logo-full {
    display: none;
  }

  .brand-logo-icon,
  .brand-logo-compact {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    gap: 0;
    padding: 1.25rem;
    background: rgba(10, 10, 15, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    z-index: 110;
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-actions .sign-in {
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .search-btn {
    width: 100%;
    padding: 1rem;
  }

  .venue-grid,
  .features-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

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

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
