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

:root {
    --dark-bg: #1a1a1a;
    --dark-accent: #2d2d2d;
    --light-text: #eeedeb;
    --accent-gold: #c9a961;
    --accent-red: #8b2f3a;
    --section-padding: 80px 20px;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-gold);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    padding-top: 100px;
    background: url('images/hero-background.jpg') center center / cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-text .tagline {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--light-text);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-gold);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* Section Styles */
section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-align: center;
}

section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* About Section */
#about {
    background: var(--dark-accent);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 20px;
}

/* Books Section */
.book-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.book-cover {
    position: sticky;
    top: 100px;
}

.book-cover img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.book-details h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.book-details .release-date {
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-bottom: 25px;
    font-weight: bold;
}

.book-details .synopsis {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Newsletter Section */
#newsletter {
    background: var(--dark-accent);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--accent-gold);
    background: var(--dark-bg);
    color: var(--light-text);
    font-size: 1rem;
    border-radius: 5px;
}

.newsletter-form button {
    width: 100%;
    padding: 15px;
    background: var(--accent-gold);
    color: var(--dark-bg);
    border: 2px solid var(--accent-gold);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* Contact Section */
#contact {
    text-align: center;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-info a {
    color: var(--accent-gold);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-gold);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--dark-accent);
    border-top: 1px solid var(--accent-gold);
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Character Profile Styles */
.character-profile {
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--light-text);
}

.profile-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.profile-image {
    position: sticky;
    top: 120px;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-gold);
}

.profile-content h1 {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.role {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-style: italic;
    margin-bottom: 30px;
}

.profile-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .tagline {
        font-size: 1.3rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .book-showcase {
        grid-template-columns: 1fr;
    }

    /* Remove sticky on mobile - let image scroll naturally */
    .book-cover {
        position: relative;
        top: auto;
    }

    nav ul {
        gap: 20px;
    }

    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 968px) {
    .profile-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-image {
        position: relative;
        top: 0;
    }

    .profile-content h1 {
        font-size: 2.5rem;
    }
}