@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Indie_Flower&family=Honeycomb&family=Bistro&display=swap');

:root {
    --color1: #FF69B4; /* Rose vif */
    --color2: #FF8C00; /* Orange profond */
    --color3: #FFD700; /* Jaune doré */
    --color4: #32CD32; /* Vert lime */
    --color5: #1E90FF; /* Bleu dodger */
}

body {
    font-family: 'Indie Flower', cursive;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f6d8a5;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 105, 180, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 140, 0, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(174, 117, 167, 0.2) 0%, transparent 60%);
    background-attachment: fixed;
    background-size: cover;
}

.header-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
}

.header-image svg {
    width: 100%;
    height: 120px;
}

.header-image svg rect {
    fill: url(#grad1);
    opacity: 0.7;
}

.header-image text {
    font-family: "Rouge Script", cursive;
    font-weight: bold;
    paint-order: fill;
}

.header-image text:first-of-type {
    fill: #e88e9d;
    transform: translate(0.5px, 2.5px);
}

.header-image text:last-of-type {
    fill: #97288e;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 20px 0;
    position: relative;
}

.event-week {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 235, 180, 0.9));
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.15);
    transform: rotate(1deg);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 3px solid #FFD700;
}

.event-week::before,
.event-week::after {
    content: '✧';
    position: absolute;
    font-size: 2em;
    color: #8A2BE2;
    animation: sparkle 2s infinite;
}

.event-week::before {
    top: 10px;
    left: 10px;
}

.event-week::after {
    bottom: 10px;
    right: 10px;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.event-week-content {
    flex: 1;
    padding-right: 20px;
}

.event-week h2 {
    color: #8A2BE2;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-week p {
    font-size: 1em;
    color: #8A2BE2;
}

.event-week-image {
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 10px;
    max-width: 45%;
}

.event-week-image img {
    width: 100%;
    object-fit: contain;
    height: auto;
}

.monthly-events {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.event-card {
    background-color: #FFE5B4;
    border: 2px dashed #8A2BE2;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    padding: 15px;
    width: 250px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.event-card h3 {
    color: #4B0082;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 1em;
    color: #8B0000;
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.event-card::before {
    content: '🎭';
    font-size: 24px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.bubble {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.bubble h2 {
    color: #8A2BE2;
    font-size: 2em;
    margin-bottom: 10px;
}

.bubble p {
    font-size: 1.1em;
    color: #8A2BE2;
}

.more-info-button {
    display: inline-block;
    background-color: #FFE5B4;
    color: #8A2BE2;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    border: 2px solid #8A2BE2;
}

.more-info-button:hover {
    background-color: #8A2BE2;
    color: #FFE5B4;
}

.image-columns {
    position: fixed;
    top: -20px;
    bottom: 0;
    width: calc((100% - 1024px) / 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 180px;
    gap: 20px;
    overflow: hidden;
    z-index: -1;
}

.image-columns.left { left: 0; }
.image-columns.right { right: 0; }

.image-columns img {
    width: 80%;
    height: auto;
    border-radius: 15px;
    opacity: 1;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.contact-info svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: #8A2BE2;
}

.sandwich-menu {
    position: absolute;
    right: 40px;
    top: 47%;
    transform: translateY(-50%);
    z-index: 2000;
}

.sandwich-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2), transparent 70%);
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

.menu-toggle {
    background-color: #f67707;
    color: #FFF0F5;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: gentlePulse 2s infinite;
    box-shadow: 0 0 5px rgba(75, 0, 130, 0.3);
}

.menu-toggle:hover {
    background-color: #fea40a;
    transform: scale(1.1);
    animation: none;
}

.menu-items {
    display: none;
    position: fixed;
    top: calc(100% + 5px);
    right: 0;
    list-style-type: none;
    padding: 10px;
    margin: 0;
    background-color: rgba(255, 240, 245, 1);
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2100;
}

.menu-items.visible {
    display: block;
}

.menu-items li {
    padding: 5px 0;
}

.menu-items a {
    color: #ec5c19;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.menu-items a:hover {
    color: #ee2304;
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

@keyframes gentlePulse {
    0% { transform: scale(1); box-shadow: 0 0 5px rgba(75, 0, 130, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(75, 0, 130, 0.5); }
    100% { transform: scale(1); box-shadow: 0 0 5px rgba(75, 0, 130, 0.3); }
}

/* Styles pour smartphones */
@media screen and (max-width: 767px) {
    .header-image {
        padding: 10px 0;
    }

    .header-image svg {
        height: 80px;
    }

    .header-image text {
        font-size: 40px;
    }

    .menu-toggle {
        font-size: 32px;
        padding: 10px 20px;
    }

    .sandwich-menu {
        position: static;
        display: flex;
        justify-content: flex-end;
        padding: 10px;
    }

    .menu-items {
        width: 100%;
        right: 0;
        top: 100%;
        border-radius: 0;
        padding: 0;
    }

    .menu-items li {
        padding: 0;
    }

    .menu-items a {
        font-size: 26px; /* Augmentation pour lisibilité */
        padding: 12px 15px; /* Plus d'espace */
        color: #8A2BE2;
    }
}

/* Très petits écrans */
@media screen and (max-width: 480px) {
    .header-image svg {
        height: 60px;
    }

    .header-image text {
        font-size: 30px;
    }

    .menu-toggle {
        font-size: 28px;
        padding: 8px 16px;
    }

    .menu-items a {
        font-size: 22px; /* Augmentation subtile */
        padding: 10px 12px;
    }
}

/* Styles pour boutons de partage */
.buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    height: 40px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.telegram-button { background-color: #0088cc; }
.telegram-button:hover { background-color: #0077b5; }

.whatsapp-button {
    background-color: #25D366;
    gap: 8px;
    margin: 5px;
}

.whatsapp-button:hover { background-color: #128C7E; }
.whatsapp-button svg { width: 24px; height: 24px; fill: currentColor; }

.print-button { background-color: #6c757d; }
.print-button:hover { background-color: #5a6268; }

.facebook-button { background-color: #1877f2; }
.facebook-button:hover { background-color: #166fe5; }

.share-button svg { width: 14px; height: 14px; fill: white; }

.services-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.services-info {
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Toast notifications - mobile only */
@media screen and (max-width: 1024px) {
    .toast-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #f67707;
        padding: 25px;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80px;
    }

    .toast-container.visible { transform: translateY(0); }

    .toast-message {
        color: #FFE5B4;
        font-family: 'Indie Flower', cursive;
        font-size: 2.3em;
        margin: 0;
        font-weight: bold;
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }

    .share-buttons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .modal.visible { display: flex; }

    .modal-content {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        margin: 20px;
        position: relative;
        animation: modalAppear 0.3s ease-out;
    }

    @keyframes modalAppear {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .close-modal {
        position: sticky;
        top: 0;
        right: 0;
        padding: 10px;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        background: white;
    }

    .close-modal:hover { color: #666; }

    .reviews-list { margin-top: 20px; padding: 10px; }

    .review-item {
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .reviewer-name { font-weight: bold; color: #8A2BE2; }
    .review-date { color: #666; font-size: 0.9em; }

    .show-reviews-btn {
        background: #8A2BE2;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
    }

    .show-reviews-btn:hover { background: #4B0082; }

    .rating-stats {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .average-rating { display: flex; align-items: center; gap: 10px; }

    .star { color: #ddd; font-size: 20px; }
    .star.filled { color: #ffd700; }

    .rating-system {
        margin-top: 10px;
        padding: 10px;
        background-color: #f8f8f8;
        border-radius: 8px;
    }

    .star-rating {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        margin-bottom: 15px;
    }

    .star-rating input { display: none; }

    .star-rating label {
        cursor: pointer;
        font-size: 30px;
        color: #ddd;
        padding: 0 2px;
    }

    .star-rating label:before { content: '★'; }

    .star-rating input:checked ~ label,
    .star-rating label:hover,
    .star-rating label:hover ~ label { color: #ffd700; }

    .review-input {
        width: calc(100% - 20px);
        min-height: 80px;
        padding: 8px;
        margin-bottom: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        resize: vertical;
    }

    .name-input {
        width: calc(100% - 20px);
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .submit-review {
        background-color: #8A2BE2;
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .submit-review:hover { background-color: #4B0082; }

    .share-multi {
        background-color: #4a90e2;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .share-multi svg { width: 24px; height: 24px; }
    .share-multi:hover { background-color: #357abd; }
}