/**
 * Star Field Website Stylesheet
 * Contains all CSS styling for layout, typography, and responsive design
 */

/* Reset default margins and padding for consistent styling across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set body to fill entire viewport with no scrollbars */
body {
        /*background: linear-gradient(to right, #000, #0e1129); /* Gradient from black to blue */
        /*background: radial-gradient(circle at center, #000000 0%, #21282a 150%);*/
                background: radial-gradient(circle at center, #000000 0%, #0e1129 150%);


    /*overflow: hidden;*/
    font-family: 'Open Sans', sans-serif;
}

/* Canvas element for Three.js - positioned fixed to cover entire background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind all content */
}

/* Top navigation bar - fixed at the top right with social icons only */
.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3; /* Above all other content */
    padding: 40px 40px;
}

/* Main content container - vertically and horizontally centered */
.content {
    position: relative;
    z-index: 2; /* Above the canvas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Vertically center the content */
    min-height: 100vh;
    padding: 40px 20px; 
    color: white;
}

/* Logo - positioned above text content, aligned to left of text container */
.logo {
    width: 160px;
    height: auto;
    align-self: flex-start;
padding-top: 40px;
    margin-bottom: 50px;
    margin-left: calc((100vw - 750px) / 2); /* Align with text-container left edge */
}

/* Container for text sections to limit width on larger screens */
.text-container {
    max-width: 700px;
    width: 100%;
    margin-bottom: 40px;
}

/* Individual text section styling */
.text-section {
    margin-bottom: 40px;
}

/* Headline styling using Open Sans Bold */
.text-section h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 200; /* Bold */
    font-size: 48px;
    margin-bottom: 45px;
    line-height: 1.2;
        letter-spacing: .05em;
    color: white;
}



.text-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 200; /* Bold */
    font-size: 24px;
    margin-bottom: 15px;
        letter-spacing: .05em;
    color: white;
}

/* Body text styling using Open Sans Regular */
.text-section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 100; /* Regular */
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: .05em;
    color: #b3b9e5;
}

/* Social icons container in navigation bar */
.social-icons {
    display: flex;
    gap: 30px;
}

/* Individual icon styling */
.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Icon hover effect - slight scale up */
.social-icons a:hover {
    transform: scale(1.1);
}

/* SVG icon sizing */
.social-icons svg {
    width: 40px;
    height: 40px;
    fill: white;
}

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

/* Responsive design for tablets and smaller devices */
@media (max-width: 768px) {
    .logo {
        width: 160px;
        margin-left: 0; /* Remove calc, let it align naturally */
        margin-bottom: 50px;
        padding-top: 0px;
    }

    .top-nav {
        padding: 30px 30px;
    }

    .text-section h2 {
        font-size: 24px;
    }

    .text-section p {
        font-size: 15px;
    }

    .social-icons svg {
        width: 35px;
        height: 35px;
    }
}

/* Responsive design for mobile phones */
@media (max-width: 480px) {
    .logo {
        width: 160px;
        margin-left: 0; /* Remove calc, let it align naturally */
        margin-bottom: 40px;
        padding-top: 10px;
    }

    .top-nav {
        padding: 20px 20px;
    }

    .content {
        padding: 30px 35px;
    }

    .text-section h2 {
        font-size: 22px;
    }

    .text-section p {
        font-size: 14px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icons svg {
        width: 28px;
        height: 28px;
    }
}
