/*
Theme Name: Kerdju Vastelaovend
Theme URI: https://kerdju.nl
Author: Mike / Mikromedia
Author URI: https://mikromedia.nl
Description: Lichtgewicht one-page thema voor Kerdju met hero-header en Spotify-player.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kerdju-vastelaovend
*/

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #111;
}

a {
    color: #ffdd33;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header,
.site-footer {
    background: #111;
    color: #fff;
}

.site-header .site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-header .site-title a {
    color: #fff;
    text-decoration: none;
}

.site-header .site-description {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hero */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('assets/images/hero-kerdju.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1));
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 4rem 1.5rem 3rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin: 0 0 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #ffdd33;
    color: #b00040;
}

.hero-cta:hover {
    filter: brightness(1.05);
    cursor: pointer;
}

/* Main content */

.site-main {
    background: #111;
    color: #fff;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Spotify */

.spotify-embed {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.spotify-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog teasers */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 1.5rem;
}

.post-card h2 {
    font-size: 1.2rem;
    margin-top: 0;
}

.post-card a {
    color: #ffdd33;
}

/* Footer */

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.85;
}

@media (max-width: 600px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}
