/* =============================================================================
   BASE STYLES
   Order follows: html structure → index.ejs → about.ejs → common elements
   ============================================================================= */

html {
    /* This ensures the body takes up the full viewport height */
    height: 99vh;
    margin: 0;
    font-size: clamp(0.9rem, 1.25vw, 1.3rem);
    --background-color: hsl(30, 13%, 9%);
    --lightbackground-color: hsl(30, 13%, 17%);
    --vLightbacground-color: #555;
    --BaseColor: #A7856A;
    --BaseLightColor: #ffba94;
    --ErrorColor: #a2caae;
    --DarkBg: #1b1815;
    --FooterBorder: #bfb4ab;
    --LinkColor: #7d97ad;
    --LinkHover: #a3c4e1;
    --AccentColor: #CD7072;
    --ButtonBg: #1f5733;
    --ButtonText: #a3c4e1;
    --Title-Background-Color: #0093ff8a;

}

body {

    padding-top: 16px;
    display: flex;
    flex-direction: column;
    min-height: 97.5vh;
    font-family: Arial, sans-serif;
    line-height: 1.1rem;
    background-color: var(--DarkBg);
    color: var(--BaseLightColor);
}

/* =============================================================================
   INDEX.EJS - Home page
   ============================================================================= */

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Home page featured image */
.home-title {
    margin-top: 15px;
    margin-bottom: 15px
}

.featured-figure {
    border: 1px solid var(--BaseColor);
    margin: auto;
    width: 50%;
}

.homeimg {
    max-width: 100%;
    border: 1px solid;
    margin: auto;
    display: block;
    border: 1px solid var(--BaseColor);
}

.featured-caption {
    text-align: center;
    padding-top: 3px;
    padding-bottom: 2px;
    border-top: 1px solid var(--BaseColor);
}

/* =============================================================================
   FOOTER (partials/footer.ejs)
   ============================================================================= */

.footer {
    margin-top: auto;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 12px;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    color: #bfb4ab;
    border-top: 1px solid #bfb4ab;
    text-align: center;
}

/* =============================================================================
   COMMON ELEMENTS - Links, Headings, Buttons
   ============================================================================= */

a {
    color: var(--LinkColor);
}

a:hover {
    color: var(--LinkHover)
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

h2 {
    font-size: 1.2rem;
    margin: 0;
}

h3 {
    font-size: 1.0rem;
    margin: 0;
}

h4 {
    font-size: 0.8rem;
    margin: 0;
}

p {
    color: var(--BaseColor);
    font-size: 1rem;
    margin-top: 4px;
}

.button {
    margin-top: 8px;
    padding: 4px 6px;
    background-color: var(--ButtonBg);
    color: var(--ButtonText);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid;
    font-size: clamp(0.7rem, 0.45vw + 0.5rem, 0.95rem);

}

a.button:hover {
    color: #c1d8ec;
}

/* =============================================================================
   NAVBAR - sitename (used in partials/navbar.ejs)
   ============================================================================= */

.sitename {
    color: #CD7072;
    text-decoration: none;
    font-size: clamp(0.68rem, 0.4vw + 0.45rem, 1rem);

}

/* =============================================================================
   ABOUT.EJS - About page
   ============================================================================= */

.about-content {
    max-width: 810px;
    font-size: 1.3rem;
    line-height: 1.2;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    padding-top: 25px;
}

.p-image {
    float: left;
    width: 100px;
    margin-right: 10px;
    border: 2px solid;
}

/* =============================================================================
   MISC (possibly unused)
   ============================================================================= */

.placeholder-container {
    margin-top: 10px;
}