/* assets/styles.css - Cleaned & Final Version */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

body {
    background-color: #0a0a0a; /* Solid dark fallback */
    color: #e0e0e0;
    font-family: 'Crimson Text', serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    /*background-image: url('assets/images/hero.jpg');*/
    background-image: url('https://raw.githubusercontent.com/idlehanz/idlehanz.github.io/main/assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Reduced from 0.65 — serpent details show through better */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2em;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 5.5em;
    margin: 0 0 0.2em;
    text-shadow: 0 0 20px #000;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-size: 1.8em;
    margin: 0.5em 0;
    text-shadow: 0 0 10px #000;
}

.tagline {
    font-size: 1.4em !important;
    font-style: italic;
    opacity: 0.9;
}

.enter-btn {
    display: inline-block;
    margin-top: 2em;
    padding: 1em 2.5em;
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid #555;
    color: #fff;
    font-size: 1.3em;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s;
}

.enter-btn:hover {
    background: rgba(80, 80, 80, 0.8);
    border-color: #888;
    transform: scale(1.05);
}

/* Rest of your existing styles (keep them all) */
header {
    background: linear-gradient(to bottom, #000, #111);
    padding: 4em 2em;
    text-align: center;
    border-bottom: 3px solid #333;
}
/* ... keep everything else exactly as you had it (nav, tiles, collapsibles, etc.) ... */
.projects {
    padding: 4em 2em;
    background: #111;
}

.lyrics {
    max-width: 600px;
    margin: 3em auto;
    text-align: center;
    font-size: 1.3em;
    line-height: 2.4;
    font-style: italic;
    color: #ddd;
}

.lyrics p {
    margin: 2em 0;
}

footer {
    text-align: center;
    padding: 2em;
    background: #000;
    color: #666;
    font-size: 0.9em;
}
/* Enhanced Collapsibles for Book Chapters */
.collapsible {
    cursor: pointer;
    padding: 1.8em 1.5em;
    background: #1a1a1a;
    margin: 1.2em 0;
    border-left: 5px solid #444;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    color: #eee;
    transition: all 0.3s ease;
    position: relative;
}

.collapsible:hover {
    background: #222;
    border-left-color: #666;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.collapsible::before {
    content: "▶";
    position: absolute;
    right: 1.5em;
    font-size: 1.2em;
    transition: transform 0.3s;
}

.active::before {
    content: "▼";
    transform: rotate(0deg);
}

/* Improved readability for chapter text */
.content {
    display: none;
    padding: 3em 4em; /* More generous padding */
    background: #131313;
    border: 1px solid #333;
    border-top: none;
    border-radius: 0 0 6px 6px;
    font-size: 1.15em;
    line-height: 2; /* Increased from 1.9 — gives beautiful spacing */
    color: #ddd;
    max-width: 900px; /* Limits width for comfortable reading */
    margin: 0 auto; /* Centers the text block */
}

.content p {
    margin-bottom: 1.8em; /* More space between paragraphs */
    text-align: justify; /* Optional: justified text for book feel — remove if you prefer left-aligned */
    hyphens: auto; /* Smooth word breaks on narrow screens */
}

.content blockquote {
    margin: 2.5em 0;
    padding-left: 2em;
    border-left: 5px solid #555;
    font-style: italic;
    color: #ccc;
    font-size: 1.1em;
}

.content ul, .content ol {
    margin: 2em 0;
    padding-left: 2em;
}

.content li {
    margin-bottom: 0.8em;
}

/* Optional: Subtle first-line indent (classic book style) */
.content p:not(:first-of-type) {
    text-indent: 2em;
    margin-top: 0;
}

.active + .content {
    display: block;
    animation: fadeIn 0.5s;
}
/* Styled Brief Summary - same readable format as chapters */
#brief-summary {
    max-width: 900px;      /* Matches chapter content width */
    margin: 4em auto;      /* Centers and adds top/bottom space */
    padding: 3em 4em;
    background: #131313;   /* Dark card like opened chapters */
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1.15em;
    line-height: 2;
    color: #ddd;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#brief-summary p {
    margin-bottom: 1.8em;
    text-align: justify;   /* Remove if you prefer left-aligned */
}

#brief-summary h2 {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 2.2em;
    margin-bottom: 1.5em;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}









