/* Copied site CSS from assets/css/style.css — kept as-is for the WP theme */

/* 
Theme Name: Bklink
Text Domain: Bklink
Version: 1.0
Description: Micheal Bennet's portfolio page
Tags: Art, Portfolio, works, projects, visual art, sound art, recordings
Author: Bram van Klink
Author URI: https://www.instagram.com/bram.vklink/
*/

/*### SETUP ###*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English+SC&family=Cinzel:wght@400;700&display=swap');
body {
    margin: 0;
    padding-top: 60px;
    background-color: black;
    color: #ffffff;

}

:root {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: 'liga', 1, 'calt' 1;
}

a {
    text-align: justify;
    color: #ffffff;
    font-size: 1rem;
    padding: 5px;
    box-sizing: border-box;
}

b, strong {
    text-align: justify;
    color: #ffffff;
    font-size: 1rem;
    padding: 5px;
    box-sizing: border-box;
    font-weight: bold;
}

h2, h1 {
    margin-bottom: 0.5vw;
}

.hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.container {
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(16px, 5vw, 120px);

    padding: 0 2vw;
    margin-bottom: 10px;
}

.content {
    position: relative;
    text-align: justify;
    justify-content: center;
    margin: 40px auto;
    max-width: 900px;
    z-index: 0;
}

/*### SETUP END###*/

/*#### NAVBAR ###*/

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0; /* Adjusts padding dynamically */
    background-color: rgba(249, 246, 238, 0.222); /* Adjust as needed */
    backdrop-filter: blur(6px);
}

.nav-title {
    font-weight: bold;
    font-size: 1.6rem;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
    padding-left: 2vw;
    font-family: inherit;
}

/* Ensure form controls and interactive elements use the site font */
input, textarea, select, button {
    font-family: inherit;
}

/* Desktop menu layout */
.nav-menu,
#menu-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 20px;
    padding: 0 20px 0 0;
    align-items: center;
}

.nav-menu li,
#menu-main-menu li {
    list-style: none;
}

.nav-menu a,
#menu-main-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem; /* slightly smaller than site title */
    white-space: nowrap;
    font-family: inherit;
}

.navbar .active a {
    font-weight: bold;
    color: #ffffff;
}

nav a[href*="home"]:target,
nav a[href*="about"]:target,
nav a[href*="projects"]:target,
nav a[href*="contact"]:target {
    background: #444;
    border-radius: 5px;
}

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 36px;
    height: 28px;
    margin-right: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #ffffff;
    height: 2px;
    width: 24px;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

@media (max-width: 768px) {
    .nav-toggle-label { display: flex; }

    /* Hide the horizontal menu and show dropdown when toggled */
    .nav-menu,
    #menu-main-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 60px;
        background: rgba(249, 246, 238, 0.222); /* match navbar */
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        backdrop-filter: blur(6px);
    }

    /* Show menu when checkbox is checked */
    .nav-toggle:checked ~ .nav-toggle-label + .nav-menu,
    .nav-toggle:checked ~ .nav-toggle-label + #menu-main-menu,
    #nav-toggle:checked ~ .nav-menu,
    #nav-toggle:checked ~ #menu-main-menu {
        display: flex;
    }

    .nav-menu a,
    #menu-main-menu a {
        padding: 10px 20px;
        display: block;
        width: 100%;
        font-size: 1.05rem;
        color: #ffffff; /* keep contrast on semi-transparent background */
    }

    .nav-title { font-size: 1.3rem; }
}
/*### NAVBAR END###*/

/*### PROJECTS ###*/

.projects-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    /* background-color: black; */
}

.project-card {
    text-align: center;
    width: 400px;
    aspect-ratio: 320 / 240;
    /* aspect-ratio: 16/9; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    /* padding: 16px; */
    padding: 0 clamp(16px, 5vw, 120px);

    /*     margin: 5px; */
    background-color: #f9f9f900;
    transition: transform 0.3s ease;

    /* object-fit: cover; */

    /* background-color: white; */
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    aspect-ratio: 32/24;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    background-color: black;

}
/* Title Overlay (Hidden by default) */
.project-title {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.project-card h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.project-card a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

@media (max-width: 768px) {
    .projects-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .project-card {
        width: 90%;
        max-width: 400px;
    }
}
/*### END OF PROJECTS ###*/

/*### START OF DISCOGRAPHY ###*/
/* .disco-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    justify-content: center;
    align-items: flex-start;
} */
.disco-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.disco-card {
    text-align: center;
    width: min(100%, 400px);
    flex: 1 1 320px;
    box-sizing: border-box;
    /* aspect-ratio removed to allow height to grow with content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    background-color: #f9f9f900;
    transition: transform 0.3s ease;
}

/* Modal for release 'More' details */
.release-modal {
    display: none;
}
.release-modal.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000000;
}
.release-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.release-modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 1100px;
    width: calc(100% - 40px);
    max-height: 92vh;
    overflow: auto;
    background: #111;
    color: #fff;
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.release-modal__close {
    position: absolute;
    right: 8px;
    top: 6px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.release-modal__title {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

/* Modal body layout and responsive media */
.release-modal__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive 16:9 wrapper for iframes (YouTube, Bandcamp, etc.) */
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide the inline more content (we copy it into the modal) */
.release-more-content { display:none; }

.more-button {
    margin-top: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 6px 10px;
    cursor: pointer;
}
/* Only the release embed should show a pointer cursor */
.release-embed {
    cursor: pointer;
}
@media (max-width: 768px) {
    .disco-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        gap: 50px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .disco-card {
        width: 90%;
        max-width: 400px;
    }
}

/* Ensure two disco-cards sit side-by-side on sufficiently wide viewports */


/*GO BACK BUTTON*/

.go-back-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000; /* Ensure it appears above other elements */
}

.go-back-button a {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000; /* Adjust color as needed */
    background-color: rgba(255, 255, 255, 0); /* Semi-transparent background */
    padding: 1px 1px;
}

/*### FOOTER ###*/
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Let the main container take available space so footer sits at bottom */
.container {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
    /* responsive padding so footer stays proportional on all devices */
    padding: 12px 5px;
    /* padding: auto; */
    color: #ffffff;
    text-align: center;
    background: rgba(249, 246, 238, 0.222); /* match navbar */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.06);
    /* base font-size for footer content scales with viewport but stays within limits */
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    width: 100%;
}


.footer-name {
    font-family: 'Old English Text MT', 'IM Fell English SC', 'Cinzel', serif;
    /* keep the decorative name proportional across devices */
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    line-height: 1;
    color: #ffffff;
    margin: 6px 0;
    letter-spacing: 0.4px;
}

.footer-line {
    height: 1px;
    width: clamp(140px, 40%, 360px);
    margin: 8px auto;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    border-radius: 2px;
}

/*### FOOTER END ###*/
/* 
/* Centered, responsive YouTube/video embeds */
/* .video-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
}
.video-embed iframe,
.video-embed embed,
.video-embed object {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* Ensure WordPress embed/video blocks are always full width and responsive */
/* .wp-block-embed,
.wp-block-embed-youtube,
.wp-block-video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.wp-block-embed iframe,
.wp-block-embed-youtube iframe,
.wp-block-video video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 300px;
    height: auto !important;
    aspect-ratio: 16/9;
    display: block;
} */ 
