@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nothing+You+Could+Do&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

p {
    font-family: "Montserrat", sans-serif;
}

.text_graph {
    font-family: sans-serif;
    font-weight: 300;
    font-style: normal;
}

:root {
    --main-color-1: #272525;
    --main-color-2: #FCE8F9;
    --main-color-3: #FFFAED;
    --main-color-5: #FD9D3E;
    --main-color-4: #fd9d3ec9;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    font-family: sans-serif;
    color: var(--main-color-1);
}

.page_container {
    width: 100%;
    max-width: 1950px;
    margin: 0 auto;
    background: var(--main-color-3);
}

.head_container {
    width: 100%;
    height: 100vh;
    max-height: 850px;
    background: url("../img/bgk/bg-1.webp") no-repeat center/cover;
    position: relative;
    overflow: hidden;
}

.head_container::after {
    content: "";
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: url("../img/bg/order-top.png") no-repeat bottom/cover;
}

.navbar {
    width: 100%;
    height: 80px;
    background: var(--main-color-1);
    background: #0000004e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    z-index: 2000;
}

.navbar.scrolled {
    background: var(--main-color-1); /* Couleur sombre */
    transition: background 0.3s ease; /* Animation fluide */
}

.logo_apollo {
    color: var(--main-color-2);
    font-weight: bold;
    font-size: clamp(2rem, 2vw, 3rem);
}

.menu_nav {
    display: flex;
    transition: all 0.4s ease;
}

.list_nav {
    margin: 10px;
    font-size: clamp(1.22rem, 2vw, 1.33rem);
}

.link_nav {
    color: var(--main-color-5);
}

.mob_nav {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
    padding-top: 20px;
    cursor: pointer;
}

.li {
    display: block;
    width: 40px;
    height: 5px;
    background: var(--main-color-5);
    transition: all 0.4s ease;
}

.li1 {
    transform: translateY(-5px);
}
.li3 {
    transform: translateY(5px);
}

.mob_nav.active .li2 {
    opacity: 0;
}
.mob_nav.active .li1 {
    transform: translateY(5px) rotate(-135deg);
}
.mob_nav.active .li3 {
    transform: translateY(-5px) rotate(135deg);
}

.presentation_text {
    width: 100%;
    height: calc(100vh - 25px - 80px);
    max-height: 740px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head_text {
    width: 80%;
    max-width: 650px;
    min-width: 300px;
    min-height: 150px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-color-3);
    background-color: #19191996;
    border-radius: 40px;
    text-align: center;
}

.welcome {
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.pizzeria_name {
    font-size: clamp(2.1rem, 3vw, 3rem);
}
.name_subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.menu_card_button {
    color: var(--main-color-1);
    background-color: var(--main-color-5);
    font-size: 1.5rem;
    width: 250px;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    margin-top: 30px;
}

.menu_card_button:hover{
    background: var(--main-color-4);
}

.main_container {
    width: 100%;
}

.call_section {
    width: 100%;
    padding: 40px 20px;
    background: var(--main-color-5);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.call_div {
    width: 33%;
    max-width: 450px;
    min-width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.uil-logo {
    font-size: 2rem;
    color: var(--main-color-2);
    text-align: center;
    background: var(--main-color-1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
}

.call_text {
    text-align: center;
    color: var(--main-color-1);
    font-size: 1.45rem;
    font-weight: bold;
}

.banner_text {
    padding: 40px;
    width: 100%;
    background: var(--main-color-1);
    font-size: 2rem;
    color: var(--main-color-3);
    position: relative;
}

.banner_text p {
    text-align: center;
    padding: 40px 10px;
}

.services {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.about_services {
    width: 100%;
    min-width: 350px;
    padding: 20px;
}

.about_textual {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    color: #46464e;
}

.title_about {
    font-size: 2rem;
    text-align: center;
    margin: 20px;
}

.cards_tips {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.tips_card {
    width: 240px;
    margin: 30px 10px;
    position: relative;
    text-align: center;
}

.tips_card p {
    width: 100%;
    text-align: center;
    color: var(--main-color-1);
    font-weight: bold;
    position: absolute;
    bottom: -30px;
}

.about_info {
    width: 100%;
    min-height: 100px;
    padding: 10px 40px;
}

.prd_li {
    font-size: 1.5rem;
    list-style: circle;
}

.banner_dynamique {
    overflow: hidden;
    padding: 60px;
    background: var(--main-color-5);
    font-size: 5rem;
    margin: 120px 0 40px 0;
    position: relative;
    white-space: nowrap;
    width: 100%;
    text-transform: uppercase;
}

.banner_wrapper {
    display: flex;
    width: max-content;
    display: -webkit-box;
    line-height: 30px;
    -webkit-animation: defilement 60s linear infinite forwards;
    animation: defilement 60s linear infinite forwards;
}

.banner_content {
    display: flex;
    font-weight: bold;
    color: var(--main-color-1);
    font-size: 1.75rem;
}

.banner_content span {
    margin-right: 50px;
}

@keyframes defilement {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.banner_wrapper:hover {
    animation-play-state: paused;
}

.publicite {
    width: 100%;
    min-height: 250px;
    background: var(--main-color-3);
    color: var(--main-color-1);
    padding: 40px 20px;
}

.pub_title {
    text-align: center;
    font-size: 2.75rem;
    margin: 40px;
    color: var(--main-color-1);
    text-transform: uppercase;
}

.offre_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.offre_contain {
    margin: 30px;
    overflow: hidden;
    border-radius: 15px;
}

.about_section {
    width: 100%;
    height: 100%;
    max-height: 950px;
    background: var(--main-color-3);
}

.pizza_title {
    text-align: center;
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    font-weight: 600;
    font-style: normal;
    color: var(--main-color-2);
    margin-bottom: 10px;
}
.apollo_title {
    text-align: center;
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    font-weight: 600;
    font-style: normal;
    color: var(--main-color-1);
    margin-bottom: 10px;
}

.pizza_subtitle {
    text-align: center;
    font-size: clamp(1.12rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: normal;
    color: var(--main-color-1);
}

.button_cards {
    width: 100%;
    padding: 40px 0;
    margin: 40px 0;
}

.buttons_list {
    display: block;
    margin: 0 auto;
    width: 80%;
    max-width: 300px;
    padding: 15px;
    font-size: 1.25rem;
    border-radius: 8px;
    font-weight: bold;
    background: var(--main-color-3);
}

.buttons_list option {
    padding: 5px;
}

.li_button {
    width: 160px;
    background-color: var(--main-color-5);
    padding: 10px;
    margin: 10px;
    border-radius: 20px;
    text-align: center;
    color: var(--main-color-3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.li_button:hover {
    background-color: var(--main-color-2);
}

.li_button.active {
    background-color: var(--main-color-2);
    color: var(--main-color-5);
}

.slider_container {
    max-width: 1200px;
    margin: 20px auto;
}

.cards_menu {
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.card_pizza {
    width: 300px;
    height: 450px;
    margin: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: #272525f1;
    border: 1px solid var(--main-color-5);
    box-shadow: 6px 2px 29px 7px rgba(230, 218, 218, 0.048);
    color: var(--main-color-2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card_pizza::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: url("../img/bgk/bg-2_1.webp") center/contain;
    opacity: 0.15;
    pointer-events: none;
}

.card_pizza:hover {
    transform: scale(1.05);
}

.img_pizza {
    width: 180px;
    height: 180px;
    margin: 10px auto;
    object-fit: cover;
}

.pizza_ing {
    padding: 10px;
    border-top: 5px solid var(--main-color-5);
}

.p_ing {
    height: 100px;
}

.price {
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) ;
    font-size: 1.45rem;
    font-weight: bold;
    color: var(--main-color-5);
}

.about_container {
    padding: 40px 0;
    position: relative;
    z-index: 0;
    background: var(--main-color-3);
}

.main_contain {
    position: relative;
    z-index: 0;
}

.section_services {
    width: 100%;
    padding: 40px 20px;
    background: var(--main-color-3);
}

.services_title {
    text-align: center;
}

.services_card {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card_menu {
    width: 320px;
    height: 320px;
    margin: 20px;
    border-radius: 20px;
}

.phone,
.up_button {
    width: 60px;
    height: 60px;
    background: var(--main-color-5);
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
}

.phone {
    position: fixed;
    display: inline-flex;
    z-index: 1001;
    opacity: 0;
    color: var(--main-color-1);
    left: 30px;
    font-size: 2.8rem;
    border: 2px solid var(--main-color-1);
    pointer-events: auto;
}

.phone:hover {
    background: rgb(14, 199, 48);
}

.phone i {
    pointer-events: none;
}

.up_button.visible {
    opacity: 1;
    pointer-events: auto;
}

.footer_container {
    width: 100%;
    min-height: 550px;
    background: var(--main-color-5);
}

.footer_head {
    width: 100%;
    background: var(--main-color-1);
    color: var(--main-color-3);
    font-weight: bold;
    text-align: center;
}

.footer_head p {
    font-size: 1.75rem;
    padding: 40px 10px;
}

.footer_down {
    width: 100%;
    padding: 80px 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.footer_card {
    max-width: 300px;
    min-height: 150px;
    margin: 40px;
}

.about_us {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--main-color-1);
}

.us_about_text i {
    color: var(--main-color-1);
    font-size: 1.45rem;
}

.us_about_text {
    font-size: 1.15rem;
}

.service_li {
    margin-bottom: 10px;
}

.copyright {
    padding: 40px;
}

.copy_text {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color-1);
}

.span_bar {
    display: block;
    width: 150px;
    height: 5px;
    background: var(--main-color-1);
    margin: 10px auto;
}

.map_tip {
    width: 100%;
    height: 450px;
}

.craft_tips {
    width: 100%;
    height: 500px;
    background: url("../img/bgk/craft.webp") bottom/cover no-repeat;
}

@media screen and (max-width: 920px) {
    .mob_nav {
        display: block;
    }

    .menu_nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--main-color-3);
        margin: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .menu_nav.active {
        height: 300px;
    }

    .menu_nav .link_nav {
        color: var(--main-color-1);
        font-weight: bold;
    }

    .head_container{
        background-position: bottom 0 right 0;
        background-size: cover;
    }
}

@media screen and (max-width: 768px) {
    .about_services {
        width: 100%;
    }

    .cards_menu {
        margin-top: 40px;
        padding: 10px 0;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-x: auto;
        justify-content: center;
    }

    .card_pizza {
        width: 80% !important;
        max-width: 300px;
        flex: 0 0 auto;
    }

    .tips_card {
        width: 140px;
        margin: 30px 10px;
    }

    .footer_down {
        justify-content: start;
    }

    .phone {
        font-size: 2.5rem;
            opacity: 1;
            border: 5px solid var(--main-color-1);
            cursor: pointer;
            animation-name: clin;
            animation-duration: 2s;
            animation-iteration-count: infinite;
        }
        
        
    
        
        
        @keyframes clin {
            from {
                background-color: var(--main-color-4);
            }
            to {
                color: var(--main-color-1);
                background-color: #3BAA49;
            }
        }
        .phone:hover {
        animation-duration: 0s;
        background-color: #3BAA49;
        transform: scale(1.2);
    }
}

@media screen and (max-width: 400px) {
    .head_text {
        padding: 20px 10px;
    }

    .menu_card_button {
        width: 200px;
        font-size: 1.2rem;
    }
}