/* Prague 30 ans — Style moderne & joyeux */

:root {
    --bg: #0f0a1a;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --text: #f5f0ff;
    --text-muted: #b8a9d4;
    --primary: #ff6b9d;
    --primary-glow: rgba(255, 107, 157, 0.4);
    --secondary: #7c5cff;
    --accent: #ffd93d;
    --success: #4ade80;
    --success-glow: rgba(74, 222, 128, 0.3);
    --gradient: linear-gradient(135deg, #ff6b9d 0%, #7c5cff 50%, #ffd93d 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background shapes */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -10%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    left: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(15, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--bg-card-hover);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(124, 92, 255, 0.2));
}

/* Main */
.main {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 20px 5px var(--primary-glow); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prague-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.prague-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.prague-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prague-card p {
    color: var(--text-muted);
}

/* Welcome cards */
.welcome-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.card-float {
    animation: fade-up 0.6s ease-out both;
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fade-up 0.5s ease-out;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Sections */
.section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fade-up 0.5s ease-out both;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Hotel */
.hotel-info {
    margin-bottom: 1.5rem;
}

.hotel-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hotel-address {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.room-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1rem;
    border-left: 3px solid var(--secondary);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.room-number {
    font-weight: 700;
}

.room-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.room-occupants {
    list-style: none;
}

.room-occupants li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.room-occupants li::before {
    content: '👤 ';
}

/* Group cards */
.group-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.group-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.group-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.group-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.group-card-highlight {
    border: 1px solid rgba(255, 217, 61, 0.3);
    background: rgba(255, 217, 61, 0.05);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.participants-table,
.activity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.participants-table th,
.activity-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

.participants-table td,
.activity-table td {
    padding: 0.6rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.participant-name {
    font-weight: 600;
}

/* Toggle buttons */
.toggle-btn {
    min-width: 64px;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.toggle-btn.active {
    background: rgba(74, 222, 128, 0.15);
    border-color: var(--success);
    color: var(--success);
    box-shadow: 0 0 12px var(--success-glow);
}

.toggle-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

.arrival-btns {
    display: flex;
    gap: 0.4rem;
}

.arrival-btn {
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.arrival-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.arrival-btn.active {
    background: rgba(124, 92, 255, 0.2);
    border-color: var(--secondary);
    color: #c4b5fd;
}

/* Summary bar */
.summary-bar {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-bar strong {
    color: var(--text);
}

/* Programme */
.programme-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.day-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem;
    animation: fade-up 0.5s ease-out both;
}

.day-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.day-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
}

.day-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.day-slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.slot {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.slot-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.slot p {
    font-size: 0.9rem;
    color: var(--text);
}

.slot-matin { border-top: 3px solid #ffd93d; }
.slot-aprem { border-top: 3px solid #ff6b9d; }
.slot-soir { border-top: 3px solid #7c5cff; }

/* Paid activities */
.paid-activities {
    margin-top: 1.5rem;
}

.paid-activities > h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.activity-card {
    background: rgba(255, 217, 61, 0.05);
    border: 1px solid rgba(255, 217, 61, 0.2);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.activity-header h4 {
    font-size: 1rem;
}

.activity-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(255, 217, 61, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

.activity-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.activity-summary strong {
    color: var(--accent);
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.75rem 1.25rem;
    background: var(--success);
    color: #0f0a1a;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 200;
    animation: toast-in 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toast.error {
    background: #f87171;
    color: #fff;
}

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

/* Responsive */
@media (max-width: 900px) {
    .prague-image-jn {
        width: 300px;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .welcome-cards {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .group-cards {
        grid-template-columns: 1fr;
    }

    .day-slots {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .prague-image-jn {
        width: 300px;
    }
    .nav {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .main {
        padding: 1.5rem 1rem 3rem;
    }

    .section {
        padding: 1.25rem;
    }
}


/* Styles pour la nouvelle navigation du programme */
.programme-nav-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.programme-nav-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.programme-nav {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1rem; /* Espace pour l'ombre ou l'indicateur */
    white-space: nowrap;
}

.programme-nav-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.programme-nav-day:hover {
    background: var(--bg-card-hover);
    color: var(--text);
    transform: translateY(-2px);
}

.programme-nav-day.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.programme-nav-day .day-label {
    font-size: 1rem;
}

.programme-nav-day .day-date-nav {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Visibilité des sections de jour */
.day-section {
    display: none;
    animation: fade-up 0.5s ease-out;
}

.day-section.active {
    display: block;
}

/* Ajustement du contenu des slots */
.slot-content p {
    margin: 0;
    color: var(--text-muted);
}
.slot-content p + p {
    margin-top: 0.5rem;
}
.slot-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.slot-content a:hover {
    text-decoration: underline;
}
