@import url('https://fonts.cdnfonts.com/css/consola-mono');

@font-face {
    font-family: 'Camel';
    src: url('../font/Camel-Regular.eot');
    src: url('../font/Camel-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/Camel-Regular.woff2') format('woff2'),
        url('../font/Camel-Regular.woff') format('woff'),
        url('../font/Camel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'consolas';
    src: url('../front/code/Consolas.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



body {
    font-family: 'Camel', sans-serif;
    /* background: url('../images/stap1.jpg') no-repeat center center fixed; */
    background-size: cover;
    margin: 0;
    padding: 0;
    color: #b27b35;
    font-weight: 900;
    text-transform: uppercase;
}

/* Base visibility control for steps (outside media query) */
.step {
    display: none;

}

.step.active {
    display: block;
}


@media (max-width: 760px) {
    .step {
        display: none;
        min-height: 100vh;
    }

    .step1 {
        background: url('../images/step1.png') no-repeat center center fixed;
        background-size: cover;
    }

    .step2 {
        background: url('../images/stap2.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    .step3 {
        background: url('../images/step1.png') no-repeat center center fixed;
        background-size: cover;
    }

    .step4 {
        background: url('../images/stap2.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    .step5 {
        background: url('../images/stap5.png') no-repeat center center fixed;
        background-size: cover;
    }

    .step7 {
        background: url('../images/stap2.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    .step.active {
        display: block;
    }

    .img-logo-step3 {
        width: 130px;
        margin-bottom: 120px;
    }

    .img-logo {
        width: 130px;
        margin-bottom: 130px;
    }

    .img-logo-step4 {
        width: 130px;
        margin-bottom: 170px;
    }

    .img-logo-step5 {
        width: 130px;
        margin-bottom: 140px;
    }

    .step-card {
        /* margin-top: 15vh; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    p {
        font-size: 42px;
    }


















    .step-card {
        width: 100%;
    }

    .neumorphic-card {
        background: transparent;
        border-radius: 20px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }



    /* Lien FOLLOW TO START */
    .follow-link {
        background-color: #FFD700;
        color: black;
        font-weight: bold;
        padding: 8px 20px;
        border-radius: 10px;
        text-decoration: none;
        margin-bottom: 20px;
        font-size: 14px;
    }

    /* Image Instagram */
    .insta-image {
        width: 250px;
        border-radius: 15px;
        box-shadow: none;
    }

    .map-image {
        width: 250px;
        border-radius: 15px;
        box-shadow: none;
    }

    /* Bouton NEXT */
    .next-btn {
        margin-top: 40px;
        background-color: #FFD700;
        color: black;
        font-weight: bold;
        padding: 10px 40px;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        cursor: pointer;
    }















    .neumorphic-card {
        width: 90%;
        /* background: linear-gradient(72deg, #b27b3566, #fcf5ed00); */
        border-radius: 24px;
        border: 2px solid transparent;
        padding: 25px 40px;
        /* box-shadow: 8px 8px 16px #dcd2c9, -8px -8px 16px #ffffff; */
        height: 40vh;
    }

    .neumorphic-card-step-3 {
        width: 90%;
        background: linear-gradient(72deg, #b27b3566, #fcf5ed00);
        border-radius: 24px;
        border: 2px solid #b27b35;
        padding: 25px 40px;
        box-shadow: none;
        height: 65vh;
    }

    .neumorphic-card-step-3-two {
        width: 90%;
        background: linear-gradient(72deg, #b27b3566, #fcf5ed00);
        border-radius: 24px;
        border: 2px solid #b27b35;
        padding: 25px 40px;
        box-shadow: none;
        height: 40vh;
    }


    .experience {
        font-size: 36px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .experience .checkbox-label {
        text-align: center;
        font-size: 40px;
    }

    .map1 {
        margin-top: 10px;
        width: 100%;
        height: 170px;
        background: #f7eade;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-size: 36px;
        font-weight: 800;
        color: #9b642b;
        padding: 5px;
    }

    .img {
        width: 100%;
        height: 160px;
        border-radius: 14px;
    }

    .map2 {
        margin-top: 1rem;
        width: 100%;
        height: 160px;
        background: #f7eade;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-size: 36px;
        font-weight: 800;
        color: #9b642b;
    }

    .fancy-checkbox {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        position: relative;
        margin-right: auto;

    }

    .fancy-checkbox input {
        opacity: 0;
        position: absolute;
    }

    .custom-checkmark {
        width: 50px;
        height: 50px;
        background: transparent;
        border-radius: 14px;
        position: relative;
        margin-right: 15px;
        flex-shrink: 0;
        box-shadow: none;
        border: 1px solid #ebebeb;
        /* Add this line for the black border */
    }

    .custom-checkmark::after {
        content: "";
        position: absolute;
        display: none;
        left: 15px;
        top: 12px;
        width: 20px;
        height: 30px;
        border: solid #FDE600;
        border-width: 0 10px 10px 0;
        transform: rotate(45deg);
    }

    .fancy-checkbox input:checked+.custom-checkmark::after {
        display: block;
    }

    .checkbox-label {
        font-weight: 800;
        color: #ebebeb;
        font-size: 14px;
        line-height: 1.05;
        text-align: left;
    }

    .step2-text2 {
        font-weight: 800;
        color: #ebebeb;
        font-size: 40px;
        line-height: 1.05;
    }

    .step2-text {
        font-weight: 800;
        color: #ebebeb;
        font-size: 30px;
        line-height: 1.05;
        text-align: left;
    }

    .step3-text {
        font-weight: 800;
        color: #ebebeb;
        font-size: 25px;
        line-height: 1.05;

        text-align: left;
    }

    .step2-text-camel {
        font-weight: 900;
        color: #FDE600;
        font-size: 60px;
        line-height: 1.05;
    }

    .step22-text-camel {
        font-weight: 900;
        color: #FDE600;
        font-size: 41px;
        line-height: 1.5;
    }

    .step4-text-camel {
        font-weight: 900;
        color: #FDE600;
        font-size: 40px;
        line-height: 1.05;
    }

    .step7-text-camel {
        font-weight: 300;
        color: #ebebeb;
        font-size: 30px;
        line-height: 1.05;
        text-align: center;
    }

    .step6-text-camel {
        font-weight: 900;
        color: #FDE600;
        font-size: 35px;
        line-height: 1.05;
    }

    .step5-text {
        font-weight: 800;
        color: #ebebeb;
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 40px;
        margin-top: 40px !important;
        text-align: left;
    }


    .step5-text-camel {
        font-weight: 900;
        color: #FDE600;
        font-size: 45px;
        line-height: 1.5;
    }

    .gender-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 85px;
    }

    .arrived-button {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }

    .locations-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .card-digital-loca {
        background: #f7eade;
        padding: 15px 10px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-weight: 800;
        color: #9b642b;
        font-size: 12px;
    }

    .gender-btn {
        width: auto;
        flex: 1;
        margin: 0 5px;
        background: #FDE600;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #1A417D;
        font-size: 18px;
        box-shadow: none;
        transition: transform 0.2s ease;
    }

    .gender-btn-male {
        width: auto;
        flex: 1;
        margin: 0 5px;
        background: #1A417D;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #FDE600;
        font-size: 20px;
        box-shadow: none;
        transition: transform 0.2s ease;
    }

    .arrived-btn {
        width: 100%;
        flex: 1;
        margin: 0 5px;
        background: #3d6193;
        border: none;
        white-space: nowrap;
        border-radius: 14px;
        padding: 10px 35px;
        font-weight: bold;
        color: #ffffff;
        font-size: 18px;
        box-shadow: none;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .prev-btn {
        width: 100%;
        flex: 1;
        margin: 0 5px;
        background: silver;
        border: none;
        white-space: nowrap;
        border-radius: 14px;
        padding: 10px 35px;
        font-weight: bold;
        color: #000000;
        font-size: 18px;
        box-shadow: none;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .gender-btn:hover {
        transform: scale(1.05);
    }

    /* Fade animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }

    .animate-fade-in {
        animation: fadeIn 0.4s forwards;
    }

    .animate-fade-out {
        animation: fadeOut 0.4s forwards;
    }

    .img-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 90%;
        max-height: 80%;
        margin: auto;
        display: block;
        border-radius: 12px;
        box-shadow: none;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }



    #map {
        height: 100vh;
        width: 100%;
    }

    #locationButton {
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        padding: 10px;
        background: white;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
    }

    #distanceInfo {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        border-radius: 8px;
        font-family: sans-serif;
        font-size: 14px;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .pulsating-marker {
        animation: pulse 1.5s infinite;
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 2000;
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        background: url('../images/stap2.jpg') no-repeat center center fixed;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        max-width: 80%;
        box-shadow: none;
    }

    .modal-title {
        font-size: 1.5em;
        margin-bottom: 15px;
        color: #ffffff;
        font-family: 'Camel', sans-serif;
    }

    .modal-code {
        font-size: 2em;
        font-weight: bold;
        margin: 20px 0;
        color: #FDE600;
        letter-spacing: 3px;
        font-family: 'consolas';

    }

    .modal-button {
        background-color: #112532;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }

    .modal-button:hover {
        background-color: #328095;
    }





    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10000;
    }

    .popup-content {
        background-color: #fff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        text-align: center;
        max-width: 90%;
    }

    .popup-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .popup-content button {
        background-color: #333;
        color: #fff;
        border: none;
        padding: 10px 25px;
        border-radius: 6px;
        cursor: pointer;
    }





}