/* ============================================
   Ourag'enchant'é - Styles principaux
   ============================================ */

:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-text: #f5f5f5;
  --color-text-muted: #b0b0b0;
  --color-accent: #730000;
  --color-accent-light: #a02020;
  --font-heading: 'Georgia', serif;
  --font-body: system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

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

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

.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
}

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

.nav-link:hover {
  color: var(--color-text);
}

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

/* ============================================
   Slider Full Screen
   ============================================ */

.slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.slide-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  animation: fadeUp 1s ease forwards;
}

.slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  animation: fadeUp 1s ease 0.3s forwards;
}

.slide-tags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.6s forwards;
}

.tag {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ============================================
   Section commune
   ============================================ */

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Présentation (About)
   ============================================ */

.about {
  background: var(--color-surface);
}

.about-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ============================================
   Créations (Parallaxe)
   ============================================ */

.creation-card {
  position: relative;
  height: 100vh;
  overflow: hidden;
  cursor: pointer;
}

.creation-bg {
  position: absolute;
  inset: -5%;
  background-size: cover !important;
  background-position: center !important;
  will-change: transform;
}

.creation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.85));
}

.creation-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 2rem;
}

.creation-type {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-accent);
  max-width: fit-content;
}

.creation-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.creation-desc {
  max-width: 500px;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: fit-content;
}

.cta-button:hover {
    background: transparent;
  transform: translateX(5px);
}

.cta-arrow {
  font-size: 1.2rem;
}

/* ============================================
   Galerie Photo
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(80%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* ============================================
   Galerie Vidéo
   ============================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.video-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.video-item:hover .video-thumb {
  opacity: 0.9;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.video-item:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent-light);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav-links { display: none; }

  .slide-title {
    font-size: 2rem;
  }

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

  .creation-card {
    height: 70vh;
  }

}

.video{
    margin-bottom: 128px;
}
