/**************************/
/* SECTION HERO */
/**************************/

.section-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/hero/gallery\ copie.png);
  background-size: cover;
  height: 100vh;
  margin-bottom: 8.6rem;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 7.4rem;
  align-items: center;
}

.hero-text {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 0.1rem;
  color: #e9ecef;
}

.artist-name {
  font-size: 1.6rem;
  text-align: right;
  color: #e9ecef;
  margin-bottom: 7.2rem;
}

.hero-img-box {
  text-align: center;
}

.hero-img {
  width: 75%;
  height: auto;
  border: 1px solid #fff;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 2rem;
    text-align: center;
  }

  .hero-text-box {
    order: 1;
  }

  .hero-img-box {
    order: 2;
  }

  .hero-img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }

  .artist-name {
    text-align: center;
    margin-bottom: 4rem;
  }

  .hero-text {
    font-size: 1.8rem;
  }

  .section-hero {
    height: auto;
    padding: 4rem 0;
    margin-bottom: 5rem;
    padding-top: 0;
  }
}

@media (max-width: 500px) {
  .hero-text {
    font-size: 1.6rem;
  }

  .artist-name {
    font-size: 1.4rem;
  }

  .heading-primary {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .btn {
    font-size: 1.4rem;
    padding: 1rem 2rem;
  }
}

/**************************/
/* SECTION BIOGRAPHY */
/**************************/

.biography {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5.2rem;
  align-items: center;
  margin-bottom: 8.6rem;
  background-color: #f8f4ed;
}

.biography-img {
  width: 100%;
}

.biography-text {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.photographe,
.blogueur {
  text-decoration: none;
  font-weight: 600;
}

.biography-link:link,
.biography-link:visited {
  font-size: 1.8rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;

  transition: all 0.3s;
}

.biography-link:hover,
.biography-link:active {
  color: #ffa700;
}

@media (max-width: 900px) {
  .biography {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }

  .biography-img-box {
    max-width: 400px;
    margin: 0 auto;
  }

  .biography-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }

  .biography-text-box {
    text-align: center;
  }

  .biography-text {
    font-size: 1.6rem;
  }

  .biography-link {
    font-size: 1.6rem;
  }

  .biography-img-box {
    order: 2;
  }

  .biography-text-box {
    order: 1;
  }
}

@media (max-width: 500px) {
  .biography-text {
    font-size: 1.4rem;
  }

  .biography-link {
    font-size: 1.4rem;
  }

  .photographe,
  .blogueur {
    font-weight: 600;
    font-size: 1.4rem;
  }

  .biography-img-box {
    order: 2;
  }

  .biography-text-box {
    order: 1;
  }
}

/**************************/
/* SECTION ARTWORK */
/**************************/

.artwork {
  max-width: 130rem;
  margin: 0 auto;
  background-color: #f8f4ed;
  padding: 4.8rem 0 4.8rem 4.8rem;
  margin-bottom: 8.6rem;
}

.artwork-grid {
  max-width: 130rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  align-items: center;
}

.artwork-text {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

/*
.btn-artwork:link,
.btn-artwork:visited {
  font-size: 1.8rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;

  transition: all 0.3s;
}

.btn-artwork:hover,
.btn-artwork:active {
  color: #ffa700;
}
*/

.btn-artwork {
  display: inline-block;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #343a40;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.btn-artwork::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 1px;
  background-color: #343a40;
  transition: width 0.3s ease;
}

.btn-artwork:hover {
  color: #000;
}

.btn-artwork:hover::after {
  width: 100%;
}

.artwork-img-box {
  text-align: center;
}

.artwork-img {
  width: 70%;
  border: 1px solid black;
}

@media (max-width: 900px) {
  .artwork {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .artwork-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .artwork-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  .artwork-text {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    text-align: center;
  }

  .btn-artwork {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  }

  .btn-artwork:hover,
  .btn-artwork:focus {
    color: #ffa700;
    background-color: rgba(255, 167, 0, 0.1);
    transform: translateY(-3px);
    outline: none;
  }
}

@media (max-width: 500px) {
  .artwork-text {
    font-size: 1.4rem;
  }

  .btn-artwork {
    font-size: 1.4rem;
  }
}

/**************************/
/* PAGE BIOGRAPHY */
/**************************/

.biography-container {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.biography-block {
  padding: 2.4rem 2.4rem;
  margin-bottom: 4.8rem;
}

.heading-primary-other-pages {
  font-size: 3rem;
  margin-bottom: 3.2rem;
}

.biography-artist-photo {
  width: 15%;
  border: 1px solid #343a40;
  float: left;
  margin-right: 1.2rem;
}

.biography-page-text {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: justify;
}

table {
  font-size: 1.6rem;
  line-height: 1.6;
  border-collapse: collapse;
  margin: 0 auto;
  margin-bottom: 4.8rem;
}

thead {
  background-color: #996400;
  font-size: 1.8rem;
  color: #e6ecef;
}

th,
td {
  border: 1px solid black;
  padding: 0 0.8rem;
}

.center-text {
  text-align: center;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 40px auto;
  overflow: hidden;
  background: #555;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 25%;
  padding: 12px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.03);
}

.nav-button-biography {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: background 0.3s ease;
}

.nav-button-biography:hover {
  background: #000;
}

.nav-button-biography.left {
  left: 10px;
}

.nav-button-biography.right {
  right: 10px;
}

.biography-author {
  margin-top: 2.4rem;
  text-align: right;
  font-size: 1.6rem;
  font-style: italic;
  color: #555;
}

.biography-author strong {
  font-style: normal;
  font-weight: 600;
  color: #333;
}

.biography-author span {
  display: block;
  font-size: 1.4rem;
  color: #777;
}

/**************************/
/* PAGE GALLERY */
/**************************/

.gallery {
  max-width: 130rem;
  margin: 0 auto;
  margin-bottom: 6.4rem;
  margin-top: 8.5rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  column-gap: 3.2rem;
  margin-bottom: 6.4rem;
}

.gallery-text {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 2.4rem;
}

.gallery-img {
  width: 100%;
  max-width: 300px;
  border: 2px solid #343a40;
  transition: all 0.3s;
}

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

.gallery-img:nth-child(2) {
  grid-row: 1 / 3;
}

/* Responsiveness */
@media (max-width: 768px) {
  .gallery {
    padding-inline: 2rem;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    margin-bottom: 3.2rem;
    align-items: center;
  }

  .gallery-images {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .gallery-img {
    max-width: 140px;
  }

  .gallery-img:nth-child(2) {
    max-width: 180px;
    grid-row: auto;
  }

  .gallery-text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .heading-tertiary {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
}

/**************************/
/* PAGE GALLERY PAINTINGS */
/**************************/

.gallery_paintings {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #222;
  font-family: Helvetica, "Georgia", serif;
  letter-spacing: 1px;
}

.decade-title {
  position: relative;
  margin: 4rem 0 2rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  font-family: Helvetica, "Georgia", serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.decade-title::before,
.decade-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #ccc;
}

.decade-title::before {
  left: 0;
}

.decade-title::after {
  right: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.gallery-card {
  display: block;
  background: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.02);
}

.card-description {
  padding: 1rem 1.2rem;
  font-family: Helvetica, "Arial", sans-serif;
}

.card-description h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #111;
}

.card-description p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #555;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.nav-button {
  padding: 0.6rem 1.2rem;
  background-color: #eee;
  color: #555;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
  background-color: #ddd;
  color: #222;
}

.nav-button.active {
  background-color: #ffa700;
  color: #555;
  cursor: default;
  pointer-events: none;
}

/* Texte de salle – Années 2000 */

.gallery-text-block {
  grid-column: 1 / -1;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #444;
}

/* micro-titre */

.series-label {
  display: block;
  margin-bottom: 2rem;
  font-size: 1.3rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* paragraphes */

.gallery-text-block p {
  margin-bottom: 0.4rem;
}

.gallery-text-block p:last-child {
  margin-bottom: 0;
}

.series-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: #e5e5e5;
  margin: 3rem 0 2rem;
}

/**************************/
/* PAGE GALLERY DRAWINGS */
/**************************/
/*
.selected {
  background-color: #ffa700;
}

.deselected {
  background-color: #6e727e;
}*/

.container {
  width: 100%;
  min-height: 100vh;
  padding: 5rem 8%;
}

.gallery-drawings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 12.8rem;
  justify-items: center;
  align-items: center;
}

.gallery-drawings img {
  width: 100%;
  border: 2px solid #343a40;
}

.gallery-intro {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  text-align: center;
}

/**************************/
/* PAGE WRITINGS */
/**************************/

.writings-page {
  max-width: 130rem;
  margin: 2rem auto;
  padding: 0 1rem;

  color: #333;
}

.writings-page .intro {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
  font-style: italic;
}

.writings-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.writing-card {
  background: #fafafa;
  border-left: 5px solid #a55c2c;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.writing-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.writing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ddd;
}

.author-role {
  font-style: normal;
  color: #555;
  font-size: 1.2rem;
}

.writing-title {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  color: #5a3e1b;
}

.writing-source {
  font-size: 1.2rem;
  color: #777;
}

.writing-excerpt {
  font-style: italic;
  font-size: 1.2rem;
  margin: 1rem 0;
  line-height: 1.5;
  color: #444;
  border-left: 3px solid #a55c2c;
  padding-left: 1rem;
}

.writing-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-bottom: 1rem;
  color: #333;
  padding-left: 1rem;
  border-left: 2px solid #e0c4ae;
  font-size: 1.2rem;
  line-height: 1.6;
}

.writing-full.open {
  max-height: 300px;
  overflow-y: auto;
}

.toggle-button {
  background: none;
  border: none;
  color: #a55c2c;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
}

.toggle-button:hover {
  text-decoration: underline;
}

/**************************/
/* PAGE TESTIMONIALS */
/**************************/

.container-hommage {
  max-width: 130rem;
  margin: auto;
  padding: 2rem;
}

.section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.container-hommage p {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hommage-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.hommage-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.hommage-gallery a {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.hommage-gallery a:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

figcaption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
  text-align: center;
}

.pdf-section {
  margin-top: 2rem;
  text-align: center;
}

.download-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #0055aa;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
}

.download-btn:hover {
  background-color: #003f80;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.video-grid iframe {
  width: 100%;
  height: 20rem;
  border: none;
  border-radius: 8px;
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.articles article {
  background-color: #fff;
  padding: 1.5rem;
  border-left: 5px solid #a55c2c;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.articles a {
  color: #0055aa;
  text-decoration: none;
  font-weight: bold;
}

.articles a:hover {
  text-decoration: underline;
}

.articles h4 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #333;
}

.articles h4 .journal {
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8b5a2b; /* brun cuivre élégant */
}

/**************************/
/* PAGE CONTACT */
/**************************/

form {
  max-width: 80rem;
  background-color: #e9ecef;
  margin: 0 auto;
  margin-bottom: 8.4rem;
  padding: 2rem;
}

label {
  font-size: 1.8rem;
  margin-right: 2rem;
}

label + input {
  height: 4rem;
  width: 36rem;
  width: 100%;
}

textarea,
input {
  width: 100%; /* Full width */
  padding: 1.2rem; /* Some padding */
  border: 0.1rem solid #ccc; /* Gray border */
  border-radius: 0.4rem; /* Rounded borders */
  margin-top: 0.6rem; /* Add a top margin */
  margin-bottom: 1.6rem; /* Bottom margin */
  resize: vertical;
}

input[type="submit"] {
  width: 12rem;
  background-color: #ffa700;
  color: #343a40;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #ffb01a;
}
