/* Production-grade CSS for MM Events Melbourne */
:root {
  --primary: #ffffff;
  --accent: #d4af37;
  --accent-dim: rgba(212, 175, 55, 0.15);
  --bg-dark: #080808;
  --bg-surface: #141414;
  --bg-surface-2: #1c1c1c;
  --text-main: #e8e8e8;
  --text-muted: #888;
  --text-subtle: #555;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}

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

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

/* ─── Navigation ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  gap: 2rem;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
}

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

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

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

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.3) 0%,
    rgba(8,8,8,0.1) 40%,
    rgba(8,8,8,0.55) 80%,
    rgba(8,8,8,0.95) 100%
  );
  z-index: 0;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 2rem;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero p {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.8rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Section Base ────────────────────────────────────────── */
section {
  padding: 110px 2rem;
}

section#why-choose-us,
section#gallery {
  background: #0d0d0d;
}

section#about,
section#packages,
section#contact {
  background: var(--bg-dark);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Override inline max-width on sections */
section > *:not(.hero-video-container):not(.hero-content) {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.section-header[style*="text-align: left"] h2::after {
  left: 0;
  transform: none;
}

/* ─── About ───────────────────────────────────────────────── */
#about > .about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 24px 24px 0px var(--accent);
  position: relative;
  z-index: 1;
}

.about-text .section-header {
  margin-bottom: 28px;
}

.about-text h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.6rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.75;
}

/* ─── Features ────────────────────────────────────────────── */
#why-choose-us > .section-header,
#why-choose-us > .features-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}

.feature-card {
  background: var(--bg-surface);
  padding: 3rem 2.2rem;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.feature-card:hover {
  background: var(--bg-surface-2);
  transform: none;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

/* ─── Pricing ─────────────────────────────────────────────── */
#packages > .section-header,
#packages > .pricing-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

#packages > .section-header:last-of-type {
  margin-top: 90px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.04);
}

.price-card {
  background: var(--bg-surface);
  padding: 3.5rem 2.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.price-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.4s ease;
}

.price-card:hover::after {
  background: var(--accent);
}

.price-card.featured {
  background: var(--bg-surface-2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.06);
}

.price-card.featured::after {
  background: var(--accent);
}

.price-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.price-card .price-tag {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--accent);
  margin: 1.4rem 0 0.4rem;
  line-height: 1;
}

.price-card > p {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
}

.price-card ul {
  list-style: none;
  margin: 2rem 0 2.5rem;
  text-align: left;
}

.price-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-card li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Gallery ─────────────────────────────────────────────── */
#gallery > .section-header,
#gallery > .gallery-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

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

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212, 175, 55, 0);
  transition: background 0.5s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(212, 175, 55, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Contact ─────────────────────────────────────────────── */
#contact > .contact-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.contact-info {
  padding: 4rem 3rem;
  background: var(--bg-surface-2);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.contact-info .section-header {
  margin-bottom: 2.5rem;
}

.info-item {
  margin-bottom: 2.2rem;
}

.info-item label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-item p {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.5;
}

.contact-form {
  padding: 4rem 3.5rem;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.8rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 0;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: #000;
  padding: 60px 2rem 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand img {
  height: 38px;
  width: auto;
}

.footer-socials a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

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

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image img {
    height: 420px;
    box-shadow: 16px 16px 0px var(--accent);
  }

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

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

  .contact-info {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 2.5rem;
  }

  .contact-form {
    padding: 3rem 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-container {
    padding: 0.85rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .btn-group {
    gap: 0.75rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5px;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .contact-form form {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
  }

  .contact-info,
  .contact-form {
    padding: 2.5rem 1.5rem;
  }
}