/* ───────────────────────────────
   MACKOUT BRANDS – SERVICES PAGE
   Cinematic Multi-Panel Experience
──────────────────────────────────*/

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

html, body {
  height: 100%;
  background: #000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #fff;
  overflow: hidden;
}

/* WRAPPER + CONTAINER */
.services-wrapper {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.services-container {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: auto;
  will-change: transform;
  transition: transform 1s ease;
}

/* ───────────────
   PANEL BASE
────────────────*/
.panel {
  flex: 0 0 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}



.content {
  max-width: 900px;
  z-index: 2;
}

/* ───────────────
   PANEL 0 – INTRO
────────────────*/
.panel-0 {
  background: radial-gradient(circle at center, #0d0d0f, #000);
  overflow: hidden;
}

.panel-0 .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(100,0,200,0.25), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(200,50,50,0.18), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-5%, -3%) scale(1.05); }
  100% { transform: translate(5%, 4%) scale(1); }
}

.panel-0 .intro-headline {
  font-family: "Cinzel", serif;
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.6s ease forwards 0.6s;
}

.panel-0 .intro-subtext {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.6s ease forwards 1.2s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ───────────────
   PANEL 1 – AUDIT
────────────────*/
.panel-1 {
  background: radial-gradient(circle at center, #0a1535, #000);
  color: #fff;
  padding: 4rem 2rem;
}

.panel-title {
  font-family: "Cinzel", serif;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #00bfff;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.7);
}

.panel-subtext {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.75;
}

/* Accordion service rows */
.service {
  max-width: 600px;
  margin: 1rem auto;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
  transition: color 0.3s ease;
}

.service-header:hover {
  color: #00ffaa;
}

.service-title {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.toggle {
  font-size: 1.6rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  padding-left: 0.5rem;
}

.service.open .service-body {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 1rem;
}

.service.open .toggle {
  transform: rotate(45deg);
  color: #00ffaa;
}

/* ───────────────
   PANEL 2 – ALIGN
────────────────*/
.panel-2 {
  background: radial-gradient(circle at center, #03140d, #000);
  padding: 5rem 2rem;
}

.panel-2 .panel-title {
  color: #c8ffe0;
  text-shadow: 0 0 15px rgba(80,255,150,0.6);
}

.emerald-card, .emerald-runes {
  border: 2px solid rgba(0,255,170,0.35);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,120,80,0.08));
  box-shadow: 0 0 30px rgba(0,200,120,0.25), inset 0 0 40px rgba(255,255,255,0.05);
  animation: emeraldPulse 6s ease-in-out infinite;
}

@keyframes emeraldPulse {
  0%, 100% { box-shadow: 0 0 25px rgba(0,200,120,0.25), inset 0 0 30px rgba(255,255,255,0.05); }
  50% { box-shadow: 0 0 40px rgba(0,255,170,0.45), inset 0 0 50px rgba(255,255,255,0.1); }
}

/* ───────────────
   PANEL 3 – AMPLIFY
────────────────*/
.panel-3 {
  background: radial-gradient(circle at center, #1a0a2f, #000);
  position: relative;
}

.panel-3 .panel-title {
  color: #d08bff;
  text-shadow: 0 0 15px rgba(200,120,255,0.7);
}

.panel-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(160,80,255,0.12), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(255,100,220,0.08), transparent 60%);
  pointer-events: none;
  animation: amplifyAura 12s ease-in-out infinite;
}

@keyframes amplifyAura {
  0%,100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}



/* ───────────────
   NAV + OVERLAY MENU
────────────────*/
.menu-icon {
  position: fixed;
  top: 40px;
  right: 50px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1), opacity 0.2s ease;
  transform-origin: center;
}

.menu-icon.active span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10,10,10,0.95);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-links {
  list-style: none;
  text-align: center;
  font-size: 2rem;
  line-height: 3rem;
  padding: 0;
}

.menu-links li { margin: 20px 0; }

.menu-links a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.menu-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #fff;
  transition: width 0.3s ease;
}

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

.close-icon {
  display: inline-block;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
  margin-top: 40px;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.close-icon:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.blur-background {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.blur-background.active {
  opacity: 1;
  pointer-events: all;
}

/* ───────────────
   ARROW NAVIGATION
────────────────*/
.nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.arrow {
  pointer-events: auto;
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 0.6rem 1rem;
  margin: 0 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0,0,0,0.75);
}
 
.services-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.services-container .panel {
  box-sizing: border-box;
  min-height: 100vh;
}

/* cinematic overlay */
.fade-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
}


