/* =============================
   RESET + BASE
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
}
html {
  scroll-behavior: smooth;
}

body {
  color: #000;
  background-color: #fff;
  line-height: 1.6;
}

/* =============================
   NAVBAR
============================= */
/* ======== NAVBAR GLOBALE ======== */
.navbar {
  display: flex;
  justify-content: space-between; /* logo à gauche, contact à droite */
  align-items: center;
  padding: 10px 60px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

/* ======== LOGO ======== */
.logo img {
  height: 80px;
  width: auto;
  border-radius: 12px;
}

/* ======== LIENS DE NAVIGATION ======== */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center; /* liens centrés */
  align-items: center;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #c478ff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000;
}

/* ======== CONTACT À DROITE ======== */
.nav-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
padding-left: 20px;
  gap: 6px;
}

.phone {
  font-weight: 600;
  font-size: 1.1rem;
  color: #c478ff
}

/* ======== BOUTON EMAIL ======== */
.nav-links .email {
  background-color: #c478ff;
  color: #fff; /* correction du texte illisible */
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 3px;
  transition: 0.3s;
}

.email:hover {
  background-color: #a244ff;
}

/* ======== RÉSEAUX SOCIAUX ======== */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-links a {
  font-size: 22px;
  color: #999;
  transition: all 0.3s ease;
}

.social-links a.instagram:hover {
  color: #E1306C;
  transform: scale(1.2);
}

.social-links a.facebook:hover {
  color: #1877F2;
  transform: scale(1.2);
}

/* ======== BOUTON BURGER (MOBILE UNIQUEMENT) ======== */
.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .burger {
    display: block;
    z-index: 110;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
  }

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

  .nav-contact {
    align-items: center;
    text-align: center;
  }

  body.menu-open {
    overflow: hidden;
  }
}



/* =============================
   HERO SECTION
============================= */
.hero {
  min-height: 100vh;
  background-image: url("/image/over.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.overlay {
  background: rgba(255, 255, 255, 0.85); /* blanc semi-transparent */
  border-radius: 60px;                   /* angles arrondis */
  padding: 40px 60px;                    /* marges internes */
  text-align: center;                    /* texte centré */
  backdrop-filter: blur(6px);            /* effet de flou derrière */
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);/* petite ombre douce */
  max-width: 800px;                      /* largeur max */
  margin: 80px auto;
}

.overlay h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
}

.overlay p {
  font-size: 1rem;
  color: #333;
}

/* =============================
   SECTION "LE TRUCK"
============================= */
#letruck {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 100px 20px;
}


.intro p{
    font-size: 1.3rem;
width: 1000px;
}

#letruck span{
    color: #c478ff;
}

#letruck h1 {
  font-size: 7rem;
  color: #c478ff;
  text-align: center;
}

.truck-box {
  display: flex;
  background-color: #f1f1f1;
  color: #000;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,0.1);
  max-width: 1200px;
  width: 100%;
  min-height: 400px;
  border-radius: 16px;
  flex-wrap: wrap;
}

/* === Partie formulaire === */
.form-section {
  flex: 1 1 400px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-section p {
  font-size: 1.3rem;
}

.form-section h2 {
  font-size: 2rem;
  color: #c478ff;
  margin-bottom: 20px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: 500;
}

input,
textarea {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: #c478ff;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background-color: #c478ff;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  justify-items: center;
  
}


button:hover {
  background-color: #c478ff;
}

/* === Partie image === */
.image-section {
  flex: 1 1 400px;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =============================
   SECTION CONTACT
============================= */
#contact {
  background-color: #1c1c1c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  color: #000;
  overflow: hidden;
  border-radius: 16px;
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

/* =============================
   PROFIL / GALERIE
============================= */



.profile {
  max-width: 900px;
  margin: 40px auto;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 40px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.username {
  font-size: 1.5rem;
  font-weight: 600;
}

.follow-btn {
  background-color: #2135e6;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.follow-btn:hover {
  background-color: #ff0000;
}

.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 10px 0;
}

.bio {
  font-size: 0.9rem;
  line-height: 1.5;
}

.gallery {
  max-width: 900px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

/* =============================
   BOUTON FLOTTANT
============================= */
.contact-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(90deg, #6a00ff, #b100ff);
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.contact-button:hover {
  transform: scale(1.05);
}


/* ===== FOOTER ===== */
.footer {
  background-color: #f5f5f5;
  color: #333;
  padding: 60px 20px 20px;
  font-family: 'Quicksand', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about img {
  width: 90px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.footer h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c478ff; /* Rose poudré / couleur douce */
}

.footer-contact p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: #c478ff;
  margin-right: 8px;
}

.footer-social .social-icons a {
  display: inline-block;
  font-size: 1.4rem;
  margin-right: 10px;
  color: #555;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #c478ff;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.footer-bottom a {
  color: #c478ff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

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

  .footer-about img {
    margin: 0 auto 15px;
  }

  .footer-social .social-icons {
    justify-content: center;
  }

  .image-section img {
  width: 100%;
  height: 110%;
  object-fit: cover;
}

}

/* =============================
   RESPONSIVE DESIGN
============================= */

/* Tablette */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .intro p{
    font-size: 1.2rem;
width: 100%;
}


  .truck-box,
  .contact-box {
    flex-direction: column;
   
  }
}

/* Mobile */
@media (max-width: 768px) {
  .overlay {
    padding: 25px;
    width: 90%;
  }

  .overlay h1 {
    font-size: 1.5rem;
  }

  #letruck h1 {
    font-size: 5.5rem;
  }

  .profile,
  .gallery {
    width: 90%;
  }

  .contact-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
  }
}
@media (max-width: 900px) {
  .burger {
    display: block;
    z-index: 110;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
  }

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

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

  body.menu-open {
    overflow: hidden; /* bloque le scroll quand menu ouvert */
  }
}

