﻿/* Reset et base*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'piron', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            
            /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
                background: url("../../images/sculpture en fer forge.jpg") no-repeat center fixed;
  -webkit-background-size: cover; /* pour Chrome et Safari */
  -moz-background-size: cover; /* pour Firefox */
  -o-background-size: cover; /* pour Opera */
  background-size: cover; /* version standardisée */
	color: #FFF;
	font-size: 20px;
	font-family: 'piron', sans-serif;
	
            min-height: 100vh;
        }
        


/* Main */
  /*
.dodo {
    background: url("../../images/sculpture en fer forge.jpg") no-repeat center fixed;
  -webkit-background-size: cover; 
  -moz-background-size: cover; 
  -o-background-size: cover; 
  background-size: cover; 
	color: #FFF;
	font-size: 20px;
	font-family: 'piron', sans-serif;
}*/

.partup {
  position: relative;
  overflow: hidden;
  padding:0 2em 0 2em;
  margin-bottom: 0;
}

.midown {
  position: relative;
  overflow: hidden;
  padding: 5em 3em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  text-align: justify;  
  font-size: 25px;
}

.midl {
text-align: center;
  }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 15px;
    }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
        #navig { display: none; }
        #navig.active { display: block; }
    
    .midown {
    padding: 4em 2em;
    text-align: center;  
    font-size: 15px;
    } 
}    
    
  .partup article {
    text-align: center;
  }

/* Navigation simplifiée */
#navig ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px auto;
    padding: 0 15px;
    list-style: none;
}

#navig ul li {
    flex-shrink: 1;
}

#navig ul li a {
    padding: 12px 8px;
    white-space: nowrap;
    display: block;
    transition: color 0.3s;
}

a:link {color: #FFF; text-decoration: none; }
a:visited {color: #FFF; text-decoration: none; }
a:hover { color: #F80; text-decoration: none ;} /*orange*/

#parent {
  display: flex; /* contexte sur le parent */
  flex-direction: column; /* direction d'affichage verticale */
  justify-content: center;
  align-items: center; /* alignement vertical */
  height: 100%;
}

h1 {
  font-size: 45px;
  font-weight: normal;
  color: #FFF;
}

h2 {
  font-size: 35px;
  font-weight: normal;
  color: #FFF;
}

/* images */        
.image-section {
    margin: 3rem 0;
    padding: 2rem;  /* Changé de 2rem 0 à 2rem */
    text-align: center;
  /*  background-color: #f8f9fa;*/
    border-radius: 12px;
    overflow: hidden;  /* Ajout pour éviter le débordement */
    box-sizing: border-box;  /* Ajout */
}

.sculpture-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: block;  /* Ajout */
    margin: 0 auto;  /* Ajout pour centrer */
    box-sizing: border-box;  /* Ajout important */
}

.sculpture-image:hover {
    transform: scale(1.02);
}

.image-description {
    margin-top: 1.5rem;
    font-family: 'Piron', serif;
    font-style: italic;
    color: #FFF;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

        footer {
            background: rgba(0, 0, 0, 0.8);
            color: white;
            text-align: center;
            padding: 0.5rem 0;
            margin-top: auto;
        }
        
/* Version mobile */
@media (max-width: 768px) {
    .menu-toggle {
        position: fixed;
        right: 5px;
        top: 5px;
        z-index: 1001;        /* Augmenter le z-index */
        background: #5E5F4C;
        padding: 4px 8px;
    }
    
    #navig.active {           /*menu sous bouton à reduire*/
        display: block;
        position: fixed;
        top: 60px; /* Espace sous le bouton */
        width: 100%; /*test pour reduire la largeur menu*/
        left: 0;
        right: 0;
        z-index: 1000; /* z-index inférieur au bouton */
        background: #5f5c55;
        padding: 6px 0;
    }

    #navig ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }
    
     .menu-toggle { display: block; }
        #navig { display: none; }
        #navig.active { display: block; }
   
    
     h1 {
  font-size: 35px;
  font-weight: normal;
  color: #FFF;
} 

     h2 {
  font-size: 25px;
  font-weight: normal;
  color: #FFF;
}

  .pp {
  font-size: 15px;
  } 
 }
  
  /* images section responsives*/
@media (max-width: 768px) {
    .image-section {
        margin: 2rem 1rem;
        padding: 1.5rem 1rem;
    }
    
    .sculpture-image {
        max-width: 100%;
    }
    
    .image-description {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}
        @media (max-width: 480px) {
            .page-title {
                font-size: 1.5rem;
            }

            .content-card {
                padding: 1.5rem 1rem;
            }

            main {
                padding: 2rem 0;
            }
        }


        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .content-card {
            animation: fadeIn 0.6s ease-out;
        }



