/* Couleurs */
:root {
    --bleu-marine: #1A2E4F;
    --vert-gris: #5C6F68;
    --blanc-casse: #F5F5F0;
    --sable: #D9CBB7;
    --rouge-terre: #A33C3C;
  }
  
  /* Reset basique */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    background-color:rgb(190, 188, 188);
    color: var(--bleu-marine);
    line-height: 1.6;
    padding: 0 1rem;
  }

  
  /******************* HEADER ********************/
  .header {
    background: var(--bleu-marine);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 0 0 12px 12px;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
  }
  
  .burger {
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
  }

  /* NAV - Menu burger */
  
  .nav {
    display: none;
    background: var(--bleu-marine);
    position: absolute;       /* on le sort du flux */
    top: 60px;                /* juste en dessous du header (ajuste si ton header est + haut) */
    left: 0;
    width: 100%;              /* prend toute la largeur */
    z-index: 999;             /* reste au-dessus du contenu */

  }
  
  .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  
  .nav ul li a {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .nav ul li a:hover {
    background: var(--rouge-terre);
  }
  
  /* Classe active pour afficher le menu */
  .nav.active {
    display: block;
  }

  /******** HOME *******/

.site-title {
  font-family: "Lucida Console", monospace;
  text-align: center;
  font-size: 4rem;
  margin-top: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 3rem;
}

  /****************** MAIN ***********************/

  .main {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    padding-bottom: 0;
  }
  
  .title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
    text-transform: uppercase;
    text-align: center;
  }
  
  .intro_text {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }


  
  .photo img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }
  
  .btn {
    display: inline-block;
    text-align: center;
    background: var(--rouge-terre);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 2rem;
    transition: background 0.3s ease;
    max-width: 12em;
  }

  #btn {
    display: flex;
    justify-content: center;
    margin-top: 2em;
  }
  
  .btn:hover {
    background: #872f2f; 
  }


  /******************* SECTION PRIX ET COMMANDES *******************/

.price-info {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  line-height: 1.6;
}

.price-info__title {
  font-family: 'Playfair Display', serif;
  color: var(--bleu-marine);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.price-info__text {
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
}

.price-info__separator {
  border: none;
  height: 1px;
  background-color: var(--sable);
  margin: 1.5rem 0;
}

.catalogue-instructions {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f8f8f8;
  border-left: 4px solid #555;
  border-radius: 8px;
}

.catalogue-instructions__title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.catalogue-instructions__list {
  list-style: none;
  padding-left: 0;
}

.catalogue-instructions__list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.catalogue-filter {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.catalogue-filter select {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}


  /******************* GRILLE CATALOGUE **********************/

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.artwork-card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s;
}

.artwork-card:hover {
  transform: scale(1.03);
}

.artwork-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.artwork-card .dimension {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #3d4649; /* gris doux */
}


/****************** LIGHTBOX caché par défaut ***********************/

.lightbox {
  display: none;             /* invisible au départ */
  position: fixed;
  z-index: 1000;             /* au-dessus du contenu */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85); /* fond noir semi-transparent */
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  animation: zoomIn 0.3s ease;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Animation du zoom */
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

    
/*********** HOME ***********/

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.intro-citation {
  text-align: center;
  font-style: italic;
  color: var(--bleu-marine);
  justify-content: center;
}

#auteur {
text-align: center;
}

.intro-citation blockquote {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.intro-citation cite {
  font-size: 0.9rem;
  color: var(--vert-gris);
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.intro-text {
  background: white;
  padding: 1em;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}


/*********** VERSION DESKTOP ***********/

@media (min-width: 768px) {
  .intro {
    flex-direction: row;        /* citation à gauche, image à droite */
    align-items: center;        /* centrage vertical */
    justify-content: center;
  }

  .intro-citation {
    flex: 1;
    text-align: right;
    padding-right: 2rem;
  }

  .intro-image {
    flex: 1;
    text-align: left;
  }

  .intro-image img {
    max-width: 80%;
  }

  .intro-text {
    margin-top: 2rem;
  }

  #auteur {
    text-align: right;
  }

  .photo img {
    max-width: 300px;
  }
 
      
        .burger {
          display: none; /* on cache le burger */
        }
      
        .nav {
          display: block;
          position: static;   /* ⬅️ remet le nav dans le flux */
          width: auto;
          background: none;   /* pas de fond coloré en desktop */
        }
      
        .nav ul {
          display: flex;
          gap: 2rem;
        }
      
        .nav ul li {
          margin: 0;
          border-bottom: none; /* enlève les séparateurs verticaux */
        }
      
        .nav ul li a {
          font-size: 1rem;
          color: white;
          transition: color 0.3s;
        }
      
        .nav ul li a:hover {
          color: #0077cc; /* effet au survol */
        }
      
}


/**** VERSION GRAND ÉCRAN ********/

@media (min-width: 1024px) {
  .intro {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    text-align: left;
  }

  .intro-citation {
    max-width: 500px;
  }

  #auteur {
    max-width: 1000px;
  }

  .photo img {
    max-width: 350px;
  }
}



/*********** CONTACT ***************/

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  align-self: center;
}

@media (min-width: 768px) {
  
  .contact-form {
    width: 600px;
  }

}


/*********** PAGE 404 ***************/

.page-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  text-align: center;
  padding: 2rem;
  padding-bottom: 0;
}

.error-content {
  max-width: 700px;
}

.error-title {
  font-size: 6rem;
  font-family: "Engravers MT", serif;
  color: #333;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #555;
}

  
  /********* FOOTER ***************/

  .footer {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--bleu-marine);
    
  }
