/* ==================================
   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;
    min-width: 0;
}



.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;

}


.booking-info {
    margin-top: 15px; /* espace entre la case et le texte */
}



/* ==================================
   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;

}



}

/* ==================================
   CHAMP DATE — IPHONE / MOBILE
================================== */

.form-group input[type="date"] {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 48px;
    margin: 0;
    padding: 10px 50px 10px 14px;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: normal;

    color: #ffffff;
    background-color: #181818;

    border: 1px solid #333;
    border-radius: 10px;

    /* On désactive le rendu natif */
    -webkit-appearance: none;
    appearance: none;

    color-scheme: dark;

    /* Notre seule icône calendrier */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px 20px;
}


/* Texte de la date centré sur iPhone */

.form-group input[type="date"]::-webkit-date-and-time-value {
    text-align: center;
}


/* Cache l'icône native Safari */

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
}


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

@media screen and (max-width: 768px) {

    .reservation-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

}