/*
Theme Name: Villa Saint-Paul-en-Forêt
Theme URI: https://www.villasaintpaulenforet.fr/
Author: calendrify.net
Description: Thème pour la Villa Saint-Paul-en-Forêt.
Version: 1
Requires PHP: 8.0
Text Domain: villasaintpaul
*/

/* RESET */
body, h1, h2, h3, p, a{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #F1F5F2;
}

/* HEADER */
header {
    /*background-color: #2f5d50;*/
    color: white;
    padding-top: 3px;
    /*opacity: 0.8;*/
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

header .header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo{
    padding-top: 15px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

header .logo a:visited {
    color: inherit;
}

header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

header nav ul li a {
    color: white;
    font-size: 1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #E6F4F1;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #000;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.99);
        flex-direction: column;
        justify-content: center;
        text-align: center;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 30px;
        color: white;
        z-index: 1001;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li {
        margin: 20px 0;
    }

    .nav-list a {
        color: white;
        text-decoration: none;
        font-size: 24px;
    }
}

.header-hero-bg {
    height: 100vh;
    max-width: 1500px;
    margin: 0 auto;
    background: url('https://villasaintpaulenforet.fr/wp-content/themes/villasaintpaul/assets/main.webp');
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
}

@media screen and (min-width: 1200px) {
    .header-hero-bg {
        height: 120vh;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    color: #fff;
    text-align: center;
    padding: 150px 20px 0px;
}

/* Style du bouton */
.btn-rdv {
    margin-top:10px;
    display: inline-block;
    background-color: white;
    color: #76B8A1;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid #76B8A1;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-rdv:hover {
    background-color: #A7D7C5;
    color: white;
    transform: scale(1.05);
}

.btn-rdv:active {
    transform: scale(1);
}

.hero-text h1, .hero-text p {
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.main{
    max-width: 1500px;
    margin: 0 auto;
}

/* ===========================================*/
/* Section détails de la maison */
/* ===========================================*/
/* Enlever tout espace entre les sections */
.house-details {
  margin: 0;
  padding: 50px 0;
  background-color: #F4F4F4;
  border-top: 2px solid #b89b5e;
}

/* Contenu centré et élégant */
.content-wrapper {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* Titre principal */
.house-details h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2f4f4f;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grille des cartes */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Style des cartes */
.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #b89b5e;
}

/* Effet hover sur les cartes */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Titres des cartes */
.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2f4f4f;
}

/* Liste des équipements */
.card ul {
  list-style: none;
  padding: 0;
}

/* Élément de liste */
.card li {
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333;
}

/* Icônes */
.card li i {
  font-size: 1.4rem;
  margin-right: 10px;
  color: #A7D7C5;
}

/* Responsive */
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .house-details h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}

/* ===========================================*/
/* Section iframe */
/* ===========================================*/

iframe {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

/* ===========================================*/
/* Section info au desssus des avis*/
/* ===========================================*/
.info-house {
  background-color: #F4F8F4;
  padding: 25px 20px 10px;
  color: #333;
}

.info-house-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.info-house-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #76B8A1;
  margin-bottom: 30px;
}

.info-house-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-more-info {
  background-color: #A7D7C5;
  padding: 12px 30px;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.btn-more-info:hover {
  background-color: #92C8A2;
}

@media (max-width: 768px) {
  .info-house-container {
    padding: 20px;
  }
  .info-house-title {
    font-size: 2rem;
  }
  .info-house-description {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}

/* ===========================================*/
/* Section avis au desssus footer*/
/* ===========================================*/
.reviews {
  background-color: #f8f8f8;
  padding: 40px 0;
  text-align: center;
}

.reviews-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: bold;
}

.reviews-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.review:hover {
  transform: translateY(-10px);
}

.review-text {
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
}

.review-author {
  font-size: 1rem;
  color: #A7D7C5;
  font-weight: bold;
}

.reviews-footer {
  margin-top: 30px;
}

.reviews-footer p {
  font-size: 1.2rem;
  color: #333;
}

.btn-review {
  background-color: #A7D7C5;
  padding: 12px 25px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block; 
}

.btn-review:hover {
  background-color: #92c8a2;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .reviews-container {
    grid-template-columns: 1fr;
  }
}


/* ===========================================*/
/* Footer*/
/* ===========================================*/

footer{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #202e38;
}

.footer-container a{
    color: #3C8D80;
    text-decoration: none;
}


/* ===========================================*/
/* Calendrier bootstrap*/
/* ===========================================*/
.ui-datepicker{
    border : none !important;
    box-shadow: 0 0 8px #3C8D80 !important;
    min-width: 400px !important;
}

@media screen and (max-width: 420px) {
    .ui-datepicker{
        min-width: unset !important;
    }
    
    body .ea-bootstrap {
        margin: auto !important;
    }
}

.ui-datepicker .ui-datepicker-current-day {
  background-color: #3C8D80 !important;
}

.ui-datepicker .ui-datepicker-current-day a {
  color: white !important;
}

.ea-bootstrap a {
  color: #3C8D80 !important;
}

.ui-datepicker-week-end {
    display: none !important;
}

.ui-datepicker .ui-datepicker-calendar {
  table-layout: auto !important;
}

.ea-bootstrap .ui-datepicker .no-slots a {
  color: #fff !important;
}

.ea-bootstrap .ui-datepicker .busy a {
  color: #fff !important;
}

.ea-bootstrap.ea-bootstrap .selected-time, .ea-bootstrap.ea-bootstrap .selected-time:hover {
  background-color: #3C8D80!important;
  color: white !important;
}

.ea-bootstrap .time-disabled {
    visibility: collapse !important;
}

.ea-bootstrap .btn-primary {
  color: #fff !important;
  background-color: #3C8D80 !important;
}

.ea-bootstrap .btn-primary:hover {
  color: #fff !important;
  background-color: #2f5d50 !important;
}