﻿/* 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: #FFF;    
            background: url("../../images/fond_atelier.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 */
            min-height: 100vh;
        }
       
        .container {
    	    width: 90%;
    	    max-width: 1400px; /* Limite sur très grands écrans */
    	    margin: 0 auto; /* Centre le container */
    	    padding: 1rem;
    	    box-sizing: border-box;
	}

/* Header et Navigation */
        header {
            /* backdrop-filter: blur(10px);  permet de flouter l'arriere plan
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); une ombre autour de la box!
            font-family: Open Sans Extrabold, Tahoma, Geneva, Verdana, sans-serif;*/
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }
        
        .logo {
            font-size: 2rem;
            
            color: #FF0; 
        }
        
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem; 
            cursor: pointer;
            color: #FFF;       /*couleur des 3 traits */
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav a {
            text-decoration: none;
            color: #FF0;
            font-size: 1.5rem;
            font-weight: 500;
            padding: 0.5rem 1rem;
        }
        
        nav a:hover {
            color: #FFF;
        }

/* Main Content */
        main {
            padding: 1rem 0;
            a:link {color: #FFF; text-decoration: none; }
	    a:visited {color: #FFF; text-decoration: none; }
	    a:hover { color: #FF0; text-decoration: none ;} 
        }

        .content-card {
            padding: 1rem;
            margin-bottom: 1rem;  /* 2 */
        }
        
        .content-form {
            background: rgba(255, 255, 255, 0.95);
            /* backdrop-filter: blur(10px);  permet de flouter l'arriere plan*/
            border-radius: 20px;
            padding: 1rem;
            margin-bottom: 2rem;
        }

        .page-title {
            font-size: 5rem;
            margin-bottom: 1.5rem;
            color: #FFF;
            text-align: center;
        }

        .page-content {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 2rem;
        }
        
/* images */     
	.image-section {
	    margin: 3rem -2rem; /* Dépasse du padding du container */
	    padding: 2rem 0; /* Garde le padding vertical seulement */
	    width: calc(100% + 4rem); /* Compense les marges négatives */
	    border-radius: 0; /* Enlève les coins arrondis pour effet pleine largeur */
	}

	.sculpture-image {
	    width: 100%;
	    max-width: none; /* Enlève la limitation de largeur */
	    height: auto;
	    border-radius: 8px;
	    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
	    transition: transform 0.3s ease;
	    display: block;
	    margin: 0 auto;
	}
   
	.sculpture-image:hover {
	    transform: scale(1.02);
	}
	
	.image-description {
	    margin-top: 1.5rem;
	    font-size: 1.5rem;
	    margin-left: auto;
	    margin-right: auto;
	    /*padding: 0 2rem; /* Ajoute du padding pour le texte */
	}

/* Formulaire de contact */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #333;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 0 auto;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .message {
            text-align: center;
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

/* Footer */
        footer {
         /*   background: rgba(0, 0, 0, 0.8);
            color: white;*/
            text-align: right;
            font-size: 1.5rem; 
            padding: 0.5rem 0;
            margin-top: auto; /* pousse le footer vers le bas */
           /*  flex-shrink: 0; empeche le footer de rétrécir */
           
            a:link {color: #FFF; text-decoration: none; }
	    a:visited {color: #FFF; text-decoration: none; }
	    a:hover { color: #FF0; text-decoration: none ;} 
           
           
        }
        


/* Responsive mise en page */   
        @media (max-width: 1200px) {
	    .container {
	        width: 92%;
	    }
	}

	@media (max-width: 768px) {
	    main {
                padding: 0;
            }
            
	    .container {
	        width: 95%;
	        padding: 0 15px;
	    }
	    	              	    
            .page-title {
                font-size: 2rem;
            }
            
            .page-content {
                font-size: 1.3rem;
            }
            	
	    .image-section {
	        margin: 2rem -1rem;
	        width: calc(100% + 2rem);
	        padding: 1.5rem 0;
	    }
	        
	    .image-description {
	        padding: 0 1rem;
	        font-size: 1.1rem;
	    }
	    
	    footer {
            font-size: 1.1rem;           
            }	    
	}

	@media (max-width: 480px) {
	    .container {
	        width: 98%;
	        padding: 0.5rem;
	    }
	}


/* Responsive Header et Navigation */       
        @media (max-width: 768px) {
            .header-content {
                /*justify-content: right; */
                position: relative;                
	    }
        
            .nav-toggle {
                display: block;
            }

            nav {
                position: absolute;
                top: 100%;
                left: 75%;
                right: 0;
                background: rgba(120, 120, 120, 0.15);
                backdrop-filter: blur(10px);
                display: none;
                padding: 0;
            }

            nav.active {
                display: block;
            }
            
            nav ul {
                flex-direction: column;
                gap: 0;
                padding: 20px; /*20px;*/
            }

            nav a {
                display: block;
                padding: 0; /*1rem; */
                color: #FF0;
                border-radius: 10px;
                margin-bottom: 0.5rem;
            }
            
            nav a:hover {
                color: #FFF;
            }            
            
        }

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

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

