/* opensource.day - Frutiger Aero Open-Source Festival */
/* Colors: #3A8A4A, #2A1A10, #F8F0E4, #8A3A4A, #4A8AC4, #F0E8DC, #4A1A28 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #2A1A10; background: #F8F0E4; overflow-x: hidden;
}

.aero-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 32px;
    background: rgba(248, 240, 228, 0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.nav-brand {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700; font-size: 1.1rem; color: #3A8A4A;
}

.nav-links { display: flex; gap: 20px; }

.nav-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem; font-weight: 500; color: #2A1A10;
    text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: #4A8AC4; }

.fullbleed { width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 40px; }

.section-light { background: #F8F0E4; }
.section-dark { background: #4A1A28; color: #F0E8DC; }

.section-inner { max-width: 800px; width: 100%; }

.aero-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px; padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(42, 26, 16, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.aero-card.visible { opacity: 1; transform: translateY(0); }
.aero-card:hover { box-shadow: 0 8px 32px rgba(42, 26, 16, 0.1); transform: translateY(-2px); }

.section-dark .aero-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.nature-leaf { position: absolute; top: 16px; right: 16px; width: 60px; height: 80px; }

.card-label {
    font-family: 'Fira Code', monospace;
    font-size: 12px; font-weight: 500; color: #3A8A4A;
    letter-spacing: 0.08em; display: block; margin-bottom: 12px;
}
.section-dark .card-label { color: #4A8AC4; }

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700; color: #3A8A4A; margin-bottom: 12px;
}

.hero-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem; color: #8A3A4A; line-height: 1.7;
}

.section-heading {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700; color: #2A1A10; margin-bottom: 12px;
}
.section-dark .section-heading { color: #F0E8DC; }

.section-body {
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    line-height: 1.85; color: #2A1A10; opacity: 0.8;
}
.section-dark .section-body { color: #F0E8DC; opacity: 0.75; }

.code-block {
    background: rgba(42, 26, 16, 0.04); border-radius: 8px;
    padding: 16px 20px; margin-top: 16px; display: flex; flex-direction: column; gap: 6px;
}
.code-line {
    font-family: 'Fira Code', monospace; font-size: 13px; color: #2A1A10;
}
.code-accent { color: #4A8AC4; margin-right: 8px; }

@media (max-width: 768px) {
    .fullbleed { padding: 60px 16px; }
    .aero-card { padding: 28px 20px; }
    .aero-nav { padding: 10px 16px; }
}
