/* noto-serif-jp-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-serif-jp-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-jp-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/noto-serif-jp-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cinzel-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cinzel-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cinzel-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --bg-dark: #151313;
    --text-light: #f5f5f5;
    --accent: #648db6;
    --accent2: #6282ca;
    --accent3: #24beff;
    --overlay-dark: rgba(0, 0, 0, 0.45);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Noto Serif JP', serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body), serif;
    line-height: 1.6;
}

header {
    font-family: var(--font-heading), serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    position: fixed;
    width: 100%;
    top: 4rem;
    z-index: 10;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9); /* 90% opacity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: .5rem 0;
    top: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 2rem;
    transition: color 0.4s ease;
}

main a:hover {
    text-decoration: underline;
}

.accent {
    color: var(--accent);
}

.accent2 {
    color: var(--accent2);
}

.accent3 {
    color: var(--accent3);
}

nav a:hover, nav a.active, main a {
    color: var(--accent);
    text-decoration: none;
}

h1, h2, h3 {
    font-family: var(--font-heading), serif;
    color: var(--text-light);
}

nav a:hover, .welcome-title {
    text-shadow: 0 0 10px rgba(255, 235, 150, 0.6);
}

.text-box {
    max-width: 900px;
    margin: 15vh auto;
    padding: 2rem 3rem;
    background-color: rgba(12, 12, 12, 0.9);
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px); /* Optional glassmorphism effect */
    color: #d4d4d4;
    font-size: 1rem;
    line-height: 1.6;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    z-index: 0;
    pointer-events: none;
}

.parallax-container {
    position: relative;
    overflow: hidden;
}

.text-box {
    background-color: #060808e6;
    backdrop-filter: blur(19px);
    border-radius: 1rem;
    padding: 2rem;
    margin: 10rem auto;
    max-width: 850px;
    box-shadow: 0 8px 24px rgba(6, 8, 8, 0.9);
    position: relative;
    z-index: 5;
}

@media (max-width: 950px) {
    .text-box {
        margin: 10rem .7rem !important;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 850px) {
    .menu-toggle {
        text-align: center;
        display: block;
        margin: 0 auto;
    }

    .welcome-content {
        top: 3rem;
    }

    .navbar {
        width: 100%;
        transition: all ease 0.3s;
    }

    .navbar.show {
        background-color: rgba(10, 10, 10, 0.97);
    }

    header {
        top: 0rem !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links.show {
        display: flex;

    }

    .nav-links a {
        padding: 1rem;
        border-top: 1px solid #333;
    }
}
