/* Custom styles for SpaceTech website */

/* Load the Valorant font */
@font-face {
    font-family: 'Valorant';
    src: url('../fonts/valorant.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset styles for a clean slate */
body, h1, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: black; /* Black background for space theme */
    color: white; /* White text for contrast */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navbar styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: transparent; /* Fully transparent navbar */
    padding: 0 20px; /* Add padding for spacing */
}

.logo img {
    height: 120px; /* Adjust logo size */
    width: auto; /* Maintain aspect ratio */
    filter: drop-shadow(0 0 10px white); /* Glow effect for the logo */
    transition: transform 0.3s ease-in-out; /* Smooth scaling on hover */
}

.logo img:hover {
    transform: scale(1.1); /* Slightly enlarge logo on hover */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Space between menu items */
}

nav ul li a {
    color: white; /* White text for links */
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* Subtle glow for links */
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

nav ul li a:hover {
    text-shadow: 0 0 10px white; /* Brighter glow on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Hero section styles */
main section {
    position: relative;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: black; /* Solid black background for a clean effect */
    padding: 0 20px; /* Padding to avoid content touching edges */
    overflow: hidden; /* Prevent overflow */
}

/* Center the text properly */
main section .text-center {
    position: absolute;
    top: 58%; /* Vertically center the content */
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    z-index: 1; /* Ensure it's on top of the image */
    opacity: 0;
    animation: revealText 1.5s forwards; /* Add animation */
}

main section .text-center h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 15px white, 0 0 30px rgba(255, 255, 255, 0.8); /* Enhanced glow effect */
    font-family: 'Valorant', sans-serif; /* Valorant font */
    margin: 0;
    line-height: 1.3; /* Add line height for better readability */
}

main section .text-center p {
    font-size: 1.2rem;
    color: white;
    font-family: 'Valorant', sans-serif; /* Valorant font */

    text-shadow: 0 0 15px white, 0 0 30px rgba(255, 255, 255, 0.8); /* Enhanced glow effect */
    max-width: 700px;
    line-height: 1.6;
    margin: 20px auto 0; /* Center and add margin below the heading */
}

/* Image styles */
main section img {
    max-width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgb(0, 0, 0)); /* Subtle glow for the image */
    transition: transform 0.3s ease-in-out;
}

/* Footer styles */
footer {
    position: relative;
    text-align: center; /* Center footer text */
    padding: 20px 0;
    background: transparent; /* Fully transparent footer */
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* Glow effect for footer text */
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-top: 30px; /* Space between the content and footer */
}

footer p {
    margin: 0; /* Remove default margin */
    background: transparent;
}

/* Reveal animation for text */
@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0); /* Reveal the text with sliding effect */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack menu items vertically */
        gap: 10px;
    }

    main section .text-center h1 {
        font-size: 2rem; /* Adjust heading size */
    }

    main section .text-center p {
        font-size: 1rem; /* Adjust paragraph size */
    }
}
