@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;700&display=swap');

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

body {
    font-family: 'Georgia', serif;
    color: #ffffff;
    overflow-x: hidden;
}

.hero {
    height: 100vh;
    /* Base layer: starry night sky background */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('copilot_StarBackground1.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Layer 2: Animated stars container - sits above background */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none; /* Allows clicks to pass through to content below */
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Layer 3: Mountain foreground - sits above stars */
.mountain-foreground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Adjust this percentage based on your mountain image height */
    background: url('mountain_foreground1.png') center bottom/contain no-repeat;
    background-size: 100% auto; /* Width 100%, height scales naturally */
    z-index: 3;
    pointer-events: none; /* Allows clicks to pass through to content */
}

/* Layer 2.5: Black mask below mountains - blocks starry sky underneath */
.mountain-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Should be slightly less than mountain height */
    background: #000000;
    z-index: 2;
}

/* Layer 4: Content (logo, text, button) - sits above everything */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.logo {
    width: 250px;
    height: auto;
    margin-bottom: 30vh;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 24px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: #ffffff;
    color: #000000;
}

.contact-section {
    background: #000000;
    padding: 80px 20px;
    text-align: center;
}

.divider {
    width: 80px;
    height: 1px;
    background: #888;
    margin: 40px auto;
}

.contact-info {
    margin-top: 40px;
}

.contact-info a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .logo {
        width: 200px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 10px 20px;
    }
}