/* ============================================
   MODERN ÖZGÜR YAZILIM KONFERANSI TASARIMI
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1e88e5;
    --secondary: #00a8ff;
    --accent: #00d4ff;
    --dark: #0a1628;
    --darker: #050d1a;
    --text: #ffffff;
    --text-muted: #a8c5e6;
    --card-bg: rgba(30, 136, 229, 0.08);
    --card-border: rgba(30, 136, 229, 0.25);
    --glow: rgba(30, 136, 229, 0.4);
}

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Matrix Background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

#matrix-canvas.loaded {
    opacity: 0.15;
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    z-index: 1;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.banner-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--glow);
    margin-bottom: 30px;
    border: 2px solid var(--primary);
}

.main-banner {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--darker), transparent);
}

.event-meta {
    text-align: center;
    margin-bottom: 25px;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.org-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.event-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow);
    border-color: var(--primary);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.info-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.info-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ============================================
   PROGRAM SECTION
   ============================================ */

.program-section {
    padding: 60px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.heading-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.heading-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.program-grid {
    display: grid;
    gap: 20px;
}

.session-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.session-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px var(--glow);
    border-left-width: 6px;
}

.session-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: flex-start;
    padding-top: 3px;
}

.session-content h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 600;
}

.session-content > p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Speaker Mini Card */
.speaker-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: rgba(30, 136, 229, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(30, 136, 229, 0.15);
}

.speaker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--glow);
}

.speaker-details h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 3px;
    font-weight: 600;
}

.speaker-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.speaker-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.speaker-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.speaker-org {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-logo-small {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Card Variants */
.session-card.break {
    border-left-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.session-card.break:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.session-card.break .session-time {
    color: var(--accent);
}

.session-card.opening,
.session-card.closing {
    border-left-color: var(--secondary);
}

.session-card.opening .session-time,
.session-card.closing .session-time {
    color: var(--secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 40px 0 60px;
}

.about-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-box h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-box p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 30px 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-org {
    color: var(--primary);
    font-weight: 600;
}

.footer-tech {
    font-size: 0.85rem;
    margin-top: 10px !important;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.session-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.session-card:nth-child(1) { animation-delay: 0.1s; }
.session-card:nth-child(2) { animation-delay: 0.2s; }
.session-card:nth-child(3) { animation-delay: 0.3s; }
.session-card:nth-child(4) { animation-delay: 0.4s; }
.session-card:nth-child(5) { animation-delay: 0.5s; }
.session-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 30px 15px;
    }

    .event-quick-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 16px;
    }

    .info-icon {
        font-size: 1.6rem;
    }

    .info-value {
        font-size: 1rem;
    }

    .program-section {
        padding: 40px 0;
    }

    .heading-text {
        font-size: 1.5rem;
    }

    .heading-line {
        display: none;
    }

    .section-heading {
        justify-content: center;
    }

    .program-grid {
        gap: 15px;
    }

    .session-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .session-time {
        font-size: 1rem;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--card-border);
    }

    .session-content h3 {
        font-size: 1.05rem;
    }

    .speaker-mini {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 12px;
    }

    .speaker-avatar {
        width: 55px;
        height: 55px;
    }

    .speaker-details h4 {
        font-size: 1rem;
    }

    .speaker-details p {
        font-size: 0.8rem;
    }

    .about-section {
        padding: 30px 0 40px;
    }

    .about-box {
        padding: 25px;
    }

    .about-box h3 {
        font-size: 1.4rem;
    }

    .about-box p {
        font-size: 0.95rem;
    }

    .footer {
        padding: 25px 15px;
    }

    .meta-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .banner-wrapper {
        border-radius: 12px;
    }

    .info-card {
        padding: 14px;
        gap: 12px;
    }

    .session-card {
        padding: 14px;
    }

    .session-card:hover {
        transform: translateX(3px);
    }

    .about-box {
        padding: 20px;
    }
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: var(--darker);
}

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