body{margin:0;font-family:Poppins,sans-serif;color:#222}

#menu-btn {
  position:fixed;
top:10px;
right:10px;
font-size:24px;
color:white;
background:#00AEC5;
padding:5px 12px;
border-radius:8px;
border:1px solid #FFF;
cursor:pointer;
z-index:990;
}

#side-menu {
  position: fixed;
  right: -220px;
  top: 0;
  height: 100%;
  width: 200px;
  background: #00AEC5;
  transition: right 0.5s;
  padding-top: 60px;
  z-index:990;
}

#side-menu.open {
  right: 0;
}

#side-menu ul {
  list-style: none;
  padding: 0;
}

#side-menu li {
  margin: 20px;
}

#side-menu a {
  color: #DDD;
  text-decoration: none;
  width: 200px;

}
#side-menu a:hover {
  color: #FFF;
}

.menu.active{right:0}

header{
height:70vh;
/*background:url('https://picsum.photos/1600/900?grayscale') center/cover;*/
background:url('/images/cameraman-mariage-paris.jpg') center/cover;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
color:white;
text-align:center;
background-color:rgba(0,0,0,0.6);
background-blend-mode:overlay;
}

section{padding:20px 20px;max-width:1200px;margin:auto}

h1, h2{
  text-align:center;
  margin-bottom:10px;
  color:#00AEC5;
}





/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index:991;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* NAVIGATION */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    z-index:992;
}

.prev { left: 20px; }
.next { right: 20px; }

.nav:hover { color: #ff6600; }

.close {
    color: #ff6600;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    z-index:9999;
}

.social img {
  width:36px;
  height:36px;
}

form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:10px;
}

input, textarea{
padding:10px;
border-radius:5px;
border:1px solid #ccc;
}

button, .button {
  text-align:center;
  margin-top:10px;
  padding:12px;
  background:#ff6600;
  color:white;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

/* ACCORDION */
.accordion {
    max-width: 700px;
    margin: auto;
}
.itemaccordion {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

/* TITRE */
.titleaccordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background:#00AEC5;
}

/* ICON */
.iconaccordion {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.itemaccordion.active .iconaccordion {
    transform: rotate(45deg);
}

/* CONTENT */
.contentaccordion {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    padding: 0 16px;
}

.itemaccordion.active .contentaccordion {
    opacity: 1;
    padding-bottom: 15px;
}

.contentaccordion p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}




.galleryphoto, .galleryvideo { 
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:10px;
  justify-content: center;
}

.galleryphoto img, .video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}
.galleryphoto img:hover, .video-thumb:hover {
  transform: scale(1.05);
}


.photo {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.4s;
}

.photo.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

.photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.photo:hover img { transform: scale(1.1); }

.video-thumb {
  flex: 1 1 200px;
  max-width: 200px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}


.video-thumb img.loaded {
  opacity: 1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-thumb:hover .play-btn,
.video-thumb:active .play-btn {
  transform: translate(-50%, -50%) scale(1.2);
  background: rgba(255,255,255,0.8);
  color: #000;
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.overlay {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 991;
}

.video-frame {
  width: 99%;
  max-width: 1000px;
  height: 50vw;
  max-height: 600px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: red;
  color: white;
  border: none;
  font-size: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}


  

footer{
background:#222;
color:white;
text-align:center;
padding:20px;
}
footer a {
  color:white;
}
.footerlarge {
  background:#000;
  max-width:100%;
}

.footer-container {
  background:#000;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:30px;
  max-width:1200px;
  margin:auto;
}

.footer-column h3 {
  font-size: 12px;
  margin-bottom:10px;
}

.footer-column a {
  display:block;           /* IMPORTANT → vertical */
  color:#ccc;
  text-decoration:none;
  margin:5px 0;
  font-size: 10px;
}

.footer-column a:hover {
  color:#fff;
}

/* MOBILE OPTI */
@media (max-width: 600px) {
    .titleaccordion {
        font-size: 14px;
        padding: 14px;
    }

    .contentaccordion p {
        font-size: 13px;
    }

    .galleryphoto, .galleryvideo { 
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
      gap:8px;
      justify-content: center;
    }
    .galleryphoto img, .video-thumb img {
  height: 100px;
}

    .video-frame {
    width: 95%;
    height: 55vw;
    max-height: 400px;
  }
  .play-btn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
