@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #080808;
  --accent-primary: #00E5FF;
  --accent-secondary: #D500F9;
  --accent-glow: rgba(0, 229, 255, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(15px);

  /* Spacing */
  --section-padding: 120px 5%;
  --border-radius-lg: 24px;
  --transition-premium: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* --- Global Noise Texture --- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png"); /* Subtle texture */
  opacity: 0.1;
  pointer-events: none;
  z-index: 100;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  animation: bounce 2s infinite;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translate(-50%, 0);}
  40% {transform: translate(-50%, -10px);}
  60% {transform: translate(-50%, -5px);}
}

/* --- Featured Experiences Section --- */
.carousel-section {
  padding: 40px 5% 120px;
  background: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}


/* --- Carousel Container --- */
.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none; /* Container itself shouldn't block content */
}

.carousel-btn {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-premium);
  pointer-events: all; /* Buttons should be clickable */
}

.carousel-btn.prev {
  left: 40px;
}

.carousel-btn.next {
  right: 40px;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-3px);
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.work-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  transition: box-shadow 0.6s ease;
}

.carousel-slide:hover .work-card {
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.work-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.carousel-slide:hover .work-video {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(70deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
  z-index: 1;
}

/* --- Editorial Content Layout --- */
.work-content.editorial {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  min-width: 0;
}

.work-category {
  color: var(--accent-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

.work-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 25px;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.work-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 30px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.work-metadata {
  margin-bottom: 40px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  overflow-wrap: anywhere;
}


/* --- Progress Bar --- */
.progress-wrap {
  width: calc(100% - 140px);
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  position: absolute;
  bottom: -60px;
  left: 0;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Footer --- */
footer {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.5;
  overflow-wrap: anywhere;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .carousel-section {
    padding: 36px 4.5% 104px;
  }

  .carousel-track-container {
    border-radius: 22px;
  }

  .work-content.editorial {
    width: 62%;
    padding: clamp(48px, 5vw, 68px);
  }

  .work-title {
    font-size: clamp(3rem, 6vw, 4.75rem);
    margin-bottom: 22px;
  }

  .carousel-btn {
    width: 64px;
    height: 64px;
  }

  .carousel-btn.prev { left: 28px; }
  .carousel-btn.next { right: 28px; }
}

@media (max-width: 992px) {
  .hero {
    height: 92svh;
    min-height: 560px;
  }

  .carousel-section {
    min-height: auto;
    padding: 32px 4% 88px;
  }

  .work-card {
    aspect-ratio: 16/9;
  }

  .work-content.editorial {
    width: 72%;
    padding: clamp(36px, 5vw, 56px);
  }

  .work-category {
    font-size: 0.78rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }

  .work-title {
    font-size: clamp(2.65rem, 7vw, 4rem);
    line-height: 0.95;
  }

  .work-metadata {
    margin-bottom: 28px;
  }

  .carousel-btn {
    width: 56px;
    height: 56px;
  }

  .carousel-btn.prev { left: 18px; }
  .carousel-btn.next { right: 18px; }

  .progress-wrap {
    width: calc(100% - 112px);
    bottom: -46px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 86svh;
    min-height: 480px;
  }

  .hero-bg video {
    object-fit: contain;
    object-position: center center;
  }

  .hero::after {
    height: 22vh;
  }

  .scroll-indicator {
    bottom: 26px;
    font-size: 1.25rem;
  }

  .carousel-section {
    padding: 28px 16px 56px;
    align-items: flex-start;
  }

  .carousel-container {
    display: flex;
    flex-direction: column;
  }

  .carousel-track-container {
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.55);
  }

  .work-card {
    aspect-ratio: auto;
    height: min(74svh, 620px);
    min-height: 430px;
  }

  .work-content.editorial {
    width: 100%;
    max-width: 100%;
    padding: 34px 24px 92px;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  }

  .work-content.editorial br {
    display: none;
  }

  .work-category {
    max-width: 82%;
    font-size: clamp(0.68rem, 2.2vw, 0.76rem);
    letter-spacing: 2px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .work-title {
    font-size: clamp(2.45rem, 12vw, 4rem);
    line-height: 0.95;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .work-metadata {
    max-width: 82%;
    margin-bottom: 0;
    font-size: clamp(0.68rem, 2.1vw, 0.76rem);
    line-height: 1.45;
    letter-spacing: 1.4px;
  }

  .carousel-nav {
    top: auto;
    bottom: 24px;
    height: 52px;
    transform: none;
  }

  .carousel-btn {
    width: 52px;
    height: 52px;
  }

  .carousel-btn.prev { left: 24px; }
  .carousel-btn.next { right: 24px; }

  .progress-wrap {
    position: relative;
    width: 100%;
    bottom: auto;
    left: auto;
    margin-top: 18px;
  }

  footer {
    padding: 42px 18px;
    font-size: 0.68rem;
    line-height: 1.7;
    letter-spacing: 2px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 78svh;
    min-height: 420px;
  }

  .carousel-section {
    padding: 24px 12px 46px;
  }

  .carousel-track-container {
    border-radius: 14px;
  }

  .work-card {
    height: min(72svh, 560px);
    min-height: 400px;
  }

  .work-content.editorial {
    padding: 28px 18px 86px;
  }

  .work-category,
  .work-metadata {
    max-width: 78%;
    letter-spacing: 1.1px;
  }

  .work-title {
    font-size: clamp(2.15rem, 13vw, 3.4rem);
    margin-bottom: 12px;
  }

  .carousel-nav {
    bottom: 20px;
    height: 48px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
  }

  .carousel-btn.prev { left: 18px; }
  .carousel-btn.next { right: 18px; }

  .progress-wrap {
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 72svh;
    min-height: 380px;
  }

  .carousel-section {
    padding-inline: 10px;
  }

  .work-card {
    height: min(70svh, 520px);
    min-height: 370px;
  }

  .work-content.editorial {
    padding: 24px 16px 80px;
  }

  .work-category {
    font-size: 0.64rem;
    letter-spacing: 0.9px;
    max-width: 76%;
  }

  .work-title {
    font-size: clamp(1.9rem, 12vw, 2.95rem);
  }

  .work-metadata {
    font-size: 0.64rem;
    letter-spacing: 0.9px;
    max-width: 76%;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-btn.prev { left: 16px; }
  .carousel-btn.next { right: 16px; }

  footer {
    padding: 34px 16px;
    font-size: 0.62rem;
    letter-spacing: 1.4px;
  }
}
