/* --- GLOBAL & LAYOUT RESET --- */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    /* Allows the footer to remain at the bottom when main has flex: 1 */
}

body {
    background: #f5f5f5;
}

/* Optional: If you wrap your content in <main> */
main {
    flex: 1;
    /* Grows to push the footer down */
}

/* --- HEADER & NAVIGATION --- */
header {
    background: #333;
    color: #fff;
    padding: 1.5em;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    background: #333;
    /* matches header for a cohesive top area */
    padding: 1em;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
    transition: background 0.3s;
}

nav a:hover {
    background: #666;
    border-radius: 4px;
}

nav a:active {
    background: #555;
    border-radius: 4px;
}

/* --- HERO SECTION --- */
.hero {
    /* You can change the URL to your actual image path */
    background: url('./data/A_futuristic_digital_renaissance_scene_featuring_a.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Dark overlay for better text contrast */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2em;
    text-align: center;
}

.hero h1 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.4em;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1em;
}

button.cta {
    background: #ff9800;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 1em 2em;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 1em;
    border-radius: 5px;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 15px rgba(255, 165, 0, 0.6);
}

button.cta:hover {
    background: #e65100;
    box-shadow: 0px 6px 20px rgba(255, 165, 0, 0.8);
}

/* Mobile fallback for parallax background */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        height: auto;
        padding: 4em 1em;
    }
}

/* --- UNIVERSAL SECTION STYLING --- */
.section {
    padding: 2em 1em;
    max-width: 800px;
    margin: 2em auto;
    /* Some vertical space between the hero/footer */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.section h2 {
    margin-bottom: 1em;
    font-size: 1.8em;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

label {
    text-align: left;
    font-weight: bold;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 20px);
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    margin: 0 auto;
}

button {
    background: #ff9800;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 1em;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s, box-shadow 0.3s;
}

button:hover {
    background: #e65100;
}

/* Lists in .section share the same style */
.section ul {
    list-style: none;
    padding: 0;
    margin: 1.5em auto;
    max-width: 600px;
    text-align: left;
}

.section li {
    margin: 0.5em 0;
    padding-left: 1.2em;
    position: relative;
}

.section li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

/* --- FOOTER --- */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1em;
    margin-top: auto;
}