﻿body {
    background-color: #0d0d0f;
    color: #e6e6e6;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

a {
    color: #4da3ff;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

header, nav {
    background-color: #111114;
    border-bottom: 1px solid #222;
}

    nav a {
        padding: 1rem;
        display: inline-block;
        font-weight: 500;
    }

h1, h2, h3 {
    color: #f0f0f0;
}

.section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.main-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav-menu a:hover {
    color: #fff;
    text-decoration: underline;
}


.body-content {
    padding: 1.25rem;
    margin: 0; /* removes any default spacing */
}

button {
    background-color: #333;
    color: #eee;
    border: 1px solid #555;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

    button:hover {
        background-color: #444;
        border-color: #777;
    }

input, textarea, select {
    background-color: #1a1a1a;
    color: #ddd;
    border: 1px solid #444;
    padding: 0.4rem;
}

    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: #888;
    }
.site-footer {
    text-align: center;
    padding: 2rem 0;
    color: #555;
    font-size: 0.9rem;
}
.status-message {
    color: #8f8;
    margin-top: 1rem;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

    .status-message.fade {
        opacity: 0;
    }
.site-footer {
    text-align: center;
    padding: 2rem 0;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    margin-top: auto;
}
.ask-offline {
    color: #ff6666;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.ask-book-promo {
    text-align: center;
    margin-bottom: 2rem;
}

.ask-book-image {
    max-width: 220px;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    transition: transform 0.2s ease;
}

    .ask-book-image:hover {
        transform: scale(1.03);
    }

.home-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.home-cover-image {
    max-width: 240px;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    transition: transform 0.2s ease;
}

    .home-cover-image:hover {
        transform: scale(1.03);
    }

.home-content {
    flex: 1;
}

/* Give the right column breathing room on mobile */
@media (max-width: 600px) {
    .home-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .home-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-cover-image {
        margin-bottom: 1.5rem;
    }
}

h1:focus,
h2:focus,
h3:focus {
    outline: none;
}

h1[tabindex="-1"],
h2[tabindex="-1"],
h3[tabindex="-1"] {
    outline: none;
}
