:root {
    --primary: #e63946; /* Red for strike */
    --secondary: #1d3557; /* Dark blue for authority/medical */
    --accent: #457b9d; /* Lighter blue */
    --light: #f1faee; /* Off white */
    --dark: #121212;
    --text: #333;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Header & Hero */
header {
    background: linear-gradient(rgba(29, 53, 87, 0.7), rgba(18, 18, 18, 0.85)), url('photos/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    border-bottom: 8px solid var(--primary);
}

.hero-tag {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
    transform: skew(-10deg);
}

header h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.strike-date {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Navigation */
nav {
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* Sections */
section {
    margin-bottom: 6rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--primary);
}

/* Demands Grid */
.demands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.demand-card {
    background: white;
    padding: 2.5rem;
    border-left: 6px solid var(--primary);
    box-shadow: 10px 10px 0 rgba(29, 53, 87, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.demand-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 rgba(230, 57, 70, 0.1);
}

.demand-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Leetchi Pool */
.cagnotte-banner {
    background: var(--primary);
    color: white;
    padding: 3rem;
    text-align: left;
    border-radius: 24px;
    margin: 4rem 0;
    display: flex;
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.3);
}

.cagnotte-content {
    flex: 1;
}

.cagnotte-image {
    flex: 1;
    max-width: 400px;
}

.cagnotte-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: rotate(2deg);
}

@media (max-width: 850px) {
    .cagnotte-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .cagnotte-image {
        max-width: 100%;
    }
}

.cagnotte-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-cagnotte {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.2rem;
}

.btn-cagnotte:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #ddd;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Day labels */
.day-label {
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem;
    text-align: center;
}

footer h2 {
    color: white;
    margin-bottom: 1rem;
}

/* Press Review */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.press-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 250px;
}

.press-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
    line-height: 1.5;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.press-image {
    flex: 0 0 180px;
    background: #eee;
    overflow: hidden;
}

.press-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.press-source {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.press-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.btn-read {
    align-self: flex-start;
    background: var(--secondary);
    color: white;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-read:hover {
    background: var(--primary);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .press-grid {
        grid-template-columns: 1fr;
    }
    .press-card {
        flex-direction: column;
    }
    .press-image {
        flex: 0 0 200px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary);
}

/* Text Modal (Qui Sommes Nous) */
.text-modal-content {
    background-color: var(--light);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 850px;
    border-radius: 12px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-about {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--secondary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-about:hover {
    color: var(--primary);
}

.about-text {
    color: var(--text);
}

.about-text h2 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    border-bottom: 4px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.about-text > p:nth-of-type(1) {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 2rem;
}

.about-text h3 {
    color: var(--secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.about-text h4 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.about-text strong {
    color: var(--secondary);
}

@media (max-width: 600px) {
    .text-modal-content {
        padding: 2rem 1.5rem;
        margin: 10% auto;
    }
    .about-text h2 {
        font-size: 1.8rem;
    }
    .close-about {
        top: 10px;
        right: 15px;
    }
}

.clickable-title {
    cursor: pointer;
    transition: transform 0.3s;
}

.clickable-title:hover {
    transform: scale(1.02);
}

.click-hint {
    font-size: 1rem;
    color: var(--primary);
    vertical-align: middle;
    opacity: 0.8;
    margin-left: 10px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.clickable-title:hover .click-hint {
    opacity: 1;
}

/* Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-card video, .video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    background: #000;
    border: none;
}

.video-info {
    padding: 1.2rem;
}

.video-info h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(230, 57, 70, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-name {
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-top: 1.5rem;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #999;
}

.testimonial-content {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Carousel / Diaporama */
.carousel-container {
    position: relative;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    transition: transform 0.5s ease-in-out;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 16/9;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    pointer-events: all;
    transition: background 0.3s, color 0.3s;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

/* Responsive */
/* Tract Viewer */
.tract-viewer {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tract-page {
    flex: 1;
    max-width: 500px;
    background: white;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: zoom-in;
}

.tract-page img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .tract-viewer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
/* Unions Support */
.unions-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.union-card {
    text-decoration: none !important;
    color: var(--secondary) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    min-width: 160px;
}

.union-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.union-card .logo-box {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.union-card img {
    max-width: 160px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}

.union-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.fse-logo {
    max-width: 130px !important;
    max-height: 90px !important;
}

.union-card span {
    font-weight: 700;
    color: var(--secondary) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .unions-grid {
        gap: 1.5rem;
    }
    .union-card {
        min-width: 120px;
        padding: 1rem;
    }
    .union-card img {
        max-width: 110px;
        max-height: 70px;
    }
}

/* Support Form */
.leave-message-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    border-left: 6px solid var(--accent);
}

.leave-message-container h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.btn-submit:hover {
    transform: scale(1.05);
    background: #d62828;
}

.new-testimonial {
    animation: fadeInDown 0.5s ease-out;
}

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

/* Social Share Section */
.social-share-section {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 0 !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.share-btn.facebook-btn {
    background: white;
    color: #1877F2;
    border: 2px solid #1877F2;
}

.share-btn.whatsapp-btn {
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
}

.share-btn.instagram-btn {
    background: white;
    color: #bc1888;
    border: 2px solid #bc1888;
}
