/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    line-height: 1.6;
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumbs-container a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-container a:hover {
    color: #0ea5e9;
}

.breadcrumbs-container span {
    color: #cbd5e1;
}

.breadcrumbs-container .current {
    color: #0ea5e9;
    font-weight: 600;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== EVENTS CALENDAR SECTION ==================== */
.events-calendar-section {
    padding: 80px 40px;
    background: #f8fafc;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
}

/* ==================== CALENDAR SIDE ==================== */
.calendar-side {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.calendar-header h2 {
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 700;
}

.calendar-nav {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #0ea5e9;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.calendar-nav:hover {
    background: #0ea5e9;
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #64748b;
    font-size: 0.85rem;
    padding: 10px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #0f172a;
}

.calendar-day:hover {
    background: #f1f5f9;
}

.calendar-day.other-month {
    color: #cbd5e1;
}

.calendar-day.today {
    background: #0ea5e9;
    color: white;
    font-weight: 700;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0ea5e9;
}

.calendar-day.today.has-event::after {
    background: white;
}

/* LEGEND */
.calendar-legend {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.event-webinar {
    background: #0ea5e9;
}

.legend-dot.event-fair {
    background: #10b981;
}

.legend-dot.event-workshop {
    background: #f97316;
}

.legend-dot.event-other {
    background: #8b5cf6;
}

/* ==================== EVENTS LIST SIDE ==================== */
.events-list-side {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.events-filters h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e0f2fe;
    color: #0ea5e9;
}

.filter-btn.active {
    background: #0ea5e9;
    color: white;
}

/* ==================== NO EVENTS STATE ==================== */
.no-events-container {
    text-align: center;
    padding: 80px 40px;
}

.no-events-icon {
    font-size: 5rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.no-events-container h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-events-container p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.no-events-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    padding: 14px 32px;
    background: white;
    color: #0ea5e9;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #0ea5e9;
    display: inline-block;
}

.btn-secondary:hover {
    background: #0ea5e9;
    color: white;
}

/* ==================== CTA SECTION ==================== */
.cta-events-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 40px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #0ea5e9;
}

.btn-subscribe {
    padding: 16px 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .events-container {
        grid-template-columns: 1fr;
    }

    .calendar-side {
        position: static;
    }
}

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .events-calendar-section {
        padding: 60px 20px;
    }

    .events-list-side {
        padding: 30px 20px;
    }

    .no-events-container {
        padding: 60px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .no-events-icon {
        font-size: 3.5rem;
    }

    .no-events-container h3 {
        font-size: 1.5rem;
    }

    .no-events-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}