/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --bg-color: #0d0d0d;
    --text-color: #d1d1d1;
    --accent-color: #c19a6b; /* Sophisticated Gold/Tan */
    --theory-accent: #4a90e2; /* Keeping blue for theory tags */
    --card-bg: #161616;
    --border-color: #2a2a2a;
    
    /* Typography */
    --font-header: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --font-ui: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3 { 
    font-family: var(--font-header); 
    color: #ffffff; 
    line-height: 1.2;
}

a { color: var(--accent-color); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
}

/* --- Hero & Landing --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* --- Search & Cards --- */
.search-bar {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 1rem;
    margin-bottom: 25px;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.card:hover { transform: translateY(-3px); }

.card h3 { margin-top: 0; font-size: 1.8rem; }

/* --- Tags --- */
#tagCloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.tag {
    background: #252525;
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.tag.active { background: var(--accent-color); color: black; font-weight: bold; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-ui);
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    margin-top: 20px;
}

/* --- Content Styling --- */
.debate-content {
    font-size: 1.2rem;
    max-width: 65ch;
    margin: 0 auto;
}

.centered-title { text-align: center; margin: 40px 0; font-size: 3rem; }

/* Don't forget idiot, keep this specific spacing */
.home-link {
    font-family: var(--font-ui);
    display: inline-block;
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 60px 0 30px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    opacity: 0.6;
}.poem-body {
    white-space: pre !important;
    font-family: 'Lora', serif !important;
    font-style: italic !important; 
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.9;
    color: #ffffff;
    margin: 50px 0;
    padding-left: 10%;
    
    /* Horizontal Scroll */
    overflow-x: auto;
    display: block;
}

/* Adjust for Mobile */
@media (max-width: 600px) {
    .poem-body {
        font-size: 0.95rem;
        padding-left: 5%;
        margin: 30px 0;
        -webkit-overflow-scrolling: touch; 
    }
}
/* Theory Specific Styling */
.theory-title {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 20px;
}

.theory-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.theory-body h2 {
    font-size: 1.8rem;
    color: var(--theory-accent);
    margin-top: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    opacity: 0.9;
}
.poem-body strong {
    color: var(--accent-color);
    font-weight: 700;
    font-style: normal;
}
/* Styling for links inside the contact toggle */
.contact-item {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}


.contact-item:hover {
    background: #252525;
    color: var(--accent-color);
    border-color: var(--border-color);
}

/* the triangle arrow */
.contact-section summary::-webkit-details-marker {
    display: none; 
}
/* Catalog Specific Colors */
.btn-theory { background: var(--theory-accent) !important; color: white !important; }
.btn-literary { background: var(--accent-color) !important; color: black !important; }

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .container { padding: 1.2rem; }
}

