/* === Base Styles === */
body {
  margin: 0;
  background-color: #181718;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background-color: #181718;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.name {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 0;
}

.subtitle {
  font-family: 'Allura', serif;
  font-size: 1.4rem;
  margin-top: 3px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #cccccc;
}

a.disabled {
    pointer-events: none;  /* Désactive les clics */
    color: gray;           /* Style visuel de lien désactivé */
    text-decoration: none;
    cursor: default;
  }

/* === Responsive Menu === */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
}


/* === Hero === */
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* === About Section === */
.about-content {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.about-text {
  width: 60%;
  text-align: center;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
}

.about-text h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}


/* === Music Gallery Styles === */
.music-gallery {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 900px;
  width: 100%;
}

.gallery-container a {
  position: relative;
  display: inline-block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #333;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
  display: block;
}

.gallery-container a::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  z-index: 10;
}

.gallery-container a:hover img {
  filter: brightness(0);
  transform: scale(1.05);
}

.gallery-container a:hover::after {
  opacity: 1;
}

/* === Disabled Nav Item === */
.site-nav .disabled {
  color: #666;
  pointer-events: none;
  cursor: default;
}

/* === Logo Link Style === */
.logo a {
  color: #fff;
  text-decoration: none;
}

.name a {
  color: #fff;
  text-decoration: none;
}

/* === Album Page Styles === */
.album-page {
  padding: 3rem 1rem;
  color: #ffffff;
  display: flex;
  justify-content: center;
}

.album-details {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.album-details h1,
.album-details h2 {
  font-family: 'Playfair Display', serif;
  margin: 0.5em 0;
}

.album-details h1 {
  font-size: 2.2rem;
}

.album-details h2 {
  font-size: 1.6rem;
}


.album-cover {
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 1px solid #333;
}

.album-description {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.soundcloud-player iframe {
  max-width: 100%;
  border: none;
}

.band-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 1px solid #333;
}

.youtube-player {
  width: 100%;
  height: 315px;
  display: block;
  margin: 2rem auto;
  border: 1px solid #333;
}


/* === Books Gallery Styles === */
.books-gallery {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.books-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 900px;
  width: 100%;
}

.books-container a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #333;
  aspect-ratio: 2 / 3;
}

.books-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
  display: block;
}

.books-container a::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-align: center;
  white-space: pre;
}

.books-container a:hover img {
  filter: brightness(0);
  transform: scale(1.05);
}

.books-container a:hover::after {
  opacity: 1;
}

/* === Disabled Nav Item === */
.site-nav .disabled {
  color: #666;
  pointer-events: none;
  cursor: default;
}

/* === Book Page Styles === */
.book-page {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  background-color: #181718;
  color: #ffffff;
}

.book-details {
  text-align: center;
  max-width: 700px;
}

.book-details h1,
.book-details h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.book-details h1 {
  font-size: 2.2rem;
}

.book-details h2 {
  font-size: 1.6rem;
}

.book-cover {
  margin: 1.5rem 0;
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #444;
}

.book-description {
  margin: 1rem auto;
  max-width: 90%;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #ddd;
  text-align: justify;
}

.book-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  color: #fff;
}

.read-btn {
  background-color: #333;
}

.read-btn:hover {
  background-color: #555;
}

.buy-btn {
  background-color: #8b0000;
}

.buy-btn:hover {
  background-color: #a30000;
}


/* === Decor Gallery Styles === */
.decor-gallery {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.decor-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  max-width: 1000px;
  width: 100%;
}

.decor-container a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #333;
  aspect-ratio: 4 / 3;
}

.decor-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
  display: block;
}

.decor-container a::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-align: center;
  white-space: pre;
}

.decor-container a:hover img {
  filter: brightness(0);
  transform: scale(1.05);
}

.decor-container a:hover::after {
  opacity: 1;
}


/* === Deco Detail Page Styles === */

.decor-page {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  background-color: #181718;
  color: #ffffff;
}

.decor-details {
  text-align: center;
  max-width: 700px;
}

.decor-details h1,
.decor-details h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.decor-details h1 {
  font-size: 2.2rem;
}

.decor-details h2 {
  font-size: 1.6rem;
}

.decor-description {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.horizontal-decor-details {
  max-width: 100%;
  height: auto;
  border: 1px solid #333;
  margin-bottom: 1.5rem;
}

.vertical-decor-details {
  max-width: 75%;
  height: auto;
  border: 1px solid #333;
  margin-bottom: 1.5rem;
}

.zoom-image {
  transition: transform 0.3s ease;
}

.zoom-image:hover {
  cursor: zoom-in
}

.zoomed {
  transform: scale(1.5);
  z-index: 10;
  position: relative;
}



/* === Drawings Gallery Styles === */
.drawings-gallery {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.drawings-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  max-width: 1000px;
  width: 100%;
}

.drawings-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
  display: block;
}


/* === Drawings Detail Page Styles === */

.drawings-page {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  background-color: #181718;
  color: #ffffff;
}

.drawings-details {
  text-align: center;
  max-width: 700px;
}


/* === Footer === */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}



.site-footer a:hover {
  color: #cccccc;
}

/* === Footer Icon Styling === */
.site-footer .container {
  text-align: center;
  padding: 1rem;
}

.site-footer a {
  color: white;
  font-size: 2rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}




/* Maintain visual consistency for footer 
.site-footer {
  background-color: #181718;
  text-align: center;
  padding: 1rem 0;
}

.site-footer a {
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}

.site-footer a:hover {
  text-decoration: underline;
}
*/

@media (max-width: 768px) {
  .site-nav ul {
    display: none;
    flex-direction: column;
    background-color: #181718;
    position: absolute;
    top: 60px;
    right: 1rem;
    padding: 1rem;
    border: 1px solid #333;
  }

  .site-nav.active ul {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .site-footer a {
    font-size: 1.5rem;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-container a::after {
    font-size: 1rem;
  }

  .books-container {
    grid-template-columns: 1fr;
  }

  .books-container a::after {
    font-size: 1rem;
  }

  .book-details h1 {
    font-size: 1.9rem;
}

  .decor-container a::after {
    font-size: 1rem;
  }

  .decor-details img {
    max-width: 100%;
    height: auto;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
  }

  .zoom-image {
    pointer-events: none;
    cursor: default;
  }

  .about-text {
    width: 100%;
  }

  .about-text h1 {
    font-size: 1.5rem;
  }
}