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

html {
    scroll-behavior: smooth;
}

/* SpaceX Font for Navbar */
@font-face {
    font-family: 'SpaceXFont';
    src: url('fonts/SpaceX.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SpaceXFont';
    src: url('fonts/SpaceX.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Kazmann Sans Font for Section Content */
@font-face {
    font-family: 'Kazmann Sans';
    src: url('fonts/Kazmann Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-container {
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    font-family: 'SpaceXFont', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Upcoming Launch Widget */
.upcoming-launch-widget {
    position: relative;
}

.widget-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 90px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 12px;
    transition: opacity 0.3s ease;
}

.widget-toggle:hover {
    opacity: 0.7;
}

.widget-title {
    color: #fff;
}

.arrow-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

/*.upcoming-launch-widget:hover .arrow-icon {
    transform: rotate(180deg);
}*/

.card-container {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    min-width: 350px;
    max-width: 400px;
    flex-direction: column;
    padding: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.launch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.launch-card:hover {
    opacity: 0.8;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.card-content img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

.countdown {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.arrow-button {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.widget-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    margin-top: 8px;
}

.widget-footer:hover {
    opacity: 0.7;
}

.widget-footer .icon {
    width: 9px;
    height: 13px;
}

.footer-text {
    color: #fff;
}

/* Full-Screen Sections */
.fullscreen-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Vignette Controls - Easy to adjust */
    --vignette-intensity: 0.6; /* 0 = no vignette, 1 = maximum darkness */
    --vignette-size: 70%; /* 0% = tight, 100% = wide */
    --vignette-spread: 30%; /* How soft the edge is */
}

/* Vignette effect for sections with images */
.fullscreen-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent var(--vignette-size),
        rgba(0, 0, 0, var(--vignette-intensity)) calc(var(--vignette-size) + var(--vignette-spread))
    );
    z-index: 1.5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show vignette only on sections with parallax backgrounds */
.fullscreen-section:has(.parallax-background)::before,
.fullscreen-section.vignette-enabled::before {
    opacity: 1;
}

.fullscreen-section .parallax-background {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.section-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    will-change: transform;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 40px;
}

.section-title {
    font-family: 'Kazmann Sans', 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-transform: none;
}

.section-button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-button:hover {
    background: #fff;
    color: #000;
}

/* Applications Section */
.applications-section {
    min-height: 100vh;
    padding: 180px 0 200px;
    position: relative !important;
    overflow: hidden;
    background: url('images/gallery/starry-clear-sky-view-with-nature-landscape.jpg') center center / cover no-repeat !important;
    z-index: 1 !important;
}

.applications-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
    display: none;
}


.applications-content {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.applications-title {
    font-family: 'Kazmann Sans', 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.applications-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 60px;
    opacity: 0.9;
    text-align: center;
    color: #fff;
}

/* Hover Effect Grid */
.hover-effect-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 0 0 40px 0 !important;
    margin-top: -60px !important;
    position: relative !important;
    z-index: 10 !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .hover-effect-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .hover-effect-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.application-card-wrapper {
    position: relative;
    display: block !important;
    padding: 8px;
    text-decoration: none !important;
    color: inherit;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2;
}

.application-card-wrapper * {
    text-decoration: none !important;
}



.application-card {
    position: relative;
    display: flex !important;
    align-items: center !important;
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    z-index: 10;
    min-height: 80px !important;
    gap: 16px !important;
    backdrop-filter: blur(10px);
    visibility: visible !important;
    opacity: 1 !important;
}

.application-card-wrapper:hover .application-card {
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3) !important;
    border-width: 2px !important;
}

.card-content-inner {
    position: relative;
    z-index: 50;
    padding: 16px;
    display: block !important;
    visibility: visible !important;
}

.card-title {
    color: #f4f4f5 !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.4;
    display: block !important;
    visibility: visible !important;
}

.card-description {
    margin-top: 32px;
    color: #a1a1aa !important;
    letter-spacing: 0.3px;
    line-height: 1.6;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: block !important;
    visibility: visible !important;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'SpaceXFont', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p {
    font-size: 12px;
    opacity: 0.6;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 42px;
    }

    .section-subtitle {
        font-size: 16px;
    }
    
    .applications-title {
        font-size: 42px;
    }
    
    .applications-subtitle {
        font-size: 16px;
    }
    
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .upcoming-launch-widget {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-content {
        padding: 0 20px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .applications-section {
        padding: 100px 0 60px;
    }
    
    .applications-content {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    
    .applications-title {
        font-size: 32px;
    }
    
    .applications-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .hover-effect-grid {
        padding: 0 0 40px 0 !important;
        margin-top: -60px !important;
        gap: 20px !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .application-card-wrapper {
        padding: 8px !important;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-description {
        font-size: 12px;
        margin-top: 24px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .contact-card {
        padding: 24px !important;
    }

}
