/* Custom CSS for Anti-War Conference */

:root {
    --slate-50: #f8fafc;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --danger: #dc2626;
    --danger-hover: #b91c1c;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Custom Background Colors */
.bg-slate-50 {
    background-color: var(--slate-50) !important;
}

.bg-slate-900 {
    background-color: var(--slate-900) !important;
}

.border-slate-800 {
    border-color: var(--slate-800) !important;
}

/* Text Colors */
.text-slate-300 {
    color: var(--slate-300) !important;
}

.text-slate-600 {
    color: var(--slate-600) !important;
}

.text-slate-700 {
    color: var(--slate-700) !important;
}

.text-slate-900 {
    color: var(--slate-900) !important;
}

.text-slate-400 {
    color: #94a3b8 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-900) 100%);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

/* Icon Circles */
.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

/* Hover Effects */
.hover-white:hover {
    color: white !important;
    transition: color 0.3s ease;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-shadow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.hover-underline:hover {
    text-decoration: underline !important;
}

/* Line Height Utilities */
.lh-1 {
    line-height: 1 !important;
}

.lh-relaxed {
    line-height: 1.625 !important;
}

/* Custom Button Styles */
.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
}

.btn-danger:hover {
    background-color: var(--danger-hover);
    border-color: var(--danger-hover);
    transform: translateY(-1px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navigation */
.navbar-dark .navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white !important;
}

/* Cards */
.card {
    transition: all 0.3s ease;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }

    .fs-3 {
        font-size: clamp(1rem, 4vw, 4.5rem) !important;
    }
    
    .fs-4 {
        font-size: 1.25rem !important;
    }
    
    .fs-5 {
        font-size: 1.1rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .container > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Badge styling */
.badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* List styling */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--slate-900) !important;
}

footer hr {
    border-color: var(--slate-800) !important;
    opacity: 1;
}


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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #e74c3c;
        }

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23c41e3a" width="1200" height="600"/><polygon fill="%23000" points="0,600 400,0 800,600"/><polygon fill="%23ffffff" points="400,0 800,0 600,300"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0 6rem;
    position: relative;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, rgba(231, 76, 60, 0.3) 0%, transparent 70%);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

    .btn-primary:hover {
        background: #c0392b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background: white;
        color: #2c3e50;
        transform: translateY(-2px);
    }

.section {
    padding: 5rem 0;
    background: white;
}

    .section:nth-child(even) {
        background: #0e1423;
    }

    .section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #2c3e50;
        position: relative;
    }

        .section h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: #e74c3c;
        }

.urgency {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    text-align: center;
}

    .urgency h2 {
        color: white;
    }

        .urgency h2::after {
            background: white;
        }

.urgency-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .feature:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.historical-context {
    background: #34495e;
    color: white;
    position: relative;
    overflow: hidden;
}

    .historical-context::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        opacity: 0.5;
    }

.historical-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.historical-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.historical-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #e74c3c;
    font-style: italic;
    font-size: 1.2rem;
}

.timeline {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-item {
    text-align: center;
    max-width: 200px;
}

.timeline-date {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.registration {
    color: white;
    text-align: center;
}

    .registration h2 {
        color: white;
    }

        .registration h2::after {
            background: white;
        }

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

    .form-group label {
        font-weight: bold;
        text-align: left;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        color: white;
        font-size: 1.5rem;
        transition: color 0.3s;
    }

        .social-links a:hover {
            color: #e74c3c;
        }

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .historical-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
#languageSelect {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background-color: #1e1e2f; /* ton foncé */
    color: #ffffff; /* texte blanc */
    font-family: 'Georgia', serif;
    font-size: 14px;
    margin-left: 15px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    #languageSelect:hover {
        background-color: #0f172a;
    }

    #languageSelect:focus {
        outline: 1px solid #e74c3c;
        background-color: #0f172a;
    }

.website_title {
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.5rem);
}
.anti-imperialist-row {
    background-color: #f7f7f7;
    position: relative;
    color: #fff;
}
.anti-imperialist-row__link {
    padding-top: 2rem;
}
.anti-imperialist-row__content {
    position: relative;
    z-index: 1;
}
.anti-imperialist-row__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}
.section-padding {
    padding: 4rem 6rem;
}
.red-overlay, .white-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.headline-sm {
    font-family: Norm Expanded;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.125;
    margin: 0;
}
.section-title--big {
    font-size: 3rem;
}

.section-title {
    font-family: Norm Expanded;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.col-2-1 {
    grid-template-columns: 2fr 1fr;
}

.col-2, .col-2-1 {
    display: grid;
    gap: 2rem;
}


.uf-section {
    background: url('/img/united-front-bg.jpg') center center/cover no-repeat;
    position: relative;
    min-height: fit-content;
    max-height: 20rem;
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

    .uf-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(200, 0, 0, 0.8); /* Red overlay */
        z-index: 1;
    }

.uf-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}

    .hero-title span {
        color: white;
    }

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }

.logo-uf {
    max-width: 250px;
    z-index: 2;
    opacity: 0.9;
}
.icor-section {
    background: url('/img/Icor-hand-bg.png') center center/cover no-repeat;
    position: relative;
    min-height: fit-content;
    max-height: 25rem;
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

    .icor-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(200, 0, 0, 0.8); /* Red overlay */
        z-index: 1;
    }
.logo-icor {
    position: relative;
    z-index: 2;
    width: clamp(5rem, 18rem, 25rem) !important;
}
.background-icor {
    background: url('/img/ICOR-workers-unit.svg') center center/cover no-repeat;
    position: relative;
    width:100vh;
    max-height: 20rem;
    height: 100vh;
    color: white;
}