/* ==================================
   MOOREA ATV FUN TOURS
   RESERVATION PAGE CSS
================================== */


/* RESET */

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


body {

    font-family: 'Poppins', sans-serif;
    background: #0b0b0b;
    color: #ffffff;

}



.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}



/* ==================================
   HEADER
================================== */


.header {

    background:
    linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.75)
    );

    padding: 70px 20px;

    text-align: center;

}



.header h1 {

    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #d4af37;

}



.header p {

    margin-top: 15px;

    font-size: 20px;

    color: #ffffff;

}



/* ==================================
   SECTION
================================== */


.reservation-section {

    padding: 80px 0;

}



.eyebrow {

    display: block;

    text-align: center;

    color: #d4af37;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 15px;

}



.section-title {

    text-align: center;

    font-size: 38px;

    margin-bottom: 50px;

}



.gold {

    color: #d4af37;

}



/* ==================================
   BOX RESERVATION
================================== */


.reservation-box {

    background: #151515;

    padding: 45px;

    border-radius: 20px;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.5);

}




/* ==================================
   INTRO
================================== */


.reservation-intro {

    text-align: center;

    margin-bottom: 40px;

}



.reservation-intro h3 {

    font-size: 28px;

    color: #d4af37;

    margin-bottom: 15px;

}



.reservation-intro p {

    color: #cccccc;

    line-height: 1.7;

}



.reservation-icon {

    font-size: 45px;

    color: #d4af37;

    margin-bottom: 15px;

}



/* ==================================
   FORMULAIRE
================================== */


.form-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

}



.form-group {

    margin-bottom: 25px;

}



.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #d4af37;

    font-weight: 600;

}



input,
select,
textarea {


    width: 100%;

    padding: 15px;

    border-radius: 10px;

    border: 1px solid #333;

    background: #0f0f0f;

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 15px;


}



input:focus,
select:focus,
textarea:focus {


    outline: none;

    border-color: #d4af37;

}




textarea {

    resize: vertical;

}


/* ==================================
CHECKBOX — RÉSERVATION
================================== */

.booking-confirm {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: #cccccc;
  line-height: 1.5;
  font-size: 14px;

  text-align: left;
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;

  margin-top: 5px;

  accent-color: #d4af37;
  cursor: pointer;
}

.checkbox a {
  color: #d4af37;
  text-decoration: underline;
}

.checkbox a:hover {
  color: #ffffff;
}

.checkbox strong {
  color: #d4af37;
}




/* ==================================
   BUTTON
================================== */


.booking-btn {


    width: 100%;

    padding: 18px;

    margin-top: 15px;

    border: none;

    border-radius: 50px;


    background: #d4af37;

    color: #000;

    font-size: 18px;

    font-weight: 700;


    cursor: pointer;

    transition: 0.3s;


}



.booking-btn:hover {


    background: #ffffff;

    transform: translateY(-3px);


}



/* ==================================
   NOTE
================================== */


.booking-note {


    text-align: center;

    margin-top: 25px;

    color: #cccccc;

    font-size: 14px;

}




/* ==================================
   MOBILE
================================== */


@media(max-width:768px){


.header h1 {

    font-size: 28px;

}



.header p {

    font-size: 16px;

}



.section-title {

    font-size: 28px;

}



.reservation-box {

    padding: 25px;

}



.form-grid {

    grid-template-columns: 1fr;

}



}

/* ==================================
   FIX LARGEUR iPHONE — CHAMP DATE
================================== */

input[type="date"] {
    width: 100%;
    max-width: 100%;
    height: 48px;
    padding: 0 12px;
    line-height: 48px;
    box-sizing: border-box;
    overflow: hidden; /* Empêche le dépassement */
    color: #ffffff;
    color-scheme: dark;
}

/* Supprime le padding interne imposé par WebKit */
input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

/* Stabilise l’icône calendrier */
input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0;
    padding: 0;
    width: 20px;      /* Empêche l’icône de pousser le champ */
    height: 20px;
    cursor: pointer;
}
