/* ─── Reset / Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:    #c9a227;
    --gold-dk: #a67c00;
    --dark:    #1a1a1a;
    --mid:     #2e2e2e;
    --light:   #f5f0e8;
    --text:    #333;
    --muted:   #777;
    --radius:  6px;
    --shadow:  0 2px 12px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

a { color: var(--gold-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ─── Header ───────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 52px;
    width: auto;
    border-radius: 50%;
    display: block;
}

.site-nav a {
    color: #ccc;
    margin-left: 1.75rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--mid);
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: .75rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a { margin-left: 0; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #3a2c00 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
}
.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold);
    margin-bottom: .5rem;
}
.hero p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 1.75rem;
}
.btn {
    display: inline-block;
    padding: .65rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
    border: none;
    text-decoration: none;
}
.btn-primary { background: var(--gold); color: #1a1a1a; }
.btn-primary:hover { background: var(--gold-dk); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #1a1a1a; text-decoration: none; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Section titles ───────────────────────────────────────────────────────── */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: .25rem;
}
.section-subtitle { color: var(--muted); margin-bottom: 2rem; }
.section { padding: 3.5rem 0; }
.section-header { margin-bottom: 2rem; }

/* ─── YouTube grid ─────────────────────────────────────────────────────────── */
.yt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.yt-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.yt-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}
.yt-thumb img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.yt-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .2s;
}
.yt-card:hover .yt-play { opacity: 1; }
.yt-play-icon {
    width: 56px; height: 56px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yt-play-icon::after {
    content: '';
    border: 0px solid transparent;
    border-width: 10px 0 10px 18px;
    border-left-color: #fff;
    margin-left: 4px;
}
.yt-info { padding: .9rem 1rem; }
.yt-info h3 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-info time { font-size: .8rem; color: var(--muted); }
.yt-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: #856404;
}

/* ─── Cards (found items) ──────────────────────────────────────────────────── */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.item-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.item-card-img { height: 200px; object-fit: cover; width: 100%; }
.item-card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #2e2e2e, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.item-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.item-card-body h3 { font-size: 1rem; font-weight: 600; }
.item-card-meta { font-size: .82rem; color: var(--muted); }
.item-card-desc { font-size: .9rem; flex: 1; }
.badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--gold);
    color: #1a1a1a;
    align-self: flex-start;
}
.no-items {
    text-align: center;
    padding: 3rem;
    color: var(--muted);
    font-size: 1rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ─── Form ─────────────────────────────────────────────────────────────────── */
.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .35rem;
}
.form-group label .required { color: #c0392b; margin-left: 2px; }
.form-control {
    width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid #ccc;
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s;
    background: #fafafa;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
}
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; padding: .75rem; font-size: 1rem; }

/* Alerts */
.alert {
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: .95rem;
}
.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

/* ─── Page hero (interior pages) ─────────────────────────────────────────── */
.page-hero {
    background: var(--dark);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.page-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--gold);
}
.page-hero p { color: #ccc; margin-top: .4rem; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: #aaa;
    margin-top: auto;
    padding: 2rem 0;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.footer-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
}
.footer-nav a {
    color: #aaa;
    margin: 0 .75rem;
    font-size: .85rem;
    text-decoration: none;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; }

/* ─── Utility ───────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.site-main { flex: 1; }
