@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

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

body {
    background-color: #000;
    color: #fff;
    font-family: 'DM Serif Display', serif;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-left: 2.5rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

/* HERO */
.hero {
    width: 100%;
    height: 100vh;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-text {
    position: relative;
    text-align: center;
}

h1 {
    font-size: 7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}

/* LETTER ANIMATION */
.animate-letters span {
    opacity: 0;
    display: inline-block;
    white-space: pre-wrap;
    animation: letterIn 1.5s ease forwards;
}

@keyframes letterIn {
    from {
        opacity: 0;
        filter: blur(14px);
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0) scale(1);
    }
}

/* PAGE SECTIONS */
.page-hero {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.page-text {
    position: relative;
    max-width: 560px;
    padding: 6rem 2rem;
    text-align: center;
}

.page-text h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
    color: #fff;
}

.page-body p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.animate-block {
    opacity: 0;
    animation: blockIn 2s ease forwards;
    animation-delay: 1.5s;
}

@keyframes blockIn {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

.submit-button {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.9rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    font-style: normal;
    opacity: 0.85;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.submit-button:hover {
    opacity: 1;
    border-color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .page-text h2 {
        font-size: 2rem;
    }

    .page-text {
        max-width: 90%;
        padding: 4rem 1.5rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links a {
        margin-left: 1rem;
        font-size: 0.8rem;
    }

    .nav-logo a {
        font-size: 0.9rem;
    }
}