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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden; /* Disable horizontal scroll */
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent nav background */
    padding: 30px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 40px;
    font-weight: bold;
}

nav ul li a:hover {
    color: #e05a47;
}

/* Fullscreen Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;   /* Full width */
    background-size: cover; /* Make sure the image covers the entire section */
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column; /* Stack text vertically within each hero section */
    scroll-snap-align: start; /* Optional: Enables smooth scrolling between sections */
}

.hero1 {
    background-image: url('head+copy.jpg'); /* Replace with actual path */
}

.hero2 {
    background-image: url('hq720.jpg'); /* Replace with actual path */
}

.hero3 {
    background-image: url('PAL-V-Liberty-flying-car-015.jpg'); /* Replace with actual path */
}

/* Overlay Content for the Hero Sections */
.overlay-content {
    text-align: center;
    backdrop-filter: blur(5px); /* Optional: Subtle blur effect to make text stand out */
    padding: 20px;
}

.overlay-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.overlay-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

button {
    background-color: #e05a47;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
}

button:hover {
    background-color: #333;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f7f7f7;
    color: #777;
    font-size: 14px;
}

/* Optional: For smooth vertical scrolling between sections */
html {
    scroll-behavior: smooth;
}

body {
    scroll-snap-type: y mandatory; /* Snaps the scroll to each section when scrolling */
}

@media (max-width: 768px) {
    .overlay-content h1 {
        font-size: 2.5rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}
