/* Color Palette */
:root {
    --color-pine: #2D5A3D;
    --color-gold: #D4AF37;
    --color-cream: #F5F3F0;
    --color-charcoal: #2B2B2B;
    --color-gold-muted: #C9A961;
    --color-divider: #E8E3DD;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Spectral', serif;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    line-height: 1.7;
    font-size: 16px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: 4rem;
}

.nav-brand {
    flex-shrink: 0;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-pine);
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    display: block;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-gold);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-gold);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    min-height: 500px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    color: var(--color-pine);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-gold-muted);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-charcoal);
    margin-top: 1.5rem;
}

/* Book Image */
.book-image {
    max-width: 100%;
    height: auto;
    box-shadow: 
        -10px 20px 40px rgba(45, 90, 61, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    animation: bookImageFloat 3s ease-in-out infinite;
}

@keyframes bookImageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Intro Section */
.intro {
    max-width: 800px;
    margin: 6rem auto;
    padding: 4rem;
    background-color: white;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

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

/* Quick Links Section */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 6rem 0;
    padding: 4rem 0;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}

.link-card {
    padding: 2rem;
    background-color: white;
    border: 1px solid var(--color-divider);
    transition: all 0.3s ease;
    position: relative;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 90, 61, 0.1);
    border-color: var(--color-gold-muted);
}

.link-card h3 {
    color: var(--color-pine);
    margin-bottom: 0.75rem;
}

.link-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.link-arrow {
    color: var(--color-gold);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    color: var(--color-pine);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-divider);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 6rem;
}

.footer-note {
    margin-top: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 0 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-book {
        height: 400px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

    .site-nav {
        margin-bottom: 2rem;
    }

    .intro {
        padding: 2rem;
        margin: 3rem 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
        padding: 2rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .book-image {
        animation: none;
    }

    .link-card:hover {
        transform: none;
    }
}
