/* ==========================================================================
   RAKETENSTARTS AM BORG MONSBERGER – Style Sheet
   Design orientiert an borg1.at
   ========================================================================== */

/* ---- Google Fonts (wie borg1.at: Open Sans) ---- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@400;600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    /* Farben aus borg1.at Palette */
    --color-primary: #1a237e;
    --color-primary-light: #5879ca;
    --color-primary-dark: #0d1554;
    --color-accent-green: #b3edbd;
    --color-accent-blue: #92c9ea;
    --color-accent-blue-dark: #5879ca;
    --color-accent-red: #edaeae;
    --color-accent-yellow: #ffe662;
    --color-accent-orange: #ff924c;
    --color-accent-teal: #349875;
    --color-accent-warm: #e5d3bf;

    /* Neutrale Farben */
    --color-bg: #ffffff;
    --color-bg-light: #f5f7fa;
    --color-bg-dark: #0a1628;
    --color-text: #2c3e50;
    --color-text-light: #6c757d;
    --color-text-white: #ffffff;
    --color-text-heading: #1a237e;
    --color-border: #e0e0e0;

    /* Countdown-Farben */
    --color-countdown-bg: rgba(255, 255, 255, 0.1);
    --color-countdown-text: #ffffff;

    /* Typografie */
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Outfit', 'Open Sans', sans-serif;

    /* Größen */
    --container-max: 1320px;
    --header-height: 80px;
    --section-padding: 80px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Schatten */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(79, 195, 247, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-orange);
}

/* ---- Container ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }

.section-title {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Decorative line under section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-yellow));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
    height: var(--header-height);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    height: 64px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logos img,
.header-logos svg {
    height: 50px;
    width: auto;
    transition: height var(--transition-base);
}

.site-header.scrolled .header-logos img,
.site-header.scrolled .header-logos svg {
    height: 40px;
}

.header-logos .logo-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

.header-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    display: none;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    border-radius: 8px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-left: 12px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.lang-btn:hover:not(.active) {
    background: var(--color-border);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a237e 40%, #0d47a1 70%, #01579b 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

/* Animated stars background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent),
        radial-gradient(1px 1px at 200px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 60px 100px, #ffffff, transparent),
        radial-gradient(2px 2px at 250px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 300px 90px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 300px 120px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Animated rocket */
.hero-rocket {
    position: absolute;
    right: 10%;
    bottom: 15%;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    opacity: 0.15;
    font-size: 200px;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-white);
    padding: 40px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 146, 76, 0.2);
    border: 1px solid rgba(255, 146, 76, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: var(--color-text-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown-wrapper {
    margin-bottom: 40px;
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--color-countdown-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 16px 24px;
    min-width: 90px;
    transition: transform var(--transition-fast);
}

.countdown-item:hover {
    transform: scale(1.05);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-accent-orange), #ff6b35);
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 146, 76, 0.4);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 146, 76, 0.5);
    color: var(--color-text-white);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   SECTIONS – General
   ========================================================================== */

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--color-bg-light);
}

/* Fade-in animation – progressive enhancement:
   Content is visible by default. JS adds 'js-ready' to body,
   then IntersectionObserver adds 'visible' to trigger animation. */
.fade-in {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-ready .fade-in {
    opacity: 0;
    transform: translateY(30px);
}

body.js-ready .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PROJECT SECTION
   ========================================================================== */

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.project-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.project-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent-orange);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.feature-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Project image placeholder */
.project-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a237e, #0d47a1, #01579b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-inner {
    text-align: center;
    color: white;
    padding: 40px;
}

.project-image-inner .rocket-emoji {
    font-size: 80px;
    animation: float 4s ease-in-out infinite;
    display: block;
    margin-bottom: 16px;
}

.project-image-inner p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==========================================================================
   SCHOOL SECTION
   ========================================================================== */

.school-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.school-info p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.school-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.highlight-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.highlight-icon.green { background: var(--color-accent-green); }
.highlight-icon.blue { background: var(--color-accent-blue); }
.highlight-icon.yellow { background: var(--color-accent-yellow); }
.highlight-icon.orange { background: rgba(255, 146, 76, 0.2); }

.highlight-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ==========================================================================
   WORLD SPACE WEEK SECTION
   ========================================================================== */

.wsw-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a237e 100%);
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.wsw-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 50% 30%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.3), transparent);
    animation: twinkle 5s ease-in-out infinite alternate;
}

.wsw-section .section-title {
    color: var(--color-text-white);
}

.wsw-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.wsw-content {
    position: relative;
    z-index: 2;
}

.wsw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.wsw-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.wsw-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.wsw-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.wsw-card h3 {
    color: var(--color-text-white);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.wsw-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.wsw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--color-accent-yellow);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.wsw-link:hover {
    color: var(--color-accent-orange);
    gap: 12px;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.gallery-tab {
    padding: 10px 24px;
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-tab.active,
.gallery-tab:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-grid.hidden {
    display: none;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.gallery-item .gallery-caption {
    padding: 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Placeholder styles for images */
.gallery-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: white;
    font-size: 0.85rem;
    text-align: center;
    padding: 20px;
}

.gallery-placeholder.ph-1 {
    background: linear-gradient(135deg, #1a237e, #4fc3f7);
}
.gallery-placeholder.ph-2 {
    background: linear-gradient(135deg, #ff924c, #ff6b35);
}
.gallery-placeholder.ph-3 {
    background: linear-gradient(135deg, #349875, #b3edbd);
}
.gallery-placeholder.ph-video-1 {
    background: linear-gradient(135deg, #5879ca, #92c9ea);
}
.gallery-placeholder.ph-video-2 {
    background: linear-gradient(135deg, #0d1554, #1a237e);
}

.gallery-placeholder .ph-icon {
    font-size: 3rem;
}

.gallery-placeholder p {
    opacity: 0.9;
}

/* ==========================================================================
   NAWI PROMO SECTION
   ========================================================================== */

.nawi-section {
    background: linear-gradient(135deg, var(--color-accent-green) 0%, #7bc67e 100%);
    position: relative;
    overflow: hidden;
}

.nawi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nawi-text h2 {
    color: #1a3a1a;
}

.nawi-text p {
    color: #2d5a2d;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.nawi-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nawi-feature {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all var(--transition-base);
}

.nawi-feature:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
}

.nawi-feature .nf-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.nawi-feature h4 {
    font-size: 0.95rem;
    color: #1a3a1a;
    margin-bottom: 4px;
}

.nawi-feature p {
    font-size: 0.82rem;
    color: #2d5a2d;
    margin: 0;
}

.nawi-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 32px;
    background: #1a3a1a;
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.nawi-cta:hover {
    background: #0d1554;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--color-text-white);
}

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

.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--color-text-white);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--color-text-white);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* Tablet: <= 992px */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 24px 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        align-items: flex-start;
        gap: 4px;
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .project-grid,
    .school-content,
    .nawi-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wsw-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-title {
        display: none;
    }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
        --header-height: 64px;
    }

    .header-logos img,
    .header-logos svg {
        height: 36px;
    }

    .project-features,
    .nawi-features {
        grid-template-columns: 1fr;
    }

    .wsw-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 12px 16px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .hero-rocket {
        font-size: 100px;
        opacity: 0.1;
    }
}

/* Small mobile: <= 576px */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 12px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .gallery-tabs {
        flex-wrap: wrap;
    }

    .hero-badge {
        font-size: 0.75rem;
    }
}

/* Large Desktop: >= 1200px */
@media (min-width: 1200px) {
    .header-title {
        display: block;
    }
}

/* ==========================================================================
   UTILITIES & OVERLAY
   ========================================================================== */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
