:root {
    --gold: #c5a059;
    --dark-bg: #0b0d11;
    --text-light: #e0e0e0;
    --nav-height: 80px;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- NAVIGATION BAR --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(11, 13, 17, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-contact {
    border: 1px solid var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-contact:hover {
    background: var(--gold);
    color: var(--dark-bg) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/images/bg2.png') no-repeat center center fixed; 
    background-size: cover;
    padding-top: var(--nav-height); /* Prevents nav from covering content */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(11, 13, 17, 0.8) 0%, 
        rgba(11, 13, 17, 0.4) 50%, 
        rgba(11, 13, 17, 0.9) 100%
    );
    z-index: 1;
}

.content {
    position: relative;
    width: 60%; /* Slightly wider for better readability */
    z-index: 2;
    padding: 2rem;
}

.title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.8);
}

.subtitle {
    font-size: 1.2rem; /* Adjusted for better flow */
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    letter-spacing: 1px;
}

.book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--gold);
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
}

.book-cover {
    width: 320px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    border-radius: 5px;
}

.book-info h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: var(--gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

/* Gallery for character images */
.gallery-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.gallery-img {
    width: 320px; /* Slightly smaller than main cover */
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    border: 2px solid var(--gold);
}

@media (max-width: 768px) {
    .content { width: 90%; }
    .book-container { flex-direction: column; text-align: center; }
    .title { font-size: 2.5rem; }
    .nav-links { display: none; } /* You'll eventually want a hamburger menu here */
}
/* --- CONTACT PAGE SPECIFICS --- */
.contact-page {
    background: url('assets/images/bg2.png') no-repeat center center fixed; 
}

.contact-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--gold);
    backdrop-filter: blur(10px);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input, 
.input-group textarea {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form .cta-button {
    cursor: pointer;
    width: fit-content;
    align-self: center;
    margin-top: 1rem;
}
/* --- ABOUT PAGE SPECIFICS --- */

.copyright-block {
    text-align: left; /* Legal text looks better left-aligned */
    display: block;   /* Override flex for the copyright section */
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.copyright-info {
    width: 100%;
}

.legal-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-credit {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.copyright-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.legal-disclaimer {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.legal-disclaimer p {
    margin-bottom: 1rem;
}

.edition-details {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.edition-details p {
    margin: 0.3rem 0;
}

.ai-disclosure {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: justify;
    opacity: 0.8;
}

.disclosure-link {
    color: var(--gold);
    text-decoration: underline;
    font-size: 0.85rem;
    display: block;
    margin: 0.5rem 0;
}

.disclaimer-small {
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Author Bio Section */
.author-bio {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.bio-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
}

.bio-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}
/* --- GALLERY PAGE SPECIFICS --- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.thumb {
    width: 100%;
    height: 350px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-item:hover .thumb {
    filter: brightness(60%);
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.2rem;
}

.gallery-item:hover .thumb-overlay {
    opacity: 1;
}

/* --- LIGHTBOX MODAL --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 30px rgba(0,0,0,1);
    border: 2px solid var(--gold);
    border-radius: 5px;
}

#caption {
    margin-top: 1.5rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold);
}
/* --- BLOG PAGE SPECIFICS --- */

.blog-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--gold); /* Gold accent bar on the left */
    backdrop-filter: blur(10px);
    text-align: left;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}

.post-date {
    font-family: 'Inter', sans-serif;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.post-title {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.post-footer {
    text-align: center;
    color: rgba(197, 160, 89, 0.4);
    font-size: 1rem;
}
