/* ============================================
   ERIK PETER — style.css
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', 'Noto Sans JP', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #a31f34;
    text-decoration: none;
}

a:hover {
    color: #000;
}

/* Notification Bar */
.notification-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.notification-bar a {
    color: #fff;
    text-decoration: none;
}

.notification-bar span {
    color: #ffcc00;
    font-weight: bold;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.site-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    color: #000;
    letter-spacing: 1px;
}

/* Navigation — Desktop */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.nav-menu a {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #a31f34;
}


.auth-buttons {
    display: flex;
    gap: 15px;
}

.create-account-btn {
    background-color: #a31f34;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    font-size: 15px;
}

.create-account-btn:hover {
    background-color: #8a1a2d;
    color: #fff !important;
}   

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    padding: 10px 0;
    z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

/* Mobile Menu Toggle — hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
}

/* ============================================
   Main Content
   ============================================ */

.alternate-sides-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.alternate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.showcase-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.showcase-card-content {
    padding: 30px;
}

.novel-subtitle {
    font-family: 'Anton', sans-serif;
    font-size: 13px;
    color: #a31f34;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.showcase-card h1 {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.showcase-card h1 i {
    font-style: italic;
}

.alternate-description {
    font-family: 'EB Garamond', 'Noto Sans JP', serif;
    font-size: 15px;
    line-height: 1.65;
    color: #000;
    margin-bottom: 15px;
}

.showcase-card-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.showcase-image-caption {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* YouTube iframe */
iframe {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 4px;
    margin: 15px 0;
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.newsletter-container {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.newsletter-section p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #000;
    border-right: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    outline: none;
}

.newsletter-input:focus {
    border-color: #a31f34;
}

.newsletter-submit {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 12px 25px;
    font-family: 'Anton', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-submit:hover {
    background: #a31f34;
    border-color: #a31f34;
}

#message {
    margin-top: 12px;
    font-weight: bold;
    min-height: 20px;
}

/* ============================================
   Footer
   ============================================ */

.static-footer {
    background: #000;
    color: #fff;
    padding: 40px 0 30px;
    font-family: 'EB Garamond', serif;
    border-top: 3px solid #a31f34;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #a31f34;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: #999;
}

/* ============================================
   Scroll offset for sticky header
   ============================================ */

section[id] {
    scroll-margin-top: 90px;
}

/* ============================================
   MOBILE — max-width: 768px
   ============================================ */

@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    }

    /* THE critical rule that makes the toggle work */
    .nav-menu.active {
        display: flex;
    }

    /* Nav links become full-width rows */
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }

    /* Dropdown becomes a simple indented list */
    .has-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: 100%;
        padding: 0 0 0 16px;
    }

    .dropdown-menu a {
        padding: 10px 0;
        font-size: 15px;
    }

    /* Grid collapses to single column */
    .showcase-dual-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-card h1 {
        font-size: 24px;
    }

    .showcase-card-content {
        padding: 20px;
    }

    /* Newsletter stacks */
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-input {
        border-right: 2px solid #000;
    }

    /* Footer stacks */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .footer-column {
        min-width: 100%;
    }
}

/* ============================================
   SMALL MOBILE — max-width: 480px
   ============================================ */

@media (max-width: 480px) {
    .showcase-card h1 {
        font-size: 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-image {
        height: 32px;
    }
}   
