/* assets/css/style.css ---------------------------------------------------- */
/* Dark theme, responsive layout, simple hover effects                     */

:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #ff5252;      /* a vivid red for links / highlights   */
    --muted-color: #777777;
    --max-width: 1200px;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Reset & base ------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html { font-size: 100%; }           /* 16 px default */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* Layout helpers ----------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}
header, nav, main, footer { padding: 1rem 0; }

/* Header & navigation ------------------------------------------------------ */
header {
    background-color: #1e1e1e;
    border-bottom: 2px solid var(--muted-color);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
}
nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: .3rem .6rem;
    border-radius: 4px;
    transition: background-color .2s, color .2s;
}
nav a:hover,
nav a.active {                     /* the page you are on */
    background-color: var(--accent-color);
    color: #fff;
}

/* Hero image --------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 1rem;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content sections ---------------------------------------------------------- */
h1, h2, h3 { margin-bottom: .5rem; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }

/* Lists of links (e.g., video categories) --------------------------------- */
.link-list {
    list-style: none;
    padding-left: 0;
}
.link-list li {
    margin: .5rem 0;
}
.link-list a {
    color: var(--accent-color);
    text-decoration: underline;
}
.link-list a:hover { text-decoration: none; }

/* Footer ------------------------------------------------------------------- */
footer {
    font-size: .85rem;
    text-align: center;
    border-top: 1px solid var(--muted-color);
    margin-top: 2rem;
    padding-top: .8rem;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 600px) {
    nav ul { flex-direction: column; gap: .5rem; }
}
