@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root
{
    --accent-color: #FE7743;
    --secondary-color: #1E3E62;
}


*{
    margin: 0;
    padding: 0;
    font-family: Poppins, serif;
    cursor: none;
}

@font-face{
    font-family: 'japan';
    src: url('fonts/KaoriGelBold.ttf');
}

@font-face{
    font-family: 'japan2';
    src: url('fonts/Sdasian-WyDon.ttf');
}


#c-cursor
{
    width: 30px;
    height: 30px;
    position: absolute;
    position: fixed;
    z-index: 100;
    pointer-events: none;
    object-position: top center;
    object-fit: cover;
}

body
{
    font-family: Poppins, serif;
    min-height: 100vh;
    overflow-x: hidden;
}


header
{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: start;
    gap: 113px;
    position: relative;
    height: 570px;
}

.nav-content
{
    width: 93%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.nav-content .desktop-nav
{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 81px;
    font-family: 15px;
}


.nav-content .desktop-nav li a
{
    padding: 5px 8px;
    text-decoration: none;
    position: relative;
    color: white;
    transition: all linear .3s;

}

.nav-content .desktop-nav li a:hover, .nav-content .desktop-nav li a.active
{
    font-weight: 500;
    background: rgba(255, 255, 255, 0.356);
    border-radius: 15px;
}

.nav-content .desktop-nav li a::before, .nav-content .desktop-nav li a.active::before
{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width .3s ease-in-out;
    transform-origin: center;

}

.nav-content .desktop-nav li a:hover::before, .nav-content .desktop-nav li a.active:hover::before
{
    width: 90%;
}

.login, .login-drop {
    width: 192px;
}

.login a, .login-drop a {
    width: 100%;
    text-decoration: none;
}

.login button, .login-drop button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--accent-color), #ff8c5a);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 119, 67, 0.3);
}

.login button:hover, .login-drop button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 119, 67, 0.4);
}

.burger-menu {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 101;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}


.burger-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-nav {
    flex-direction: column;
    position: absolute;
    right: 0;
    width: 280px;
    background: linear-gradient(135deg, rgba(30, 62, 98, 0.95) 0%, rgba(254, 119, 67, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px 0;
    z-index: 100;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav li {
    margin: 5px 0;
    list-style: none;
}

.mobile-nav li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 25px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav li a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

.mobile-nav button {
    background: linear-gradient(45deg, var(--accent-color), #ff8c5a);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin: 15px 25px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(254, 119, 67, 0.3);
}

.mobile-nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 119, 67, 0.4);
}


header > img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.6);
    transition: transform 0.3s ease-out;
    object-fit: cover;
    scale: 1.05;
    z-index: -1;
    transform-origin: center;

    mask-image: linear-gradient(black, black, black, transparent);
    /* animation: fade-out linear;
    animation-timeline: scroll(root); */
}


/* @keyframes fade-out {
    to{
        scale: 2;
        filter: brightness(0.9);
        opacity: 0;
    }
} */




@keyframes hero-animation
{
    0%{
        transform: translate(0px, 0);
    };


    100%{
        transform: translate(15px, 12px);
    }
}


header .inside-hero
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 30px;
    /* animation: text-out linear;
    animation-timeline: view();
    animation-range: exit -200px; */
}


@keyframes text-out {
    to{
        opacity: 0;
    }
}

header .inside-hero .description
{
    max-width: 602px;
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


header .inside-hero .title
{
    font-family: Poppins, serif;
    font-size: 50px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

header .inside-hero .title span
{
    font-family: Poppins;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


header .inside-hero .buttons, .special-event-card .buttons
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

header .inside-hero .buttons a, .special-event-card .buttons a
{
    text-decoration: none;
}



header .inside-hero .buttons a button, .special-event-card .buttons a button
{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;

    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}


header .inside-hero .buttons a:last-child button,
.special-event-card .buttons a:last-child button
{
    background-color: var(--accent-color);
    border: none;
    color: white;
}


header .inside-hero .buttons a:first-child button,
.special-event-card .buttons a:first-child button
{
    background-color: transparent;
    border: solid 2px white;
    color: white;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
}

.inside-hero .buttons a:first-child button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}


.inside-hero .buttons a:last-child button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 119, 67, 0.4);
}


header .inside-hero .buttons a button i,
.special-event-card .buttons a button i
{
    font-size: 18px;
}


/*responsive design */

@media(max-width: 1024px)
{
    .nav-content {
        width: 95%;
    }

    .desktop-nav
    {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .login, .desktop-nav {
        display: none !important;
    }

    .burger-menu {
        display: block;
    }

    .inside-hero .title {
        font-size: 40px !important;
    }

    .inside-hero .description {
        font-size: 15px !important;
    }

    .inside-hero .buttons {
        flex-direction: column;
        width: 100%;
    }

    .inside-hero .buttons button {
        width: 100%;
        max-width: 280px;
    }

    header {
        gap: 40px;
        min-height: 500px;
    }
}


@media (max-width: 480px) {
    .inside-hero .title {
        font-size: 32px !important;
    }

    .inside-hero .description {
        font-size: 14px important;
    }

    .burger-menu {
        font-size: 20px;
        padding: 8px;
    }

    .mobile-nav {
        width: calc(100vw - 80px);
        right: -10px;
    }

    .inside-hero .buttons button {
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }

    header {
        min-height: 450px;
    }
}

@media (max-width: 360px) {
    .nav-content {
        width: 98%;
    }

    .inside-hero .title {
        font-size: 28px;
    }

    .mobile-nav {
        width: calc(100vw - 20px);
        right: -5px;
    }
}

main
{
    margin-top: 60px;
    width: 93%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin-inline: auto;
    gap: 90px;
    position: relative;
}

.e-shape
{
    width: 600px;
    height: 100vh;
    border-radius: 34% 60% 60% 22%;
    position: fixed;
    background-color: rgba(254, 120, 67, 0.129);
    filter: blur(70px);
    z-index: -20;
    top: 0px;
    left: 0px;
}

.e-shape2
{
    width: 600px;
    height: 300px;
    border-radius: 34% 60% 60% 22%;
    position: absolute;
    background-color: rgba(254, 120, 67, 0.129);
    filter: blur(70px);
    z-index: -20;
    top: 0px;
    right: -100px;
}

main .title, main .title span
{
    font-size: 40px;
    font-weight: 500;
    color: var(--secondary-color);
}

.next-event
{
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 25px;
}


main .desc
{
    max-width: 673px;
    color: var(--secondary-color);
    text-align: center;
}

.special-event-card {
    width: 100%;
    height: fit-content;
    position: relative;
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.special-event-card img {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    top: 0;
    object-fit: cover;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 24.7% 100%);
}

.special-event-card .left-side {
    max-width: 50%;
    padding: 20px;
    display: flex;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    gap: 30px;
    width: 49%;
}

.special-event-card .left-side .event-head {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}

.special-event-card .left-side .event-head .event-title {
    font-size: 32px;
    color: var(--accent-color);
    font-weight: 500;
}

.special-event-card .left-side .event-head .event-delay {
    font-size: 20px;
    color: white;
}

.special-event-card .left-side .event-description {
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.special-event-card .buttons {
    justify-content: start;
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
}

.special-event-card .buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.special-event-card .buttons button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablettes (768px - 1023px) */
@media (max-width: 1023px) {
    .special-event-card .left-side {
        max-width: 60%;
        width: 58%;
        padding: 15px;
        gap: 20px;
    }

    .special-event-card img {
        width: 42%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%);
    }

    .special-event-card .left-side .event-head .event-title {
        font-size: 24px;
    }

    .special-event-card .left-side .event-head .event-delay {
        font-size: 16px;
    }
}

/* Tablettes petites (640px - 767px) */
@media (max-width: 767px) {
    .special-event-card {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }

    .special-event-card .left-side {
        max-width: 100%;
        width: 100%;
        padding: 20px;
        gap: 20px;
        z-index: 2;
        position: relative;
    }

    .special-event-card img {
        position: absolute;
        width: 100%;
        height: 50%;
        bottom: 0;
        right: 0;
        top: auto;
        clip-path: polygon(0% 40%, 100% 0%, 100% 100%, 0% 100%);
        border-radius: 0 0 10px 10px;
    }

    .special-event-card .left-side .event-head .event-title {
        font-size: 22px;
    }

    .special-event-card .left-side .event-head .event-delay {
        font-size: 14px;
    }

    .special-event-card .buttons {
        flex-direction: row;
        justify-content: start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .special-event-card .buttons button {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}

/* Mobiles (480px et moins) */
@media (max-width: 480px) {
    .special-event-card {
        margin: 0 10px;
        min-height: 450px;
    }

    .special-event-card .left-side {
        padding: 15px;
        gap: 15px;
    }

    .special-event-card .left-side .event-head .event-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .special-event-card .left-side .event-head .event-delay {
        font-size: 12px;
    }

    .special-event-card .left-side .event-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .special-event-card .buttons button {
        padding: 9px;
        font-size: 14px;
    }

    .button-text {
        display: block;
    }
}

/* Très petits écrans (320px et moins) */
@media (max-width: 320px) {
    .special-event-card .left-side .event-head .event-title {
        font-size: 16px;
    }

    .special-event-card .left-side .event-head .event-delay {
        font-size: 11px;
    }

    .special-event-card .buttons button {
        padding: 10px;
        font-size: 13px;
    }

    .button-text {
        font-size: 12px;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .special-event-card .buttons button {
        transition: none;
    }

    .special-event-card .buttons button:hover {
        transform: none;
    }
}

.discorver
{
    background: linear-gradient(270deg, rgba(254, 119, 67, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
    padding: 30px;
    height: 270px;

}

.discorver .disc-container
{
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    gap: 30px;
}

.disc-container .title
{
    color: white;
}

.disc-container .description
{
    color: white;
    text-align: center;
    max-width: 808px;
    font-size: 15px;
}


.shower
{
    height: 400dvh;
    width: 100%;
    position: relative;
}

.shower .img-container
{
    width: 100%;
    height: 100dvh;
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
}

.e-bottom
{
    width: 100%;
    height: 500px;
}


.modal
{
	display: none;
	transition-behavior: allow-discrete;
	transition-property: display opacity;
	transition-duration: .4s;
	background-color: #1e3e624b;
	opacity: 0;
}

.modal.show
{
	display: flex;
    opacity: 1;
	/* @starting-style{
        transform:translateX(-100%) ;
	} */
}


.modal form
{
	transition-behavior: allow-discrete;
	transition-property: display opacity;
	margin-top: 100px;
	transition-duration: .4s;
	transform: translateX(-20vw);
    opacity: 0;
}


.modal .ajust
{
	margin-top: 50px;
}


/*
.modal .ajustContract
{
	margin-top: 10px;
} */


.modal.show form
{
	transform: translateX(0);
    opacity: 1;
	@starting-style{
		transform: translateX(20vh);
        opacity: 0;
	}
}


/* Making the header responsive */

header
{

}
