/* ==========================================================================
   MStepEvents.in — Editorial Luxury & Showbiz Event Management Stylesheet
   Palette: Warm Ivory (#FAF8F5), Crisp White (#FFFFFF), Royal Burgundy (#6A1B3B), Champagne Bronze (#B8860B)
   ========================================================================== */

:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-dark-band: #1a1216;
  --border-subtle: rgba(26, 24, 27, 0.1);
  --border-accent: rgba(106, 27, 59, 0.25);

  --text-primary: #1a181b;
  --text-secondary: #4e4a52;
  --text-muted: #7a757e;

  --accent: #6a1b3b;
  --accent-dark: #4a1028;
  --bronze: #b8860b;
  --bronze-light: #d4a843;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 35px rgba(26, 24, 27, 0.06);
  --shadow-hover: 0 20px 45px rgba(106, 27, 59, 0.12);
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

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

ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-header {
  max-width: 780px;
  margin-bottom: 3.2rem;
}

.section-header p {
  font-size: 1.08rem;
  margin-top: 0.85rem;
}

.accent-text {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(106, 27, 59, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(106, 27, 59, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.brand span { color: var(--accent); }

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.btn-primary {
  color: #ffffff;
}

.nav-links a.btn-primary:hover {
  color: #ffffff;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 0.6rem 0;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-primary);
  color: var(--accent);
}

/* Floating WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-float:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-call-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Full-Bleed Visual Hero with Background Video */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark-band);
  background-size: cover;
  background-position: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(22, 12, 17, 0.72) 0%, rgba(22, 12, 17, 0.48) 55%, rgba(22, 12, 17, 0.28) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero h3,
.hero .eyebrow {
  color: #ffffff;
}

.hero .eyebrow {
  color: var(--bronze-light);
}

.hero-lead {
  font-size: 1.16rem;
  max-width: 650px;
  margin: 1.4rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-panel h3 { color: var(--text-primary); }
.hero-panel .eyebrow { color: var(--accent); }
.hero-panel p { color: var(--text-secondary); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.stat-item h3 {
  font-size: 2.1rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.stat-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Visual Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:not(:has(.card-img)) {
  padding: 2.1rem;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.card-link:hover { gap: 0.7rem; }

/* Portfolio / Showbiz Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-soft);
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(20, 10, 15, 0.88), transparent);
  color: #ffffff;
}

.gallery-caption span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bronze-light);
  display: block;
}

.gallery-caption strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* Long-form Editorial Content */
.prose-block { max-width: 920px; }
.prose-block h2 { margin-top: 2.2rem; margin-bottom: 1rem; }
.prose-block h3 { margin-top: 1.8rem; margin-bottom: 0.75rem; color: var(--accent); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2rem;
  margin: 1.4rem 0 1.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.8rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.8rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Inquiry Form */
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-soft);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
}

/* Footer */
.footer {
  background: var(--bg-dark-band);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2.5rem;
}

.footer .brand { color: #ffffff; }
.footer .brand span { color: var(--bronze-light); }
.footer p { color: rgba(255, 255, 255, 0.72); }

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

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bronze-light);
  margin-bottom: 1.2rem;
}

.footer ul li { margin-bottom: 0.65rem; }
.footer ul a { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.footer ul a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

@media (max-width: 992px) {
  .hero-grid,
  .grid-3,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-call-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-toggle { display: block; }
}

@media (max-width: 768px) {
  .grid-2,
  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 4rem 0; }
}

/* Mobile Header & Gallery Fixes */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .nav-inner {
    gap: 0.5rem;
  }
  .brand img {
    height: 34px !important;
  }
  .nav-right {
    gap: 0.45rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .nav-call-btn {
    padding: 0.48rem 0.85rem;
    font-size: 0.78rem;
  }
  .nav-toggle {
    flex-shrink: 0;
  }
}

/* Sleek Structured Dropdown Trees */
.nav-dropdown-menu {
  padding: 0.45rem 0;
  min-width: 245px;
}
.nav-dropdown-menu a {
  padding: 0.48rem 1.15rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(26, 24, 27, 0.04);
}
.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

/* Guaranteed Single-Line Mobile Header */
@media (max-width: 992px) {
  .nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .brand img {
    height: 30px !important;
  }
  .nav-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-shrink: 0 !important;
  }
  .nav-call-btn {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.35rem 0.6rem !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }
}

/* Stronger Hero Contrast & Subtle Blur for Crisp Readability */
.hero::before {
  background: linear-gradient(95deg, rgba(14, 8, 12, 0.84) 0%, rgba(14, 8, 12, 0.72) 55%, rgba(14, 8, 12, 0.56) 100%) !important;
  backdrop-filter: blur(2px);
}
