
* {
  box-sizing: border-box;
}

.header {
  background-color: #ffffff;
  opacity: 0.9;
  padding:15px 40px;
  text-align: center;
  font-weight: bold;
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-size: auto;
  font-style: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; 
}

.header img {
  height: 150px;
}

.logo {
  height: 150px;
}

body {
  line-height: 1;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex:1;
  width: 100%;
  overflow-x: hidden;
}

footer {
  text-align: center;
  font-size: 18px;
  padding: 2px 30px;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color:#6c7f57;
  width: 100%;
  margin-bottom: 100px;
}

/* FORMULAIRE DE CONTACT */
.contact-form { 
    max-width: 1000px; 
    margin: 60px auto; 
    padding: 50px 60px; 
    background: #ffffff; 
    border-radius: 30px; 
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.3); 
} 

.contact-form h3 { 
    text-align: center; 
    font-family: "Dancing Script", cursive; 
    font-size: 32px; 
    color: #6c7f57; 
    margin-bottom: 10px; 
} 

.contact-form p { 
    text-align: center; 
    color: #777; 
    margin-bottom: 35px; 
    font-family: "Montserrat", sans-serif; 
} 

/* Grid sur le formulaire directement */
.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Les champs qui doivent prendre toute la largeur */
.form-group:nth-child(5),  /* Type de séance */
.form-group:nth-child(6),  /* Date souhaitée */
.form-group:nth-child(7),  /* Message */
.submit-btn {
    grid-column: 1 / -1;
}
    
.form-group { 
    display: flex;
    flex-direction: column;
} 

.form-group label { 
    display: block; 
    font-weight: 800; 
    margin-bottom: 8px; 
    color: #4b4b4b; 
    font-family: "Montserrat", sans-serif;
} 
    
.form-group input, 
.form-group textarea, 
.form-group select { 
    width: 100%; 
    padding: 14px 16px; 
    border: 1.5px solid #ccd5c2; 
    border-radius: 10px; 
    font-size: 15px; 
    font-family: "Montserrat", sans-serif; 
    background: #fdfdfd; 
    transition: all 0.3s ease; 
} 
    
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus { 
    outline: none; 
    border-color: #7a8b73; 
    background: #f7faf5; 
    box-shadow: 0 0 0 4px rgba(122, 139, 115, 0.15); 
} 
    
.form-group textarea { 
    resize: vertical; 
    min-height: 120px; 
} 
    
.submit-btn { 
    width: 100%; 
    padding: 16px; 
    background: linear-gradient(135deg, #a1b391 0%, #7a8b73 100%); 
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-size: 17px; 
    font-weight: 600; 
    font-family: "Montserrat", sans-serif; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 5px 20px rgba(122, 139, 115, 0.3); 
} 
    
.submit-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(122, 139, 115, 0.4); 
    background: linear-gradient(135deg, #9fb08f 0%, #6e7f69 100%);
}
    
/* BANNIÈRE */

.banner {
    background: #85987A;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    } 
    
.banner-title { 
    font-family: "Dancing Script", cursive; 
    font-size: 60px; 
    font-weight: 300; 
    color: #ffffff; 
    margin: 0 0 30px; 
    letter-spacing: 2px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    animation: fadeInDown 3s ease-out; 
}
    
.banner-description { 
    max-width: 900px; 
    margin: 0 auto 40px; 
    font-family: "Bodoni Moda", serif; 
    font-size: 20px; 
    font-weight: 500; 
    color: 000; 
    line-height: 1.8; 
    letter-spacing: 0.5px; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); } 
    
.banner-subtitle { 
    font-family: "Montserrat", sans-serif; 
    font-size: 20px; 
    font-style: italic; 
    color: #ffffff; 
    margin-bottom: 30px; 
    line-height: 1.6; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    } 
    
.portrait-types { 
    margin-top: 30px; 
    } 
    
.portrait-types p { 
    font-family: "Bodoni Moda", serif; 
    font-size: 16px; 
    font-weight: 500; 
    color: #000; 
    line-height: 1.8; 
    letter-spacing: 0.5px; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); 
    margin-bottom: 20px; } 
    
.highlight { 
    font-weight: 700; 
    letter-spacing: 1px; } 
    
.banner-ctas { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; gap: 20px; 
    margin-top: 40px;
    } 
    
.banner-cta, .banner-cta-second { 
    display: inline-block; 
    padding: 15px 35px; 
    background-color: #d39f73; 
    color: #ffffff; 
    font-family: "Montserrat", sans-serif; 
    font-weight: 700; 
    font-size: 16px; 
    letter-spacing: 1px; 
    text-decoration: none; 
    border-radius: 30px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease; 
    animation: fadeInUp 3s ease-out both; } 
    
.banner-cta:hover, .banner-cta-second:hover { 
    background-color: #c28f63; 
    transform: translateY(-30px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* PAGE ACCÈS PRIVÉ */

.private-access {
  background-color: #84987a;
  font-family: "Montserrat", sans-serif;
  color: #4a4a4a;
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}

.access-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  border: 1px solid #6c7f57;
  border-radius: 30px;
  background-color: #ffffff;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.3);
  align-items: stretch;
  overflow: hidden;
}

.access-left, .access-right, .acces-admin {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #6b8e6e;
  font-family: "Dancing Script", cursive;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
  font-weight: 600;
}

form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccd5c2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

form input:focus {
  outline: none !important;
  border-color: #7a8b73 !important;
  background: #f7faf5 !important;
  box-shadow: 0 0 0 4px rgba(122, 139, 115, 0.15) !important;
}

.form-link {
  color: #d39f73;
  font-family: "Montserrat", sans-serif;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.5rem;
  display: inline-block;
}

.form-link:hover {
  color: #d39f73;
}

form button {
  border: none;
  padding: 15px 40px;
  cursor: pointer;
  background: linear-gradient(135deg, #a1b391 0%, #7a8b73 100%);
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 30px;
  font-size: 18px;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 0.5rem;
}

form button:hover {
  background: linear-gradient(135deg, #8ea07e 0%, #6c7f57 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

form button:focus {
  outline: 2px solid #6b8e6e;
  outline-offset: 3px;
}

.contact-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #a1b391 0%, #7a8b73 100%);
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  align-self: flex-start;
}

.contact-button:hover {
  background: linear-gradient(135deg, #8ea07e 0%, #6c7f57 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* GALLERIE MARIAGE et PORTRAIT */

.gallery-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.gallery-grid {
  column-count: 3;
  column-gap: 20px;
}

@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 600px) {
  .gallery-grid { column-count: 1; }
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: filter 0.4s ease;
  filter: none;
}


.gallery-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
  filter: brightness(1.05); 
}


/* SLIDE */

.carousel-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
  width: 100%;
  box-sizing: border-box;
}

.carousel-slide {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide 35s linear infinite;
}

.slide {
  flex: 0 0 300px;
  height: 350px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



/* BURGER MENU */

#burgerMenu {
  position: fixed;
  top: -5px;
  left: 5px;
  height: auto;
  width: auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  padding: 1rem 1.5rem;
  border-radius: 0  0 25px 25px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 3s ease;
  z-index: 3000;
  text-decoration: none !important;
}

#burgerMenu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#burgerMenu ul {
  flex-direction: row;
  display: flex;
  list-style: none; 
  text-decoration: none !important;
  padding: 0;
  margin: 0;
  gap: 20px;
  align-items: center;
}

#burgerMenu li {
  margin-bottom: 0;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInFromRight 0.6s ease forwards;
}

#burgerMenu.show li:nth-child(1) { animation-delay: 0.5s; }
#burgerMenu.show li:nth-child(2) { animation-delay: 1s; }
#burgerMenu.show li:nth-child(3) { animation-delay: 1.5s; }
#burgerMenu.show li:nth-child(4) { animation-delay: 2s; }
#burgerMenu.show li:nth-child(5) { animation-delay: 2.5s; }

@keyframes slideInFromRight { 
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#burgerMenu a {
  text-decoration: none !important;
  color: black;
  display: block;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

#burgerMenu a:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  border-bottom: 3px solid #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bouton burger */

#burgerToggle {
  width: auto;
  height: auto;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 15px;
  z-index: 3100;
  display: none;
  outline: none;
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
}
#burgerToggle img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
/* Responsive mobile */
@media screen and (max-width: 930px) {
.header {
    display: none !important;
  }

  #burgerToggle {
    display: block !important;
  }
}


.banner-title {
  font-size: 48px;
  }
.banner-subtitle {
  font-size: 18px;
}
.banner-description p {
  font-size: 16px;
}

.carousel-container {
  padding: 10px;
}
.slide {
  width: 300px;
  height: auto;
}
#burgerMenu {
  right: 0;
  width: 80px;
  height: 200px;
}

#burgerMenu ul {
  flex-direction: row;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 20px auto;
}

.access-container {
  gap: 4rem;
  padding: 3rem;
  margin-top: 80px;
}

.access-left, .access-right {
  padding: 1rem;
}


h2 {
  font-size: 1.5rem;
}

footer {
  font-size: 16px;
  padding: 2px 15px;
}
}
/* RESPONSIVE TABLETTE */

@media screen and (min-width: 769px) and (max-width: 930px) {
  .banner-title {
    font-size: 28px;
  }
  
  .banner-subtitle {
    font-size: 20px;
  }
  
  .banner {
    padding: 35px 25px;
  }
  
  .header {
    gap: 20px;
    padding: 15px 20px;
  }
  
  .header img {
    height: 100px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media screen and (min-width: 931px) {
  .header {
    display: flex !important;
    } 

  #burgerToggle {
    display: none !important;
  }

  #burgerMenu {
    display: none !important;
  }
}


