/* Wireshark-inspired styling for event landing pages */

:root {
    --primary-blue: #1679A7;
    --dark-blue: #0E4F6E;
    --light-blue: #5BA8D0;
    --accent-orange: #FF6B35;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --border-color: #DEE2E6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.event-title {
    font-size: 2rem;
    margin: 0;
    color: var(--dark-blue);
}

/* Hero Section */
.hero {
    background:
                linear-gradient(135deg, rgba(14, 79, 110, 0.15) 0%, rgba(22, 121, 167, 0.15) 100%),
                url('/static/images/wave-pattern.svg') center/cover no-repeat,
                url('/static/images/sf22eu-background.jpg') center/cover no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero .location {
    font-size: 1.2rem;
    opacity: 0.8;
}

.hero .description {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button.cta-primary {
    background-color: var(--accent-orange);
}

.cta-button.cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.cta-button.cta-secondary {
    background-color: var(--primary-blue);
}

.cta-button.cta-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(22, 121, 167, 0.4);
}

/* Agenda Section */
.agenda-section {
    background-color: var(--bg-white);
    padding: 4rem 0;
}

/* Pretalx Widget Container */
.pretalx-widget-container {
    max-width: 90%;
    margin: 0 auto;
}

.pretalx-widget {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.pretalx-widget-info-message {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pretalx-widget-info-message a {
    color: var(--primary-blue);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.agenda {
    max-width: 900px;
    margin: 0 auto;
}

.agenda-item {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.agenda-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.agenda-time {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-title {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin: 0.5rem 0;
    font-weight: 600;
}

.agenda-description {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.info-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-credits {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-credits a:hover {
    opacity: 0.8;
}

/* Redirect Page */
.redirect-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.redirect-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.spinner {
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .agenda-item {
        padding: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

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

    .hero .description {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}
