/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    background: #F8F9FA;
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6; /* Merged from redundant body styles */
    color: #333; /* Merged from redundant body styles */
}

/* Header */
header.site-header {
    width: 100%;
    background: #F8F9FA;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 90px;
    border-bottom: 1px solid #e3e3e3;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.site-header.scrolled {
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 50px;
    height: 80px;
}

/* Styles pour le logo de la page laser */
body.page-laser .logo img {
    height: 80px; 
    transition: height 0.3s ease;
}

body.page-laser header.site-header.scrolled .logo img {
    height: 60px; /* Ajuste la hauteur quand scrollé */
}

.logo img {
    height: 180px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

header.site-header.scrolled .logo img {
    height: 140px;
}

.navigation {
    display: flex;
    gap: 32px;
    font-size: 1.1em;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.navigation a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.2s, opacity 0.4s ease;
}

.navigation a.active,
.navigation a:hover {
    color: #6AC7ED;
}

header.site-header.scrolled .navigation a {
    opacity: 0.9;
}

.burger-menu {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #222;
    background: none;
    border: none;
}

.burger-menu.active .fa-bars {
    display: none;
}

.burger-menu .fa-times {
    display: none;
}

.burger-menu.active .fa-times {
    display: inline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header.site-header {
        padding: 0 20px; /* Réduit le padding pour rapprocher logo et burger */
    }

    header.site-header.scrolled {
        padding: 0 15px;
    }

    .logo {
        margin-left: -10px; /* Rapproche le logo du bord gauche */
    }

    body.page-laser .logo {
        margin-left: 0; /* Ajuste la marge pour laser si besoin */
    }

    .burger-menu {
        display: block;
        margin-right: 10px; /* Rapproche le burger du bord droit */
    }

    body.page-laser .burger-menu {
        margin-right: 0; /* Ajuste la marge pour laser si besoin */
    }

    .navigation {
        display: none;
        position: absolute;
        top: 90px;
        right: 20px;
        left: 20px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 1000;
    }

    .navigation.open {
        display: flex;
    }

    .navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header.site-header {
        padding: 0 10px;
    }

    header.site-header.scrolled {
        padding: 0 8px;
    }

    .logo img {
        height: 120px;
    }

    body.page-laser .logo img {
        height: 60px; /* Ajuste pour laser en mobile */
    }

    .site-header.scrolled .logo img {
        height: 40px;
    }

    body.page-laser header.site-header.scrolled .logo img {
        height: 50px; /* Ajuste pour laser scrollé en mobile */
    }

    .navigation {
        top: 70px;
        right: 15px;
        left: 15px;
        padding: 0.8rem;
    }
}
/* Promo Hero (gammarth.php) */
.promo-hero {
    width: 100%;
    height: 600px;
    background: linear-gradient(122deg, #FCF2F9 3.97%, #FFE700 668.39%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 0;
    margin-top: 80px;
}

/* Contenu sans padding */
.promo-content {
    max-width: 600px;
    padding: 40px;
    margin: 40px;
    margin-top: 40px;
}

.promo-title {
    color: #EE673A;
    font-size: 3.2em;
    font-weight: 900;
    text-transform: uppercase;
}

.promo-desc {
    color: #222;
    font-size: 1.3em;
    margin-bottom: 36px;
}

.promo-btn {
    background: #fff;
    color: #EE673A;
    font-weight: bold;
    font-size: 1.2em;
    border: 2.5px solid #EE673A;
    border-radius: 14px;
    padding: 18px 48px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.promo-btn:hover {
    background: #EE673A;
    color: #fff;
}

.promo-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 60px 40px 40px 40px;
    position: relative;
    align-items: flex-end;
    padding: 60px;
}

.promo-images img {
    width: 300px;
    height: 210px;
    object-fit: cover;
    border-radius: 48px;
    box-shadow: 0 2px 16px #0002;
    display: block;
    position: relative;
    z-index: 1;
    background: #eee;
}

.promo-images img:first-child {
    margin-bottom: -60px;
    z-index: 2;
}

.promo-images img:last-child {
    margin-top: 0;
    margin-right: -30px;
    z-index: 1;
}

/* Promo Ennasr (ennasr.php) */
.promo-ennasr {
    width: 100%;
    height: 600px;
    background: #EEE1FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    margin-top: 80px;
    padding: 0;
    border-radius: 0;
}

.promo-title-ennasr {
    color: #9D01FF;
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* Services Section (gammarth.php and ennasr.php) */
.services-section {
    width: 1621px;
    max-width: 98vw;
    min-height: 649px;
    padding: 48px 60px;
    margin-top: 4px;
}

.services-title {
    color: #5B70FF;
    font-size: 2.2em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.services-desc {
    text-align: center;
    color: #222;
    font-size: 1.1em;
    margin-bottom: 38px;
}

.services-cards {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1621px;
    height: 649px;
    background: var(--colors-neutral-0, #FFF);
    border-radius: 32px;
    box-shadow: 0 2px 16px #0001;
    padding: 40px 48px;
    margin: 0 auto;
    gap: 48px;
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-img-wrapper {
    position: relative;
    width: 677px;
    height: 499px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-img {
    width: 677px;
    height: 499px;
    object-fit: cover;
    border-radius: 24px;
    background: #e3e3e3;
    display: block;
}

.service-label {
    position: absolute;
    top: -10px;
    right: -10px;
    display: inline-block;
    font-size: 0.9em;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 8px #0001;
}

.service-label.play-station-5,
.service-label.verrieres {
    background-color: #F1E74B;
}

.service-label.arcade,
.service-label.geek-store {
    background-color: #6AC7ED;
}

.service-label.tables-tactiles,
.service-label.plein-air {
    background-color: #C8CF33;
}

.service-label.teen-floor,
.service-label.playground {
    background-color: #F18817;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
}

.service-title {
    font-size: 1.6em;
    font-weight: 800;
    margin-bottom: 16px;
    color: #222;
}

.service-desc {
    font-size: 1.15em;
    color: #444;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Medium desktop adjustments for 1101px to 1450px */
@media (min-width: 1101px) and (max-width: 1450px) {
    .promo-hero, .promo-ennasr {
        height: auto;
        min-height: 500px;
    }

    .promo-content {
        max-width: 45%;
        padding: 30px;
        margin: 30px;
    }

    .promo-title, .promo-title-ennasr {
        font-size: 2.8em;
    }

    .promo-desc {
        font-size: 1.2em;
    }

    .promo-btn {
        padding: 16px 40px;
        font-size: 1.1em;
    }

    .promo-images {
        margin: 40px 30px 30px 30px;
        padding: 40px;
        align-items: center;
    }

    .promo-images img {
        width: 250px;
        height: auto;
        border-radius: 40px;
    }

    .promo-images img:first-child {
        margin-bottom: -50px;
    }

    .promo-images img:last-child {
        margin-right: -25px;
    }

    .services-section {
        width: auto;
        max-width: 98vw;
        min-height: auto;
        padding: 40px 40px;
    }

    .services-title {
        font-size: 2em;
    }

    .services-desc {
        font-size: 1em;
    }

    .services-cards {
        gap: 30px;
    }

    .service-card, .service-card.reverse {
        height: auto;
        padding: 30px 36px;
        gap: 36px;
    }

    .service-img-wrapper {
        width: 45%;
        height: auto;
        flex-shrink: 1;
    }

    .service-img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .service-info {
        padding: 0 20px;
    }

    .service-title {
        font-size: 1.5em;
    }

    .service-desc {
        font-size: 1.1em;
    }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .promo-hero, .promo-ennasr {
        flex-direction: column;
        height: auto; /* Allow content to dictate height */
        min-height: 400px;
        padding: 20px;
        margin-top: 70px; /* Adjust for header */
    }

    .promo-content {
        max-width: 100%;
        padding: 20px;
        margin: 20px;
        text-align: center; /* Center text for better mobile layout */
    }

    .promo-title, .promo-title-ennasr {
        font-size: clamp(2rem, 5vw, 2.8rem); /* Scale down font */
    }

    .promo-desc {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 24px;
    }

    .promo-btn {
        padding: 14px 32px;
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .promo-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px;
        padding: 20px;
        gap: 15px;
    }

    .promo-images img {
        width: 100%;
        max-width: 45vw; /* Responsive image width */
        height: auto;
        border-radius: 24px;
        margin: 0;
    }

    .promo-images img:first-child {
        margin-bottom: 0;
    }

    .promo-images img:last-child {
        margin-right: 0;
    }

    .services-section {
        padding: 24px 20px;
        min-height: auto;
    }

    .services-title {
        font-size: clamp(1.8rem, 4vw, 2rem);
    }

    .services-desc {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 24px;
    }

    .services-cards {
        gap: 24px;
    }

    .service-card, .service-card.reverse {
        flex-direction: column;
        height: auto;
        min-height: 300px;
        padding: 20px;
        gap: 20px;
    }

    .service-img-wrapper {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .service-img {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 16px;
    }

    .service-label {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .service-info {
        padding: 0 16px;
    }

    .service-title {
        font-size: clamp(1.4rem, 3vw, 1.5rem);
    }

    .service-desc {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
}

@media (max-width: 768px) {
    .promo-hero, .promo-ennasr {
        margin-top: 60px; /* Adjust for mobile header */
        padding: 15px;
        min-height: 350px;
    }

    .promo-content {
        margin: 15px;
        padding: 15px;
    }

    .promo-title, .promo-title-ennasr {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .promo-desc {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 20px;
    }

    .promo-btn {
        padding: 12px 24px;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .promo-images {
        margin: 15px;
        padding: 15px;
        gap: 10px;
    }

    .promo-images img {
        max-width: 80vw;
        border-radius: 16px;
    }

    .services-section {
        padding: 20px 15px;
        margin-top: 10px;
    }

    .services-title {
        font-size: clamp(1.6rem, 3.5vw, 1.8rem);
    }

    .services-desc {
        font-size: clamp(0.85rem, 2vw, 1rem);
        margin-bottom: 20px;
    }

    .services-cards {
        gap: 20px;
    }

    .service-card {
        padding: 15px;
        min-height: 250px;
        border-radius: 16px;
    }

    .service-img-wrapper {
        max-width: 90vw;
    }

    .service-img {
        border-radius: 12px;
    }

    .service-label {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem);
        padding: 5px 10px;
    }

    .service-info {
        padding: 0 12px;
    }

    .service-title {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    }

    .service-desc {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }
}

@media (max-width: 480px) {
    .promo-hero, .promo-ennasr {
        margin-top: 50px;
        padding: 10px;
        min-height: 300px;
    }

    .promo-content {
        margin: 40px 10px 10px; 
        padding: 10px;
    }

    .promo-title, .promo-title-ennasr {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }

    .promo-desc {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
        margin-bottom: 16px;
    }

    .promo-btn {
        padding: 10px 20px;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }

    .promo-images {
        margin: 10px;
        padding: 10px;
        gap: 8px;
    }

    .promo-images img {
        max-width: 90vw;
        border-radius: 12px;
    }

    .services-section {
        padding: 15px 10px;
        margin-top: 8px;
    }

    .services-title {
        font-size: clamp(1.4rem, 3vw, 1.6rem);
    }

    .services-desc {
        font-size: clamp(0.8rem, 1.8vw, 0.95rem);
        margin-bottom: 16px;
    }

    .services-cards {
        gap: 16px;
    }

    .service-card {
        padding: 10px;
        min-height: 200px;
        border-radius: 12px;
    }

    .service-img-wrapper {
        max-width: 100%;
    }

    .service-img {
        border-radius: 10px;
    }

    .service-label {
        font-size: clamp(0.6rem, 1.5vw, 0.7rem);
        padding: 4px 8px;
    }

    .service-info {
        padding: 0 10px;
    }

    .service-title {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        margin-bottom: 10px;
    }

    .service-desc {
        font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    }
}
.contact-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem 2rem 2rem;
    background: none;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(107, 217, 255, 0.10);
    padding: 2.5rem 2rem;
    min-width: 340px;
    max-width: 520px;
    flex: 1 1 420px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
    font-family: 'Orbitron', sans-serif;
    color: #6bd9ff;
    margin-bottom: 1.2rem;
    font-size: 2rem;
    letter-spacing: 1px;
}

.contact-info p,
.contact-info .horaires p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.contact-info .social-icons img {
    width: 32px;
    margin-right: 8px;
    filter: drop-shadow(0 2px 6px #6bd9ff33);
    transition: transform 0.2s;
}

.contact-info .social-icons img:hover {
    transform: scale(1.15) rotate(-8deg);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1.5px solid #6bd9ff;
    font-size: 1.15rem;
    background: #f8fcff;
    transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #FFD700;
    outline: none;
    box-shadow: 0 0 0 2px #FFD70033;
}

.contact-form button {
    padding: 14px 0;
    background: linear-gradient(90deg, #6bd9ff 60%, #FFD700 100%);
    color: #222;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 12px #6bd9ff22;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
}

.contact-form button:hover {
    background: linear-gradient(90deg, #FFD700 60%, #6bd9ff 100%);
    transform: translateY(-2px) scale(1.04);
}

.contact-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    align-items: stretch;
}

.map-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(107, 217, 255, 0.10);
    padding: 1.5rem 1rem;
    margin-top: 0;
}

.map-section iframe {
    width: 100%;
    min-width: 260px;
    max-width: 380px;
    height: 220px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.13);
    display: block;
}

.contact-main-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1 1 380px;
    max-width: 420px;
}

@media (max-width: 1200px) {

    .contact-section,
    .contact-map-wrapper {
        flex-direction: column;
        gap: 2rem;
        max-width: 98vw;
    }

    .contact-info,
    .contact-form,
    .map-section {
        max-width: 98vw;
        min-width: unset;
    }

    .map-section iframe {
        max-width: 98vw;
    }
}

@media (max-width: 1100px) {
    .contact-main-wrapper {
        flex-direction: column;
        gap: 2rem;
        max-width: 98vw;
    }

    .contact-left,
    .contact-form {
        max-width: 98vw;
    }

    .map-section iframe {
        max-width: 98vw;
    }
}

@media (max-width: 768px) {

    .contact-section,
    .contact-map-wrapper {
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 90px;
    }

    .contact-info,
    .contact-form,
    .map-section {
        padding: 1.5rem 1rem;
        min-width: unset;
        max-width: 100%;
        flex: 1 1 auto;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
    }

    .contact-info p,
    .contact-info .horaires p {
        font-size: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .contact-form button {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .map-section iframe {
        height: 280px;
        min-width: unset;
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .contact-section,
    .contact-map-wrapper {
        padding: 0.5rem;
        gap: 1rem;
        margin-top: 70px;
    }

    .contact-info,
    .contact-form,
    .map-section {
        padding: 1rem 0.8rem;
        border-radius: 12px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .contact-info p,
    .contact-info .horaires p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .contact-form button {
        padding: 10px 0;
        font-size: 1rem;
        border-radius: 8px;
    }

    .map-section iframe {
        height: 220px;
        border-radius: 8px;
    }

    .contact-info .social-icons img {
        width: 28px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {

    .contact-section,
    .contact-map-wrapper {
        padding: 0.3rem;
        gap: 0.8rem;
        margin-top: 60px;
    }

    .contact-info,
    .contact-form,
    .map-section {
        padding: 0.8rem 0.6rem;
        border-radius: 10px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .contact-info p,
    .contact-info .horaires p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .contact-form button {
        padding: 8px 0;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .map-section iframe {
        height: 200px;
        border-radius: 6px;
    }

    .contact-info .social-icons img {
        width: 24px;
        margin-right: 4px;
    }
}

/* Main (packs.php) */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background: #fff;
    padding: 120px 0 40px;
}

/* Packs Section (packs.php) */
.pack-section {
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 520px;
    flex-shrink: 0;
    border-radius: 22px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 18px 20px;
    position: relative;
    overflow: visible;
}

.pack-section.parc {
    background: #F4F8A3;
}

.pack-section.ps5 {
    background: #CBECFD;
}

.pack-section.laser{
    background: #FDD695;
}





.pack-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #fff8;
}

.cards-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centre les cartes horizontalement */
    justify-content: center;
    padding: 0 10px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    /* Limite la largeur totale pour centrer efficacement */
    gap: 30px;
    padding: 10px 0;
    align-items: center;
    /* Centre les cartes horizontalement dans le conteneur */
}

.pack-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 15px;
    margin: 0;
}

/* Media query pour écrans plus grands (desktop) */
@media (min-width: 769px) {
    .cards-row {
        flex-direction: row;
        overflow: hidden;
        justify-content: center;
    }

    .cards-container {
        flex-direction: row;
        width: fit-content;
        gap: 20px;
        max-width: none;
        /* Supprime la limite de largeur en mode carrousel */
    }

    .pack-card {
        width: 320px;
        margin: 0 15px;
    }

    .carousel-nav {
        display: flex;
    }
}

/* Media query pour écrans plus petits (mobile) */
@media (max-width: 768px) {
    .cards-row {
        flex-direction: column;
        align-items: center;
    }

    .cards-container {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        gap: 30px;
        align-items: center;
        /* Centre les cartes */
    }

    .pack-card {
        width: 90%;
        max-width: 400px;
        margin: 0;
    }

    .carousel-nav {
        display: none;
    }

    .pack-section {
        padding: 15px;
    }

    .laser-group {
        padding: 15px;
        margin: 15px auto;
    }
}

/* Styles des cartes */
.pack-card h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 10px;
    text-align: center;
}

.pack-card .details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .pack-card .details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pack-card .details-grid>div:last-child {
        grid-column: 1 / span 2;
    }
}

.pack-card .details {
    font-size: 0.85em;
    line-height: 1.3em;
    color: #333;
    margin-bottom: 4px;
}

.pack-card .price {
    font-size: 1.2em;
    font-weight: 800;
    text-align: right;
    margin-top: 10px;
    color: inherit;
}

.laser .pack-card .price {
    color: #F18817;
}

.parc .pack-card .price {
    color: #F1E74B;
}

.ps5 .pack-card .price {
    color: #6AC7ED;
}

/* Style général des boutons */
.btn-custom {
    background: white;
    color: black;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    padding: 10px 0;
    width: 100%;
    border: 2px solid; /* par défaut noir si aucune règle spécifique */
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #e3e3ff33;
    margin-top: 8px;
}

/* Couleur spécifique selon le type de pack */
.laser .btn-custom {
    border-color: #F18817;
}

.parc .btn-custom {
    border-color: #F1E74B;
}

.ps5 .btn-custom {
    border-color: #6AC7ED;
}


.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #222;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-nav.hidden {
    display: none;
}

.section-infos {
    margin-top: 18px;
    font-size: 1em;
    color: #222;
    text-align: center;
    padding: 0 10px;
}

/* Custom Footer (all pages) */
.custom-footer {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin: 0;
    height: auto;
    min-height: 100px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    bottom: 0;
    box-sizing: border-box;
    font-weight: bold;
}

.footer-left {
    color: #111;
    font-size: 1em;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 5px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: flex-start;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.footer-location,
.footer-phone,
.footer-hours {
    display: block;
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1.4;
}

.footer-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 6px;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin: 0;
}

.footer-right a:hover {
    background-color: rgba(123, 63, 242, 0.1);
    transform: scale(1.05);
}

.footer-right a:focus-visible {
    outline: 2px solid #7B3FF2;
    outline-offset: 2px;
    background-color: rgba(123, 63, 242, 0.1);
}

.footer-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
    box-shadow: 0 2px 6px #7B3FF233;
    margin: 0;
}

.footer-right a:hover .footer-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px #7B3FF244;
}

/* Small screens (mobile) */
@media (max-width: 600px) {
    .custom-footer {
        padding: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-right {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
}

/* Medium screens (tablets) */
@media (min-width: 601px) and (max-width: 1024px) {
    .custom-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .footer-left {
        margin-bottom: 0;
        padding-right: 10px;
    }

    .footer-right {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .footer-address {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
}

/* Large screens (desktops) */
@media (min-width: 1025px) {
    .custom-footer {
        padding: 10px 40px;
        display: flex;
        justify-content: space-between; /* <-- permet de séparer le texte et les icônes */
        align-items: center;
    }

    .footer-left {
        margin-bottom: 0;
    }

    .footer-right {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        justify-content: flex-end; /* <-- pousse les icônes à droite */
    }

    .footer-address {
        flex-direction: row;
        gap: 5px;
    }

    .footer-location::after,
    .footer-phone::after {
        content: " | ";
        margin: 0 5px;
    }
}


/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .footer-right a,
    .footer-icon {
        transition: none;
    }
}

/* =======================
   Menu Section Styling
======================= */
.menu-section {
    padding: 40px 20px;
    min-height: calc(100vh - 80px); /* Account for header */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    box-sizing: border-box;
}

.catalog-wrapper {
    max-width: 1000px; /* Slightly larger for desktop */
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.catalog-header h2 {
    font-size: clamp(2rem, 5vw, 3rem); /* Bold and prominent */
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
}

/* =======================
   Flipbook Styling
======================= */
#flipbook {
    margin: 0 auto;
    max-width: 1000px;
    min-height: 500px; /* Taller for desktop */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    padding: 15px;
}

#flipbook .page {
    background: #fff;
    box-shadow: none !important;
}

#flipbook img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

/* =======================
   Flip Controls
======================= */
.flip-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 30px 0 20px;
}

.flip-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.flip-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

.flip-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =======================
   Responsive Design
======================= */
@media (max-width: 1100px) {
    .menu-section {
        padding: 30px 15px;
        min-height: calc(100vh - 70px);
    }

    .catalog-wrapper {
        max-width: 90vw;
        padding: 0 15px;
    }

    .catalog-header h2 {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    #flipbook {
        max-width: 90vw;
        min-height: 400px;
        padding: 10px;
        border-radius: 12px;
    }

    .flip-controls {
        gap: 15px;
        margin: 20px 0 15px;
    }

    .flip-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .menu-section {
        padding: 20px 10px;
        min-height: calc(100vh - 60px);
    }

    .catalog-wrapper {
        max-width: 95vw;
        padding: 0 10px;
    }

    .catalog-header h2 {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 1.2rem;
    }

    #flipbook {
        max-width: 95vw;
        min-height: 350px;
        padding: 8px;
        border-radius: 10px;
    }

    #flipbook img {
        border-radius: 6px;
    }

    .flip-controls {
        gap: 12px;
        margin: 15px 0 10px;
    }

    .flip-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .menu-section {
        margin-top: 10px;
        padding: 15px 8px;
        min-height: calc(100vh - 50px);
    }

    .catalog-wrapper {
        max-width: 98vw;
        padding: 0 8px;
    }

    .catalog-header h2 {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 1rem;
    }

    #flipbook {
        max-width: 98vw;
        min-height: 300px;
        padding: 6px;
        border-radius: 8px;
    }

    #flipbook img {
        border-radius: 4px;
    }

    .flip-controls {
        gap: 10px;
        margin: 12px 0 8px;
    }

    .flip-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}
