/* General body styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    margin: 0;

    /* Set the background SVG */
    background-image: url('assets/main.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keep background fixed on scroll */
}

/* Main content alignment */
#home {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding-left: 14%;
}

/* Styling for other sections */
#philosophy, #connect {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 80px 14%;
    background-color: #fff;
    box-sizing: border-box;
}

#philosophy h2, #connect h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

#philosophy p {
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 75ch; /* Improves readability */
}

/* Navbar styling */
nav {
    position: fixed; /* Changed to fixed to stay on top during scroll */
    top: 40px;
    right: 60px;
    z-index: 10;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Added for better visibility on different backgrounds */
}

nav a:hover::after {
    content: ".";
    position: absolute;
}

/* Logo styling */
#logo {
    max-width: 30%;
    max-height: 250px;
    height: auto;
}

/* Responsive styling for smaller screens (e.g., phones) */
@media (max-width: 768px) {
    #home {
        justify-content: center; /* Center the logo on smaller screens */
        padding-left: 0;
    }

    nav {
        top: 20px;
        right: 20px;
    }

    nav ul {
        gap: 20px;
    }

    #logo {
        max-width: 70%; /* Allow the logo to be larger on small screens */
    }
}
