/* Dark Academic Theme */

:root {
    --bg-primary: #1a1a1f;
    --bg-secondary: #232328;
    --bg-card: #2a2a30;
    --text-primary: #e8e4dc;
    --text-secondary: #a8a4a0;
    --accent: #c9a227;
    --accent-hover: #dbb842;
    --border: #3a3a40;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(26, 26, 31, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

/* Hero */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 700px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 1rem auto 0;
}
/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    border: 3px solid var(--border);
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text h2::after {
    margin: 1rem 0 0;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-publisher {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-footer a {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.section-footer a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Contact */
.contact-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-email {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.contact-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .about-text h2::after {
        margin: 1rem auto 0;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
