/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #1c0f18, #3a162a, #8a077b);
  min-height: 100vh;
  padding-top: 100px; /* espace pour navbar */
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff2f92;
  font-family: 'Montserrat', sans-serif;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
  color: #ff2f92;
}

/* ================= HERO ================= */
.page-hero {
  text-align: center;
  padding: 120px 8% 80px;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}

/* ================= PORTFOLIO ================= */
.portfolio {
  padding: 60px 8%;
}

.portfolio h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 60px;
  color: #ff2f92;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* CARDS GLASS POUR VIDÉOS */
.portfolio-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 25px 45px rgba(0,0,0,0.35);
  padding: 20px;
  text-align: center;
  transition: 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 65px rgba(255,47,146,0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

.portfolio-card h3 {
  margin-top: 15px;
  color: #ff2f92;
  font-size: 1.1rem;
}

/* VIDEO RESPONSIVE */
.portfolio-card video {
  border-radius: 15px;
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ================= FOOTER ================= */
footer {
  padding: 20px;
  text-align: center;
  background: #000;
  color: #fff;
  margin-top: 60px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 2.4rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .portfolio-card video {
    max-height: 180px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .portfolio-card video {
    max-height: 160px;
  }
}



/* ================= ANIMATION SCROLL & FADE-IN ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in + léger scale pour les cards */
.fade-up {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all 0.8s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Animation hover pour les cartes */
.service-card,
.about-text,
.contact-form {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.about-text:hover,
.contact-form:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 45px 75px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

.hover-effect {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 45px 75px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

body {
  cursor: pointer; /* ou default selon ton choix */
}

.service-card:hover::after,
.about-text:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: 0 0 40px rgba(255, 47, 146, 0.4);
  pointer-events: none;
}

/* Éléments interactifs : boutons, liens, certains textes */
.interactive {
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
  cursor: pointer;
}

/* Hover pour desktop */
.interactive:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(255, 47, 146, 0.3);
  color: var(--pink-soft); /* optionnel pour un effet subtil */
}

/* Touch sur mobile : ajoute temporairement la même animation */
.hover-touch {
  transform: translateY(-2px) !important;
  text-shadow: 0 2px 6px rgba(255, 47, 146, 0.3) !important;
  color: var(--pink-soft) !important;
}


.on-load {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zoom-video {
    cursor: zoom-in;
    border-radius: 15px;
}


.zoom-video.active {
    transform: scale(1.08);
    box-shadow: 0 20px 45px rgba(255,47,146,0.4);
    z-index: 10;
}


.zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.zoom-overlay img,
.zoom-overlay video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.35s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



