* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  line-height: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* HERO */

.hero-location {
  min-height: 100svh;
  padding: 0 10%;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
    linear-gradient(to bottom, rgba(0,0,0,0.2) 50%, rgba(0,0,0,1) 100%),
    url("../img/services/lumiere.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 850px;
}

.mini-title {
  color: #86A5FF;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-content h1 {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 25px;
  font-weight: 500;
}

.hero-content p {
  font-size: 20px;
  max-width: 720px;
  font-weight: 200;
  margin-bottom: 35px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid white;
  font-weight: 300;
  transition: 0.3s;
}

.hero-btn:hover {
  background: white;
  color: black;
}

/* SECTIONS */

.intro-location,
.categories,
.details-location,
.process-location {
  padding: 80px 10%;
  text-align: center;
}

h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 0 auto 40px auto;
  border-bottom: 1px solid #86A5FF;
  width: fit-content;
}

/* INTRO */

.intro-box {
  max-width: 950px;
  margin: auto;
  padding: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
}

.intro-box p {
  font-weight: 200;
  line-height: 1.8;
}

/* CATÉGORIES */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.categorie-card {
  min-height: 320px;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(134,165,255,0.35);
  display: flex;
  align-items: flex-end;
  text-align: left;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.categorie-card:hover {
  transform: translateY(-6px);
  border-color: white;
}

.categorie-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}

.categorie-card > div {
  position: relative;
  z-index: 2;
}

.categorie-card span {
  color: #86A5FF;
  letter-spacing: 3px;
  font-size: 14px;
}

.categorie-card h3 {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
  margin: 15px 0;
}

.categorie-card p {
  font-weight: 200;
  line-height: 1.6;
}

.audiovisuel {
  background-image: url("../img/services/video.jpg");
}

.sonorisation {
  background-image: url("../img/services/son.jpg");
}

.lightshow {
  background-image: url("../img/services/lumiere.jpg");
}

.djing {
  background-image: url("../img/services/dj.jpg");
}

/* CATALOGUE ACCORDÉON */

.btn-reserver {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  border: 1px solid #86A5FF;
  color: white;
  font-weight: 300;
  transition: 0.3s;
  border-radius: 10px;
}

.btn-reserver:hover {
  background: #86A5FF;
  color: black;
}

.details-location {
  padding: 80px 10%;
}

.accordion-item {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.accordion-header {
  width: 100%;
  padding: 25px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}

.accordion-header span {
  font-size: 30px;
  color: #86A5FF;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header span {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 3000px;
}

.materiel-card {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.materiel-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.materiel-card h4 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.materiel-card p {
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
/* RESERVATION GROUPEE */

.total-location {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 20px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 10px;
    font-size: 22px;
    text-align: center;
}

#totalPrix {
    color: #86A5FF;
    font-weight: 600;
}

.reservation-groupee {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-reserver-groupe {
    padding: 14px 28px;
    border: 1px solid #86A5FF;
    border-radius: 12px;
    color: white;
    transition: .3s;
}

.btn-reserver-groupe:hover {
    background: #86A5FF;
    color: black;
}

/* RESERVATION */

input#quantite{
  margin-bottom: 0;
}

.calendar-day {
  flex-direction: column;
  gap: 2px;
}

.calendar-day small {
  font-size: 10px;
  opacity: 0.8;
}

.calendar-day.partiellement-dispo {
  background: rgba(255,165,0,0.8);
  color: black;
}
.reservation-page {
  padding: 120px 10% 80px;
  max-width: 1000px;
  margin: auto;
}

.reservation-image {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  background: #111;
  border-radius: 16px;
  margin-bottom: 30px;
}

.prix {
  color: #86A5FF;
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0;
}

.caracteristiques,
.dates-indispo,
.form-reservation {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

.dates-indispo ul {
  list-style: none;
  padding: 0;
}

.dates-indispo li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.form-reservation form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-reservation .ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-reservation .champ {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-reservation input,
.form-reservation textarea {
  resize: none;
  width: 100%;
  padding: 14px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-family: inherit;
  border-radius: 8px;
}

.form-reservation button {
  width: fit-content;
  padding: 14px 30px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
}

.success {
  color: #7CFF8A;
  margin-bottom: 20px;
}

.error {
  color: #FF7070;
  margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
  .reservation-page {
    padding: 100px 8% 60px;
  }

  .form-reservation .ligne {
    grid-template-columns: 1fr;
  }

  .caracteristiques,
  .dates-indispo,
  .form-reservation {
    padding: 20px;
  }
}

.calendrier-location {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header a {
  font-size: 40px;
  color: white;
  text-decoration: none;
}

.calendar-header h2 {
  border-bottom: none;
  margin: 0;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 25px 0;
  flex-wrap: wrap;
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.calendar-legend .libre {
  background: rgba(255,255,255,0.15);
}

.calendar-legend .en_attente {
  background: orange;
}

.calendar-legend .confirmee {
  background: #ff4d4d;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-name {
  text-align: center;
  color: #86A5FF;
  font-weight: 400;
}

.calendar-day {
  min-height: 55px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-day.en_attente {
  background: rgba(255,165,0,0.8);
  color: black;
}

.calendar-day.confirmee {
  background: rgba(255,77,77,0.85);
  color: white;
}

.calendar-day.empty {
  background: transparent;
}

@media screen and (max-width: 600px) {
  .calendrier-location {
    padding: 18px;
  }

  .calendar-day {
    min-height: 38px;
    font-size: 13px;
  }

  .calendar-header h2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .reservation-page {
    padding: 100px 8% 60px;
  }

  .reservation-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
  }

  .reservation-page h1 {
    font-size: 32px;
    line-height: 1.1;
    text-align: center;
  }

  .prix {
    text-align: center;
    font-size: 20px;
  }

  .caracteristiques,
  .calendrier-location,
  .form-reservation {
    padding: 20px;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 38px;
    font-size: 13px;
    border-radius: 8px;
  }

  .day-name {
    font-size: 12px;
  }

  .calendar-header h2 {
    font-size: 20px;
  }

  .calendar-header a {
    font-size: 32px;
  }

  .calendar-legend {
    gap: 12px;
    font-size: 12px;
  }

  .form-reservation .ligne {
    grid-template-columns: 1fr;
  }

  .form-reservation input,
  .form-reservation select,
  .form-reservation textarea {
    font-size: 16px;
  }

  .form-reservation button {
    width: 100%;
  }
}

@media screen and (max-width: 380px) {
  .reservation-page h1 {
    font-size: 26px;
  }

  .calendar-day {
    min-height: 32px;
    font-size: 12px;
  }

  .calendar-legend {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.process-grid div {
  padding: 30px;
  border: 1px solid rgba(134,165,255,0.25);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  text-align: left;
}

.process-grid span {
  color: #86A5FF;
  letter-spacing: 3px;
  font-size: 14px;
}

.process-grid h3 {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
  margin: 15px 0;
}

.process-grid p {
  font-weight: 200;
  line-height: 1.6;
}

/* CTA */

.cta-location {
  padding: 90px 10%;
  background: #000145;
  text-align: center;
}

.cta-location h2 {
  border-bottom: none;
}

.cta-location a {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid white;
  font-weight: 300;
  transition: 0.3s;
}

.cta-location a:hover {
  background: white;
  color: black;
}

/* RESPONSIVE */

@media screen and (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 56px;
  }
}

@media screen and (max-width: 700px) {
  .hero-location {
    padding: 120px 8% 60px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .intro-location,
  .categories,
  .details-location,
  .process-location {
    padding: 60px 8%;
  }

  h2 {
    font-size: 26px;
  }

  .categories-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .intro-box {
    padding: 30px;
  }

  .categorie-card {
    min-height: 230px;
  }

  .accordion-header {
    font-size: 18px;
    padding: 20px;
  }

  .materiel-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .materiel-card h4 {
    font-size: 18px;
  }
}

@media screen and (max-width: 380px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .mini-title {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-btn,
  .cta-location a {
    padding: 12px 24px;
    font-size: 13px;
  }
}

/*---------------- PARTIE CONTACT ----------------*/

    #contact{
        padding: 5% 10%;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        p {
          font-size: 20px;
        }
        p:not(form p){
            text-align: center;
        }
        form{
            background-color: #161616;
            margin-top: 5%;
            border-radius: 10px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 5% 10%;
            }
              
              .ligne {
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
                justify-content: space-between;
              }
              
              .champ {
                flex: 1;
                display: flex;
                flex-direction: column;
              }
              
              .champ label {
                margin-bottom: 0.5rem;
                font-weight: 300;
              }
              
              input, textarea {
                padding: 0.75rem;
                border-radius: 5px;
                border: none;
                font-size: 1rem;
                font-family: inherit;
                color: #000;
              }
              
              textarea {
                resize: none;
              }
              
              .conteneur-bouton {
                text-align: center;
              }
              
              button {
                padding: 0.75rem 2rem;
                font-size: 1rem;
                background-color: white;
                color: black;
                border: none;
                border-radius: 8px;
                cursor: pointer;
              }
    } 

@media screen and (max-width: 1280px) {
  #contact p {
    font-size: 13px;
  }
  .champ label {
    font-size: 13px;
  }
}