/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Slightly larger default size (similar to one step zoom in) */
html {
    font-size: 118%;
}

body {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    min-height: 100vh;
    background: #1a1a1a;
}

/* Full-viewport background layer – click beside center column to cycle images */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background/Vaslav.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    cursor: pointer;
}

.header-bar,
.site-column {
    position: relative;
    z-index: 1;
}

/* Centered column – all elements in the middle */
.site-column {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Paper-toned header bar – same max-width and margin as content column (.site-column) */
.header-bar {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    background: rgba(245, 240, 230, 0.94);
    color: #1a1a1a;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.header-bar .site-column {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0;
    padding-right: 0;
}

/* Site title – Schuster-Werke-Verzeichnis (Herrndorf-style) */
.site-title {
    margin: 0 0 0.75rem 0;
    padding: 0 0 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
}

.site-title a {
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.site-title a:hover {
    color: #333;
}

.site-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

.site-title a:hover::after {
    transform: scaleX(1);
}

/* Masthead – nav only, centered; line below separates from home name */
.masthead {
    padding: 0 0 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    text-align: center;
}

.masthead nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    margin: 0;
    padding: 0;
}

/* Home name row – below nav, smaller than header text, home link */
.home-name {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02em;
}

.home-name a {
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.home-name a:hover {
    color: #333;
}

.home-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

.home-name a:hover::after {
    transform: scaleX(1);
}

/* Nav and dropdown trigger on white header – dark text */
.header-bar .nav-menu a {
    position: relative;
    display: inline-block;
}

.header-bar .nav-menu a,
.header-bar .dropdown-trigger {
    color: #333;
    text-shadow: none;
    font-size: 1.1rem;
}

/* Strip fills left to right on hover */
.header-bar .nav-menu a::after,
.header-bar .dropdown:hover .dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

.header-bar .nav-menu a:hover::after,
.header-bar .dropdown:hover .dropdown-trigger::after {
    transform: scaleX(1);
}

.header-bar .nav-menu a:hover,
.header-bar .dropdown:hover .dropdown-trigger {
    color: #1a1a1a;
}

/* Dropdown menu – stays dark for contrast */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Paper-toned content strip – home, blog, impressum; slightly see-through */
.site-column--content,
.site-column--blog,
.impressum-column {
    background: rgba(245, 240, 230, 0.94);
    color: #1a1a1a;
    margin-top: 2.5rem;
    padding: 2rem 24px 3rem 24px;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-column .masthead nav {
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Text dropdown – trigger is not a link */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
}

.dropdown:hover .dropdown-trigger {
    color: rgba(255, 255, 255, 0.95);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Main */
main {
    min-height: 80vh;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.hero-text {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Instrumental section with embedded video */
.instrumental-section {
    margin-top: 1.75rem;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.works-header h2 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
}

.works-header p {
    margin: 0.75rem 0 0;
    color: #333;
}

.works-intro {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.works-intro p {
    margin: 0.85rem 0 0;
    max-width: 38em;
    line-height: 1.65;
    color: #333;
}

.works-intro p:first-child {
    margin-top: 0;
}

.works-intro-underline {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.works-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.works-feed {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.work-post {
    padding: 2.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.work-post:first-child {
    padding-top: 0;
    border-top: none;
}

.work-post:last-child {
    padding-bottom: 0;
}

.work-post-header h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 600;
}

.work-post-header .work-excerpt {
    margin: 0.6rem 0 0;
    max-width: 38em;
    color: #333;
}

.work-post .video-embed,
.work-post .soundcloud-embed {
    margin-top: 1.25rem;
}

.work-card {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.55);
}

.work-meta {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.work-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.work-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.work-card h3 a:hover {
    text-decoration: underline;
}

.work-excerpt {
    margin: 0.65rem 0 0;
    color: #222;
}

.work-link {
    margin: 1rem 0 0;
}

.work-link a {
    color: #1a1a1a;
}

.work-detail-header {
    margin-bottom: 1.2rem;
}

.work-detail-header h2 {
    margin: 0;
    font-size: 1.6rem;
}

.work-detail-meta {
    margin-top: 0.45rem;
    color: #555;
    font-size: 0.9rem;
}

.work-actions {
    margin-top: 1rem;
}

.soundcloud-embed {
    margin-top: 1.25rem;
}

.soundcloud-credit {
    font-size: 10px;
    color: #666;
    line-break: anywhere;
    word-break: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: Interstate, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Garuda, Verdana, Tahoma, sans-serif;
    font-weight: 100;
}

.soundcloud-credit a {
    color: #666;
    text-decoration: none;
}

/* Blog / text page – same background, white overlay, AnyChannel-like margins */
.blog-main {
    padding: 0;
    min-height: 0;
}

.blog-content-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 2rem 0 3rem 0;
    background: transparent;
    color: #1a1a1a;
}

.blog-content-wrapper h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.blog-content-wrapper .entry-date,
.blog-iframe-body .entry-date {
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.blog-content-wrapper .entry-date:first-of-type {
    margin-top: 0;
}

.blog-content-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.blog-content-wrapper .separator,
.blog-iframe-body .separator {
    text-align: center;
    margin: 1rem 0;
    color: #666;
}

.blog-content-wrapper .after-date,
.blog-iframe-body .after-date {
    margin: 0 0 1em 0;
    min-height: 0;
}

.blog-iframe {
    display: block;
    width: 100%;
    min-height: calc(100vh - 12rem);
    border: none;
    background: transparent;
}

/* Content inside the blog iframe */
.blog-iframe-body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Impressum page – content on white strip */
body.impressum-page {
    /* background from .bg-layer (cycles on click) */
}

.impressum-main {
    color: #1a1a1a;
}

.impressum-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
}

.impressum-main h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    color: #1a1a1a;
}

.impressum-main h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: #1a1a1a;
}

.impressum-main p {
    margin: 0 0 0.75rem 0;
    line-height: 1.65;
    font-size: 1rem;
    color: #1a1a1a;
}

.impressum-intro {
    margin-bottom: 0.5rem;
}

.impressum-divider {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.impressum-main a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.impressum-main a:hover {
    color: #1a1a1a;
}

/* Site footer – Herrndorf-style, all pages */
.site-footer {
    margin-top: 2rem;
    padding: 1.5rem 0 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    text-align: center;
}

.site-footer::before {
    content: '';
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.footer-nav {
    margin: 0 0 0.5rem 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.5rem;
}

.footer-nav a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #1a1a1a;
}

.footer-sep {
    margin: 0 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.25rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .site-column--blog,
    .site-column--content,
    .impressum-column {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
