
:root {
    --forest-green: #183c32;
    --deep-green: #102b24;
    --christmas-red: #a63d40;
    --warm-cream: #f8f5ed;
    --soft-white: #fffefa;
    --muted-text: #77766f;
}

body {
    background-color: var(--warm-cream);
    color: var(--forest-green);
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

/* Navigation */

.site-navbar {
    background-color: var(--deep-green);
    padding: 1rem 0;
}

.site-navbar .navbar-brand {
    letter-spacing: 0.03em;
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.site-navbar .nav-link:hover {
    color: white;
}

/* Homepage hero */

.hero-section {
    background:
        radial-gradient(
            ellipse at top,
            rgba(255, 255, 255, 0.12),
            transparent 70%
        ),
        var(--forest-green);

    color: var(--soft-white);
    padding: 7rem 1rem 8rem;
}

.hero-eyebrow {
    color: #d7c49c;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 1.5rem auto 0;
}

.btn-christmas {
    background-color: var(--christmas-red);
    border-color: var(--christmas-red);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 6px;
}

.btn-christmas:hover {
    background-color: #893235;
    border-color: #893235;
    color: white;
}

/* Welcome section */

.welcome-section {
    padding: 5rem 1rem;
}

.welcome-section h2 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.section-description {
    color: var(--muted-text);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.feature-card {
    background-color: var(--soft-white);
    border: 1px solid #eae6dc;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--muted-text);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Footer */

.site-footer {
    background-color: var(--deep-green);
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 1rem;
    }

    .welcome-section {
        padding: 3.5rem 1rem;
    }
}

/* Authentication pages */

.auth-container {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-card {
    background: var(--soft-white);
    border: 1px solid #eae6dc;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
}

.auth-card h1 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.auth-description {
    color: var(--muted-text);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form p {
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.auth-form input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #dedbd2;
    border-radius: 6px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(24, 60, 50, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--christmas-red);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Allauth pages */

.auth-container {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-card {
    background: var(--soft-white);
    border: 1px solid #eae6dc;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(16, 43, 36, 0.05);
}

.auth-card h1 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.auth-card p {
    color: var(--muted-text);
    line-height: 1.7;
}

.auth-card form {
    margin-top: 1.5rem;
}

.auth-card label {
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.auth-card input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #dedbd2;
    border-radius: 6px;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(24, 60, 50, 0.1);
}

.auth-card button[type="submit"] {
    background-color: var(--christmas-red);
    border: 1px solid var(--christmas-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
}

.auth-card button[type="submit"]:hover {
    background-color: #893235;
    border-color: #893235;
}

.auth-card ul {
    padding-left: 1.25rem;
}

.auth-card .errorlist {
    color: #a63d40;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
}
