:root{
    --oldschool: red;
    --electro: blue;
    --karaoke: green;
}


.container,
.menu-section,
.event {
    position: relative;
    overflow: hidden;
}

.container::before,
.menu-section::before,
.event::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.container > *,
.menu-section > *,
.event > * {
    position: relative;
    z-index: 2;
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: 
        linear-gradient(rgba(45, 45, 45, 0.9), rgba(45, 45, 45, 0.9)),
        url("ressources/bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body *::selection {
    color: rgb(255, 0, 247);
}

main {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: rgb(255, 146, 224);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}

header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    border-radius: 10px;
}

nav ul {
    list-style-type: none;
    margin: 10px 0 10px 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

nav ul li {
    background-color: rgb(240, 250, 255);
    border-radius: 10px;
    padding: 5px 5px;
    transition: transform 0.2s ease;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

nav ul li:hover {
    transform: scale(1.1);
}

nav ul li.active {
    background-color: #444444;
    box-shadow: 0 0 20px 5px #e048db;
}

nav ul li.active a {
    color: white;
}

.menu-section {
    text-align: center;
    margin: 20px;
    background-color: #666666;
    border-radius: 25px;
    padding: 15px;
    border: solid 2px #002fff;
}

.menu-section:hover {
    /*box-shadow: 0 0 20px 5px #002fff;*/
    transform: scale(1.02);
    background-color: #888888;
}

.menu-section h2 {
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
    color: white;
    background-color: #555555;
    font-size: 22px;
    margin-bottom: 15px;
    text-transform: uppercase;
    border: solid 2px #e048db;
    border-radius: 8px;
    width: fit-content;
    transform-origin: center;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(to top left, rgb(255, 181, 245), rgb(210, 49, 210));
    border-radius: 20px;
    padding: 15px;
}

.menu-item{
    border: solid 2px #e048db;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.menu-item h3 {
    margin: 0;
    padding-top: 0;
    margin-bottom: auto;
}

.menu-item p {
    margin: 0;
    text-align: center;
}

.menu-item .price {
    margin: 0;
    padding-bottom: 0;
    margin-top: auto;
}

.menu-section{
    perspective:1000px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            background-color 0.4s ease
}



.menu-section:hover h2{
    transform: rotateX(360deg);
}


.menu-item:hover {
    transform: scale(1.04) rotate(4deg);
}

.menu-item .price{
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    justify-content: bottom;
}

.event-list{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.event {
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(255, 146, 224), rgb(255, 255, 255));
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 0, 183, 0.3);
    box-shadow:
        0 0 15px rgba(255, 0, 183, 0.15),
        0 0 40px rgba(255, 0, 183, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.event:hover {
    box-shadow:
        0 0 25px rgba(255, 0, 183, 0.4),
        0 0 70px rgba(255, 0, 183, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.infos{
    border: solid 2px #e048db;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
}


[type="oldschool"] {
    box-shadow:
        -5px 0 0 0 var(--oldschool),
        0 0 15px rgba(255, 0, 0, 0.2),
        0 0 40px rgba(255, 0, 0, 0.06);
}
[type="electro"] {
    box-shadow:
        -5px 0 0 0 var(--electro),
        0 0 15px rgba(0, 0, 255, 0.2),
        0 0 40px rgba(0, 0, 255, 0.06);
}
[type="karaoke"] {
    box-shadow:
        -5px 0 0 0 var(--karaoke),
        0 0 15px rgba(0, 255, 0, 0.2),
        0 0 40px rgba(0, 255, 0, 0.06);
}



.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    gap: 3px;
    z-index: 2000;
    position: relative;
    width: 32px;
    height: 32px;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.container p {
    color: #000000;
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #444444;
    border: 1px solid rgba(255, 0, 183, 0.4);
    border-radius: 10px;
    box-shadow:
        0 0 20px rgba(255, 0, 183, 0.25),
        0 0 60px rgba(255, 0, 183, 0.1),
        0 0 120px rgba(255, 0, 183, 0.04),
        inset 0 0 40px rgba(255, 0, 183, 0.05),
        inset 0 1px 0 rgba(255, 0, 183, 0.2);
    transition: all 0.3s ease;
}

.container:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 30px rgba(255, 0, 183, 0.45),
        0 0 80px rgba(255, 0, 183, 0.2),
        0 0 160px rgba(255, 0, 183, 0.08),
        inset 0 0 60px rgba(255, 0, 183, 0.08),
        inset 0 1px 0 rgba(255, 0, 183, 0.3);
}

.container h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.neon{
    color: #eaffff;
    text-shadow: 
        0 0 4px rgba(0, 255, 255, 0.6),
        0 0 10px rgba(0, 255, 255, 0.4),
        0 0 20px rgba(0, 255, 255, 0.2);
}

.texte {
    background-color: #F4F4F4;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.texte a {
    color: rgb(255, 0, 183);
    text-decoration: none;
    font-weight: bold;
}

.texte a:hover {
    text-decoration: underline;
}


.map-container {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 450;
    border: none;
    display: block;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.BIGDATE{
    font-size: 24px !important;
    font-weight: bold;
    color: #333333;
    margin-left: auto;
    text-align: center;
}


.dj {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.theme{
    font-size: 18px;
    color: #ff00e1 !important;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #444444;
    color: #ffffff;
    margin-top: auto;
    border-top: 2px solid rgb(255, 146, 224);
}


@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }

    header h1 {
        font-size: 20px;
    }

    header .logo {
        width: 45px;
        height: 45px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(68, 68, 68, 0.98);
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1500;
        padding-top: 80px;
        overflow-y: auto;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        border-radius: 0;
        padding: 0;
        background-color: transparent;
        margin: 0;
        border-bottom: 1px solid rgba(255, 146, 224, 0.3);
    }

    nav ul li:hover {
        background-color: rgba(255, 146, 224, 0.2);
    }

    nav ul li a {
        padding: 15px 20px;
        font-size: 16px;
        display: block;
        color: white;
    }

    nav ul li.active {
        background-color: rgb(255, 146, 224);
        box-shadow: none;
        border-bottom: 2px solid #e048db;
    }

    nav ul li.active a {
        color: #333333;
        font-weight: bold;
    }

    .container {
        padding: 15px;
    }

    .container h1 {
        font-size: 24px;
    }

    main {
        padding: 15px;
    }

    .container p {
        font-size: 16px;
    }

    .texte {
        padding: 12px;
    }

    .menu-section {
        margin: 15px 0;
        padding: 12px;
    }

    .menu-section h2 {
        font-size: 18px;
        padding: 8px 15px;
        margin-bottom: 12px;
    }

    .menu-items {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .menu-item {
        width: calc(50% - 5px);
        padding: 8px;
    }
}


@media (max-width: 480px) {
    header {
        padding: 10px 12px;
    }

    .logo-title {
        gap: 8px;
    }

    header .logo {
        width: 40px;
        height: 40px;
    }

    header h1 {
        font-size: 18px;
    }

    .container {
        padding: 12px;
        border: 3px solid rgba(255, 0, 183, 0.7);
    }

    .container h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .container p {
        font-size: 14px;
    }

    .texte {
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 14px;
    }
    min-width: 500px;
    }

    table th, table td {
        padding: 6px 4px;
        font-size: 13

    nav ul li {
        padding: 10px 15px;
    }

    nav ul li a {
        font-size: 14px;
    }

    main {
        padding: 10px;
    }

    footer {
        padding: 15px 10px;
        font-size: 13px;
    }

    .map-container iframe {
        aspect-ratio: 300 / 225;
    }

    .menu-section {
        margin: 10px 0;
        padding: 10px;
        border-radius: 15px;
    }

    .menu-section h2 {
        font-size: 16px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .menu-items {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        border-radius: 15px;
    }

    .menu-item {
        width: 100%;
        padding: 8px;
        border-radius: 8px;
    }

    .menu-item h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .menu-item p {
        font-size: 12px;
        margin: 4px 0;
    }

    .menu-item .price {
        font-size: 14px;
    }
}


@media print {
    header, footer, .menu-toggle, nav {
        display: none;
    }

    body {
        background: white;
    }

    .container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
