:root {
    --primary-gold: #d4af37;
    --primary-dark: #1a1a1a;
    --primary-navy: #0d1b2a;
    --accent-cream: #f5f1de;
    --accent-burgundy: #8b3a3a;
    --text-dark: #2a2a2a;
    --text-light: #ffffff;
    --border-subtle: #e0e0e0;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background-color: var(--accent-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f1de 0%, #efe8d9 50%, #e8e0cf 100%);
    z-index: -1;
    pointer-events: none;
}

header.header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-gold);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-gold);
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    margin: 0;
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
}

.hero-content {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.quote-display {
    text-align: center;
}

.featured-quote {
    background-color: var(--text-light);
    padding: 4rem 3rem;
    border-left: 6px solid var(--primary-gold);
    box-shadow: var(--shadow-deep);
    border-radius: 4px;
    margin: 0;
    animation: slideUp 0.8s ease-out;
}

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

.quote-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
    font-style: italic;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--accent-burgundy);
    font-weight: 500;
    letter-spacing: 1px;
    font-style: normal;
}

.featured-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-gold) 50%, transparent 100%);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.quote-card {
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    cursor: pointer;
}

.quote-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-deep);
}

.quote-card-inner {
    padding: 2.5rem;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--text-light) 0%, rgba(245, 241, 222, 0.5) 100%);
}

.quote-mark {
    font-size: 4rem;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.card-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-style: italic;
    line-height: 1.6;
    margin-top: 1rem;
}

.card-author {
    font-size: 1rem;
    color: var(--accent-burgundy);
    margin: 1.5rem 0 0 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-style: normal;
}

.explore-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background-color: rgba(212, 175, 55, 0.08);
    border-radius: 12px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-item {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.category-name {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.category-count {
    color: var(--accent-burgundy);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.highlights-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.daily-quote-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.daily-quote-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy) 100%);
    color: var(--text-light);
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.daily-quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--primary-gold) 0%, transparent 50%, var(--primary-gold) 100%);
    opacity: 0.1;
    pointer-events: none;
}

.daily-quote-text {
    font-size: 1.8rem;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.daily-quote-author {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.daily-quote-decoration {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-gold) 50%, transparent 100%);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

footer.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-text {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .nav {
        gap: 1rem;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }

    .hero {
        min-height: 50vh;
        padding: 2rem 1rem;
    }

    .featured-quote {
        padding: 2rem;
        border-left: 4px solid var(--primary-gold);
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quote-card-inner {
        min-height: 200px;
        padding: 1.5rem;
    }

    .quote-mark {
        font-size: 2.5rem;
        top: 0.5rem;
        left: 1rem;
    }

    .card-text {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .daily-quote-box {
        padding: 2rem;
    }

    .daily-quote-text {
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
    }

    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .featured-quote {
        padding: 1.5rem;
    }

    .card-text {
        font-size: 0.95rem;
    }

    .daily-quote-text {
        font-size: 1.1rem;
    }

    .category-list {
        grid-template-columns: 1fr;
    }
}
