/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #ecf0f1;
    --light-text: #bdc3c7;
    --background-dark: #1a1a1a;
    --overlay-color: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

/* Fix anchor positioning */
section {
    scroll-margin-top: 0;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-dark);
}

/* Banner Section */
.banner {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                url('static/images/banner.jpg') center/cover no-repeat;
    position: relative;
    text-align: center;
    padding: 2rem;
}

.banner .content {
    max-width: 900px;
    z-index: 2;
}

.banner h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.banner .subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--accent-color);
}

.banner .intro {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.banner .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--light-text);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

.fade-in-delay-4 {
    animation: fadeIn 1s ease-in 1.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button */
.button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Spotlight Sections */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    align-items: stretch;
}

.spotlight.left {
    background-color: var(--primary-color);
}

.spotlight.right {
    background-color: var(--secondary-color);
}

.spotlight.right .image {
    order: 2;
}

.spotlight.right .content {
    order: 1;
}

.spotlight .image {
    min-height: 400px;
    height: 100%;
    overflow: hidden;
}

.spotlight .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.spotlight:hover .image img {
    transform: scale(1.05);
}

.spotlight .content {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Remove excessive spacing from content elements */
.spotlight .content > *:first-child {
    margin-top: 0;
}

.spotlight .content > *:last-child {
    margin-bottom: 0;
}

.spotlight .content hr {
    display: none;
}

/* Hide wiki-style links and image embeds that aren't parsed */
.spotlight .content p:has(img[alt^="Pasted image"]) {
    display: none;
}

/* Remove duplicate h2 if present */
.spotlight .content h2 + h2 {
    display: none;
}

/* Tighten spacing for lists and paragraphs */
.spotlight .content ul,
.spotlight .content ol {
    margin-bottom: 1.5rem;
}

.spotlight .content li {
    margin-bottom: 0.5rem;
}

.spotlight h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
}

.spotlight p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.spotlight em {
    color: var(--accent-color);
    font-style: italic;
}

.signature {
    margin-top: 3rem;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color) !important;
}

/* Blockquote Callouts */
.spotlight blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    background-color: rgba(52, 152, 219, 0.1);
    font-style: italic;
}

.spotlight blockquote.quote {
    border-left-color: var(--accent-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.spotlight blockquote.reflection {
    border-left-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.spotlight blockquote.note {
    border-left-color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
}

/* Footer */
footer {
    background-color: #0f0f0f;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--light-text);
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2980b9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner h1 {
        font-size: 3rem;
    }
    
    .banner .subtitle {
        font-size: 1.5rem;
    }
    
    .spotlight .content {
        padding: 3rem;
    }
    
    .spotlight h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .banner .intro,
    .banner .description {
        font-size: 1rem;
    }
    
    .spotlight {
        grid-template-columns: 1fr;
    }
    
    .spotlight .image {
        height: 400px;
    }
    
    .spotlight.right .image,
    .spotlight.right .content {
        order: initial;
    }
    
    .spotlight .content {
        padding: 2rem;
    }
    
    .spotlight h2 {
        font-size: 1.75rem;
    }
    
    .spotlight p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner .subtitle {
        font-size: 1.2rem;
    }
    
    .button {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
    
    .spotlight .image {
        height: 300px;
    }
    
    .spotlight .content {
        padding: 1.5rem;
    }
}

