:root {
  --primary: #14ffec;
  --secondary: #0d7377;
  --dark: #042326;
  --darker: #021418;
  --text: #ffffff;
  --accent: #ff6b6b;
}

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



html {
  overflow-x: hidden;
}

p {
  font-family: "Inter", sans-serif;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--darker);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section {
  padding: 120px 0;
  position: relative;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.blur-primary {
  background-color: var(--primary);
  width: 300px;
  height: 300px;
}

.blur-secondary {
  background-color: var(--secondary);
  width: 350px;
  height: 350px;
}

.blur-accent {
  background-color: var(--accent);
  width: 250px;
  height: 250px;
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(4, 35, 38, 0.8);
  transition: all 0.4s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.nav-scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  flex: 1 1 500px;
}

.hero h1 {
  font-size: 3rem; /* Réduit */
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-image-wrapper {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 40%;
  box-shadow: 0 0 30px rgba(242, 249, 186, 0.2);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--darker);
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(20, 255, 236, 0.3);
  background-color: var(--text);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: rgba(13, 115, 119, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

.service-icon {
  display: block;
  margin: 0 auto 1rem auto;
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #e3f6bc;
  letter-spacing: 0.3px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  position: relative;
}

.section-title .highlight {
  position: relative;
  color: #9efeff;
  font-style: italic;
}

.section-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #9efeff, #e2f691);
  border-radius: 2px;
  opacity: 0.8;
}

.section-title p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #d2f0f4;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 40px;
  font-size: 1rem;
  color: var(--text-light, #cccccc);
  text-align: center;
  line-height: 1.6;
  font-style: italic;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note strong {
  color: var(--primary, #14ffec);
  font-style: normal;
}

/* Skills Section */
.skills-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px; /* ou autre selon ton design */
}

.skill-item {
  background: rgba(13, 115, 119, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

.skill-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.skill-name {
  font-weight: 500;
  font-size: 1rem;
}
/* New project */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.15);
}

.project-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100px);
  transition: all 0.5s ease;
  color: white;
}

.project-info h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.tech {
  font-size: 0.85rem;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.project-overlay {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #d0d0d0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  max-height: 300px;
  margin-top: 0.5rem;
}

.project-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: #00ffff;
  color: #000;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.project-btn:hover {
  background-color: #00cccc;
}

/* Projects */
.projects-container {
  margin-top: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
  cursor: pointer;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(4, 35, 38, 0.95), transparent);
  transform: translateY(0); /* par défaut visible */
  transition: all 0.5s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 1rem;
  max-width: 90%;
  margin-bottom: 20px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

.project-card:hover .project-desc {
  opacity: 1;
  transform: translateY(0);
}

.project-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.project-link:hover {
  transform: translateX(5px);
}

/* badge project card */

.project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Couleurs par catégorie */
.badge-stage {
  background: rgba(0, 128, 255, 0.15);
  border-color: rgba(0, 128, 255, 0.3);
}

.badge-personal {
  background: rgba(0, 255, 128, 0.15);
  border-color: rgba(0, 255, 128, 0.3);
}

.badge-exp {
  background: rgba(255, 0, 128, 0.15);
  border-color: rgba(255, 0, 128, 0.3);
}

.badge-formation {
  background: rgba(255, 255, 0, 0.15);
  border-color: rgba(255, 255, 0, 0.3);
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(13, 115, 119, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form {
  background: rgba(13, 115, 119, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(4, 35, 38, 0.7);
  color: var(--text);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-item {
  display: flex;
  align-items: center;
}

.radio-item input {
  margin-right: 10px;
}

/* Footer */
footer {
  padding: 60px 0 30px;
  background-color: var(--dark);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .navbar {
    padding: 15px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 80px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.burger {
  width: 30px;
  height: 3px;
  background-color: var(--text);
  position: relative;
  transition: all 0.3s ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.burger::before {
  transform: translateY(-10px);
}

.burger::after {
  transform: translateY(10px);
}

/* Mobile Menu Open States */
.mobile-nav-open .burger {
  background-color: transparent;
}

.mobile-nav-open .burger::before {
  transform: rotate(45deg);
}

.mobile-nav-open .burger::after {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: all 0.5s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
  }
}

/* scrollbar site */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* dstnv view page  */

.project-glass {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

.glass-card {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}


.project-details {
  color: #f1f1f1;
  
}

.gradient-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ff5f6d, #ffc371);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-align: center;
}

.section-subtitle {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #ffffff;
  border-left: 4px solid #ffc371;
  padding-left: 0.5rem;
}

.text-highlight {
  color: #ffc371;
  font-weight: bold;
}

.info-list,
.bullet-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #cccccc;
  margin-top: 2rem;
  border-left: 4px solid #ff5f6d;
  padding-left: 1rem;
}

.project-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #bbbbbb;
  text-align: center;
}

.project-note a {
  color: #ffc371;
  text-decoration: underline;
}

.project-mosaic {
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.project-mosaic:hover {
  transform: scale(1.01);
}
.project-screens {
  text-align: center;
  padding: 2rem 1rem;
}

.title_dsntv_page {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.title-front {
  color: #bcb9f4;
  z-index: 2;
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 1rem;
}


