/* ========================================
   EuroDW 2026 - Custom Styles
   ======================================== */

:root {
    /* Color Palette */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #4f46e5 50%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Spacing */
    --section-spacing: 5rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: rgba(79, 70, 229, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(79, 70, 229, 0.1);
}

.navbar.scrolled {
    background: rgba(79, 70, 229, 0.98);
    box-shadow: 0 4px 30px rgba(79, 70, 229, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 10rem 0 6rem;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section h1 {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Content Sections
   ======================================== */

.content-section {
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

/* ========================================
   Cards
   ======================================== */

.content-card {
    background: var(--bg-white);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.content-card:hover {
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.content-card .card-body {
    padding: 2.5rem;
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.content-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.content-card a:hover {
    color: var(--primary-dark);
}

.content-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.content-card a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   Topic List
   ======================================== */

.topic-list {
    list-style: none;
    padding-left: 0;
}

.topic-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.topic-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.topic-list li:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

.topic-list li:hover::before {
    color: var(--secondary-color);
}

/* ========================================
   Dates Card
   ======================================== */

.dates-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.date-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.date-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.date-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.date-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================
   Alerts
   ======================================== */

.alert {
    border: none;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-left-color: var(--secondary-color);
    color: #0c4a6e;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: var(--section-spacing);
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 991px) {
    .hero-section {
        padding: 8rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-card .card-body {
        padding: 1.5rem;
    }

    .navbar-collapse {
        background: rgba(79, 70, 229, 0.98);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .content-card .card-body {
        padding: 1.25rem;
    }

    .date-item {
        margin-bottom: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.fw-semibold {
    font-weight: 600;
}

/* Smooth transitions for all interactive elements */
a,
button,
.nav-link,
.content-card,
.date-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}