/*---------------*/
/* General Reset */
/*---------------*/
.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:"wdth" 100;
}

body, ul, li, a {
    margin: 0;
    padding: 0;
	overflow: hidden;
    list-style: none;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

body {
    font-family: Roboto;
}

/*--------------*/
/* Hero Section */
/*--------------*/

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Empêche tout débordement */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
	display: block;
    background-image: url('../images/door4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    animation: background-zoom 10s infinite alternate ease-in-out;
    z-index: -1; /* Derrière le contenu */
}

.hero-logo {
    max-width: 200px; /* Ajuste selon ta charte graphique */
    height: auto;
    margin-bottom: 20px; /* Espace entre l'image et le bouton */
}

/* Keyframe Animation */
@keyframes background-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}
/*--------------*/
/* Hero Content */
/*--------------*/
.hero-content {
    z-index: 2;
    position: relative;
	display: flex;
    flex-direction: column;
	align-items: center;
	transform: translateY(-20px); /* remonte de 50px */
}

.hero h1 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 0.8;
    color: white;
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid white; /* Encadrement */
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4); /* Fond léger en transparence */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.3s;
}

.hero h1 a {
    color: white;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
	transition: color 0.3s, background-color 0.3s;
}

.hero h1 a:hover {
    color: #999;
	text-decoration: none;
	letter-spacing: 1.05px;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 1.5rem;
}

/* Dark Overlay (Optional) */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent overlay */
    z-index: 1;
}
/*--------------*/
/* Bouton animé */
/*--------------*/

.animated-button span {
  display: inline-block;
  transition: transform 0.5s ease, color 0.5s ease;
  transform-origin: center;
}

/* Effet au survol */
.animated-button:hover span {
  transform: rotateY(180deg); /* Tourne sur l'axe Y (comme un flip horizontal) */
  color: #d4d4d4; /* ou un autre effet visuel si tu veux */
}

/* Option : décalage progressif entre les lettres */
.animated-button span:nth-child(1) { transition-delay: 0s; }
.animated-button span:nth-child(2) { transition-delay: 0.05s; }
.animated-button span:nth-child(3) { transition-delay: 0.1s; }
.animated-button span:nth-child(4) { transition-delay: 0.15s; }
.animated-button span:nth-child(5) { transition-delay: 0.2s; }
.animated-button span:nth-child(6) { transition-delay: 0.25s; }

/*-------------*/
/* Menu Header */
/*-------------*/
.menu-header {
    background-color: rgba(240, 240, 240, 0.2); /* Semi-transparent */
    color: white;
    position: fixed; /* Fixe le menu en haut */
    top: 0;
    left: 0;
    width: 100%; /* Prend toute la largeur */
    z-index: 1000; /* S'assure que le menu reste au-dessus de tout */
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-family: Roboto;
	letter-spacing: -1px;
	font-size: 2.0em;
    /*font-weight: bold;*/
    color: black;
    text-transform: uppercase;
}

/*------------*/
/* Menu Links */
/*------------*/
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%; /* étendre à toute la largeur si besoin */
    padding: 10px 0;
    background-color: #fff; /* optionnel */
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px; /* limite la largeur max */
}

.menu-list li {
    flex: 1;
    text-align: center;
}

.menu-link {
    display: inline-block;
    text-decoration: none;
    color: black;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: -1px;
    padding: 2px 2px; /* padding vertical réduit */
    transition: all 0.3s ease;
	line-height: 1.2;
}

.menu-link:hover {
    transform: scale(1.05); /* léger zoom */
}
.menu-link:focus,
.menu-link:active,
.menu-link.active {
    background-color: rgba(230, 230, 230, 1); /* fond gris clair */
    color: black; /* garder le texte visible */
    border-radius: 0; /* fond rectangulaire */
}

/* Hover spécifique pour "Contact" */
.contact-link:hover{
    transform: scale(1.05);
}
.contact-link:focus,
.contact-link:active,
.contact-link.active {
    background-color: black;
    color: white;
    border-radius: 0;
}

/*----------------*/
/* Section Styles */
/*----------------*/
        section {
            position: relative; /* Nécessaire pour positionner l'image */
			overflow: hidden; /* Empêche le dépassement de contenu */
			padding: 100px 20px;
            min-height: 50vh;
            scroll-margin-top: 80px; /* Décalage pour le menu fixe */
            display: flex;
			align-items: flex-start; /* Aligne le contenu en haut */
			width: 100%; /* Assure que la section occupe toute la largeur */
        }

        section:nth-child(even) {
            background-color: #ffffff;
        }

        section:nth-child(odd) {
            background-color: #ffffff;
        }

        /* Layout des sections */
		
		/* Image qui s'étend sur toute la largeur de l'écran */
		.image-left-wrapper {
			position: absolute;
			top: 0;
			left: 0;
			width: 100vw; /* Largeur complète de l'écran */
			height: 100%; /* Facultatif : ajustez pour occuper toute la hauteur */
			z-index: -1; /* Place l'image en arrière-plan */
		}

		.image-right-wrapper {
			position: absolute;
			top: 0;
			left: 100;
			width: 100vw; /* Largeur complète de l'écran */
			height: 100%; /* Facultatif : ajustez pour occuper toute la hauteur */
			z-index: -1; /* Place l'image en arrière-plan */
		}

		.full-width-image {
			width: 40%; /* Assure que l'image s'étend horizontalement */
			height: auto; /* Conserve les proportions */
			object-fit: cover; /* Facultatif : assure que l'image remplit bien l'espace */
		}
		
        .container {
            /* position: relative; */
			display: flex;
            flex-wrap: wrap; /* Permet l'empilement en petit écran */
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
			align-items: center; /* Aligne les enfants en haut */
			z-index: 1; /* Place le contenu au-dessus de l'image */
        }

		.content {
			background-color: rgba(255, 255, 255, 0.8); /* Facultatif : fond semi-transparent pour lisibilité */
			padding: 20px;
			border-radius: 5px;
		}

        .left, .right {
            flex: 1; /* Permet aux deux parties de prendre 50% de largeur */
            min-width: 300px; /* Taille minimale pour l'empilement */
			text-align: left; /* Aligne le texte à gauche */
			padding: 10px;  /* Ajoute un peu de marge interne pour un meilleur espacement */
        }

        .left h2, .right h2 {
			font-size: 3.5rem;
			margin-bottom: 20px;
			letter-spacing: -5px; /* Réduit l'espacement entre les lettres */
			line-height: 0.9; /* Espacement réduit entre les lignes */
			background-image: linear-gradient(to right, #77b8ff, #0000a3); /* Dégradé bleu du clair au foncé */
			-webkit-background-clip: text; /* Applique le dégradé au texte uniquement */
			color: transparent; /* Le texte est transparent pour laisser place au dégradé */
			text-transform: uppercase;
			display: inline-block;
        }
		
        .custom-color {
			font-size: 3.5rem;
			margin-bottom: 20px;
			letter-spacing: -5px; /* Réduit l'espacement entre les lettres */
			line-height: 0.9; /* Espacement réduit entre les lignes */
			color: black;
			text-transform: uppercase;
        }

        .left h3, .right h3 {
			font-size: 1.1rem;
			font-family: Segoe UI Light;
			display: inline-block;
        }
		
        .left p, .right p {
            font-size: 1.1rem;
			font-family: Segoe UI Light;
			display: inline-block;
        }

        .right img {
            width: 100%;
            height: auto;
            border-radius: 10px; /* Coins arrondis */
        }

		.custom-font {
			font-family: Segoe UI Black;
			font-size: 1.2rem; /* Facultatif : conserve la taille originale */
			transition: color 0.5s ease; /* Transition fluide */
		}	

		.custom-font:hover {
			font-family: Segoe UI Black;
			font-size: 1.2rem; /* Facultatif : conserve la taille originale */
			/* color : #77b8ff; */
			background-image: linear-gradient(to right, #77b8ff, #0000a3); /* Dégradé bleu du clair au foncé */
			-webkit-background-clip: text; /* Applique le dégradé au texte uniquement */
			color: transparent; /* Le texte est transparent pour laisser place au dégradé */
		}		

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                flex-direction: column; /* Empilement en colonne */
                text-align: center; /* Centrer le contenu */
            }

            .left, .right {
                min-width: unset; /* Supprime la largeur minimale */
            }

            .left h2 {
                font-size: 2rem;
            }
        }

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* ----------------- */
/* Responsive Design */
/* ----------------- */

@media (max-width: 768px) {
    .menu-list {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .menu-list.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}
