/* ================== Reset & Base ================== */
*{
    font-family: "Grenze Gotisch", serif;
}
.nav, .nav * {
    font-family: "Grenze Gotisch", serif !important;
}
p{
    font-family: "Grenze", serif;
}
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Grenze", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: rgb(255, 204, 137);
    scroll-behavior: smooth;

}

/* ================== Header ================== */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
}

/* ================== Navigation ================== */
.nav, .nav ul, .nav li, .nav a {
    font-family: "Grenze", serif; /* même police que ton body */
}
.nav {
    display: flex;
    align-items: center;
    width: 90%;
    height: 11vh;
    font-size: 25px;
    justify-content: space-between;
    margin-left: 2%;
}

ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin: 0 20px 0 0;
    width: 50%;
}

li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    height: 5vh;
    animation: clignote 2s infinite alternate;
}

@keyframes clignote {
    0% { opacity: 1; }
    100% { opacity: 0.7; }
}

a {
    text-decoration: none;
    color: rgb(255, 204, 137);
}
.logo {
    width: 100px;
    height: auto;
    border-radius: 50%;
    border: 3px solid rgb(255, 204, 137);
}
/* ================== Main ================== */
main {

    display: flex;
    width: 100%;
    padding: 20px 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
section, article {
    margin-bottom: 10%;
}
/* ================== Headings ================== */
h1 {
    font-size: 75px;
    margin: 0;
}
h2 {
    font-size: 60px;
    font-family: "Grenze Gotisch", serif;
}
h3 {
    font-size: 40px;
    margin: 5%;
}
h4{
    font-family: "Grenze Gotisch", serif;
}

/* ================== Footer ================== */
footer {
    background: linear-gradient(0deg, rgba(255, 255, 25rgba(255, 230, 198, 0.6),0,0,0.6)),
                radial-gradient(circle at center, #ffffff 0%, #ffffff 100%);
    box-shadow: 0 15px 50px rgb(0, 0, 0);
    color: rgb(255, 204, 137);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3%;
}

/* ================== Contact ================== */
.contact {
    font-size: 75px;
    color: rgb(255, 204, 137);
    width: 45%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.color {
    color: rgb(255, 204, 137);
}

/* ================== Background ================== */
.background {
    width: 100%;
    height: 100%;
    background-color: rgb(33 29 37);
    background-image: 
        repeating-linear-gradient(45deg, rgba(253, 202, 62, 0.1) 0, rgba(253, 253, 253, 0.1) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 196, 87, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 20px);
    background-size: 70px 70px;
}

/* ================== Gallery ================== */
.gallery{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 75%;

}
figcaption{
    font-family: "Grenze", serif;
}

/* ================== Portfolio & Presentation ================== */
.portfolio{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.projet{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}
figure :hover {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}
figure img {
    width: 330px;
    max-height: 80vh;
    height: auto;
    object-fit: contain;
}
.presentation p {
    font-size: 20px;
    line-height: 1.5;
    width: 80%;
    margin: 0;
    padding: 2%;
}
.presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-bottom: 5%;
    gap: 20px;
    padding: 2%;
    border: rgb(255, 204, 137) 3px inset;
}

/* ================== Carousel ================== */
.carrousel {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 2.5%;
    position: relative;
    overflow: hidden;
    gap: 50px;
}

.carousel-container,
.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
    margin-bottom: 5%;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-image {
    width: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 3px solid rgb(255, 204, 137);
    border-radius: 10px;
}

.carousel-button {
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: rgb(255, 204, 137);
    transition: color 0.3s ease;
    background-color: transparent;
}
/* ==================Pricing============= */

.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 80%;
    gap: 50px;
}
.pricing article:hover {
    transform: rotateY(360deg);
    transition: transform 1s ease-in-out
}
.pricing img {
    width: 300px;
    height: auto;
}
.pricing article {
    border: 3px solid rgb(255, 204, 137);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    width: 300px;
    text-align: center;
    font-size: 25px;
    display: flex;
    flex-direction: column;
    background-color: rgb(33 29 37);
}
.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}
@keyframes spin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1); }
}
/* ================== Profile Picture ================== */
.pp {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgb(255, 204, 137);
}

/* ================== Socials ================== */
.rs {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    font-size: 30px;   
}



/* ================== Media Queries ================== */
@media (max-width: 1061px){
    .gallery{
        flex-direction: column;
        width: 95%;
    }
    .presentation p{
        width: 100%;
    }
}
@media (max-width: 768px) {
    .gallery, .portfolio, .presentation {
        flex-direction: column;
        align-items: center;
    }
    .contact {  
        font-size: 50px;
        height: auto;
    }
    figure img {
        width: 100%;
        max-height: 60vh;
        height: auto;
        object-fit: contain;
    }
    .pricing article{
        margin: 0;
    }
    img, video {
        max-width: 100%;
        height: auto;
    }

    .Warning {
        width: 95%;
        font-size: 20px;
    }
    article{
        flex-direction: column;
        align-items: center;
        margin-top : 5%;
    }
    article img {
        width: 250px;
    }
    .emergency{
        flex-direction: column;
    }
    .carousel-button{
        display: none;
    }
    .carousel-image{
        width: 260px;
    }
    li{
        width: 45%;
    }
    ul{
        gap: 0px;
    }
    article h1{
        font-size: 20px;
    }
    article p{
        width: 75%;
    }
    h1{
        font-size: 50px;
    }
}
