/* ============================================
   Pierian Spring - Main Stylesheet
   Warm burgundy overlay with classical typography
   ============================================ */

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #F5F1E8;
    overflow-x: hidden;
}

/* ============================================
   Hero Container with Background Image
   ============================================ */

.hero-container {
    min-height: 100vh;
    background-image: url('pierian_spring_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem;
}

/* ============================================
   Content Overlay Panel (Left-aligned)
   ============================================ */

.content-overlay {
    background-color: rgba(107, 44, 62, 0.90);
    max-width: 550px;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

/* ============================================
   Quote Section
   ============================================ */

.quote-section {
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(124, 152, 133, 0.4);
    padding-bottom: 1.5rem;
}

blockquote {
    margin: 0;
}

.quote-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: #F5F1E8;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-attribution {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    color: #D4AF37;
    text-align: right;
    font-style: normal;
}

/* ============================================
   Introduction Text
   ============================================ */

.intro-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: #F5F1E8;
    line-height: 1.7;
}

/* ============================================
   Topics Menu
   ============================================ */

.topics-menu h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.topic-list {
    list-style: none;
    margin-bottom: 2rem;
}

.topic-item {
    margin-bottom: 1.5rem;
}

.topic-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-left: 3px solid #7C9885;
    transition: all 0.3s ease;
}

.topic-item a:hover {
    background-color: rgba(212, 175, 55, 0.15);
    border-left-color: #D4AF37;
    transform: translateX(5px);
}

.topic-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    display: inline-block;
    vertical-align: middle;
}

.topic-title {
    display: block;
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 0.25rem;
}

.topic-subtitle {
    display: block;
    font-size: 0.95rem;
    color: #F5F1E8;
    opacity: 0.9;
    line-height: 1.4;
    margin-left: 2rem;
}

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

.footer-note {
    font-size: 0.95rem;
    color: #D4AF37;
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid rgba(124, 152, 133, 0.3);
}

.footer-note em {
    color: #C9A961;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-container {
        background-attachment: scroll;
        padding: 1rem;
    }
    
    .content-overlay {
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin-left: 0;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
    
    .quote-attribution {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .topics-menu h2 {
        font-size: 1.3rem;
    }
    
    .topic-title {
        font-size: 1.1rem;
    }
    
    .topic-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content-overlay {
        padding: 1.5rem 1rem;
    }
    
    .quote-text {
        font-size: 1.3rem;
    }
    
    .topic-subtitle {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ============================================
   Print Styles (if students want to print)
   ============================================ */

@media print {
    .hero-container {
        background: white;
        color: black;
    }
    
    .content-overlay {
        background-color: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .quote-text,
    .topics-menu h2,
    .topic-title {
        color: black;
    }
}
