/* style.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  
}

body {
  display: flex;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

.sidebar {
  width: 250px;
  background: linear-gradient(to bottom, #777775, #343b37, #5a5a59);
  color: #fff;
  transition: transform 0.3s ease;
  padding: 20px 20px 0;
  position: fixed;
  height: 95%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 15px;
  margin-left: 15px;
  margin-bottom: 15px;
  border-radius: 25px;
  
}

.sidebar.hidden {
  transform: translateX(-100%);
}

.toggle-btn {
  background: linear-gradient(to right, #b7bdf7, #bfa046);
  color:  rgb(71, 38, 190);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
  position: fixed;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.sidebar img {
  width: 60%;
  margin-bottom: 5px;
  margin-top: 30px; /* espace sous le bouton */
  animation: rotationY 4s linear infinite;
  transform-style: preserve-3d;
}

@keyframes rotationY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.menu ul {
  list-style-type: none;
  width: 100%;
}

.menu > ul > li {
  margin: 10px 0;
  position: relative;
}

nav ul li i {
  margin-right: 8px;
  color: #CBA135; /* couleur bronze */
}

.menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.submenu {
  display: none;
  padding-left: 10px;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li {
  margin-top: 5px;
}




.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #444;
}

.social-icons a {
  color: #CBA135; /* bronze élégant */
  font-size: 20px;
  transition: color 0.3s;
}

.social-link {
  position: relative;
  display: inline-block;
}

.social-link .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 6px;
  color: white;
  white-space: nowrap;
  font-size: 12px;
  z-index: 1;
  transition: opacity 0.3s;
}

.social-link:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Couleurs spécifiques */
.facebook .tooltip {
  background-color: #1877f2;
}

.instagram .tooltip {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

.linkedin .tooltip {
  background-color: #0077b5;
}

.tiktok .tooltip {
  background-color: #010101;
  color: #fff;
}


.footer-content{
  color:#CBA135
}

/*cacher la barre de menu partielement*/

.sidebar.collapsed {
  width: 70px;
  padding: 20px 10px 0;
  overflow-x: hidden;
  border-radius: 25px;
  transition: width 0.3s ease;
}

.sidebar.collapsed .menu a {
  font-size: 0; /* cache le texte */
  padding: 10px 0;
  text-align: center;
}

.sidebar.collapsed .menu a i {
  font-size: 20px;
  margin: 0 auto;
  display: block;
  color: #CBA135;
}

.sidebar.collapsed img {
  width: 40px;
  margin: 15px 0 20px;
}

.sidebar.collapsed .submenu {
  display: none !important;
}


.sidebar.collapsed .site-footer {
  display: none;
}

.sidebar.collapsed .social-icons {
  flex-direction: column;
  align-items: center;
}

/*--------------------------------------*/

.main-content {
  margin-left: 250px;
  flex-grow: 1;
  transition: margin-left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.main-content.full-width {
  margin-left: 0;
}


.main-content {
  margin-left: 250px; /* largeur normale de la sidebar */
  transition: margin-left 0.3s ease;
}

/* Quand la sidebar est réduite */
.sidebar.collapsed ~ .main-content {
  margin-left: 70px; /* largeur réduite de la sidebar */
}

/* Si tu veux aussi gérer le cas totalement caché */
.sidebar.hidden ~ .main-content {
  margin-left: 0;
}




.video-pres {
  max-width: 900px;  /* Largeur maximale de la vidéo */
  margin: auto;       /* Centrage horizontal */
  padding: 0;      /* Optionnel : espacement interne */
}

.video-pres video {
  width: 100%;        /* Pour que la vidéo ne dépasse pas la div */
  height: auto;       /* Pour garder les proportions */
  border-radius: 10px; /* Optionnel : coins arrondis */
}


.hero {
  background: url('https://cdn.pixabay.com/photo/2020/05/30/12/01/home-theater-5233761_960_720.jpg') center/cover no-repeat;
  height: 80vh;
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
}


.overlay-btn {
  background-image: url(../Images/sono.jpg);
  padding: 2rem;
  text-align: center;
  color: #fff;
  border-radius: 15px;
  margin-top: 25px;
}

.overlay-btn h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.overlay-btn p {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.btn {
  background: #e0b354;
  color: #000;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
}


/*--*/

.split-section {
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 10%;
  background: linear-gradient(135deg, #ffffff, #e8ecf3);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  gap: 40px;
  margin-top: 60px;
}

.text-block {
  flex: 1;
  max-width:800px;
}

.text-block h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e1e2f;
}

.text-block p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.image-block {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.hover-figure {
  width: 160px;
  text-align: center;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.overlay {
  display: none; /* cachée par défaut */
  margin-top: 10px;
  font-size: 13px;
  background-color: #ffffff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.hover-figure:hover .overlay {
  display: block;
}

figcaption {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #a89a9a;
}

/*--*/


.gallery-cinema h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery img {
  scroll-snap-align: center;
  border-radius: 8px;
  width: 300px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.cta-dark {
  background-color: #111111;
  color: #a89a9a;
  text-align: center;
  padding: 3rem 2rem;
}

.cta-dark h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-dark p {
  margin-bottom: 1.5rem;
}