/**
 * Theme Name: Gabriel's HotchPotch
 * Template:   twentytwentyfour
 * Version:    1.0.0
 * Author:     Gabriel Kryszpiniuk
 * Author URI: gabrielkryszpiniuk.art
 */

 html {
    font-size: clamp(14px, 1.2vw + 10px, 18px); 
    -webkit-text-size-adjust: 110%;
    zoom: 70%
}

body {
    line-height: 1.5;
    background-color: #000000;
    animation: contentWarmUp 1.2s ease-out;
}

.menu {
    width: 1280px !important;
    min-height: 617px !important;
}

.menu-overlay-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
    border-radius: 30px;
    overflow: hidden;
    contain: paint;
}

.menu-overlay-container div::after {
    content: "";
    position: absolute;
    top: 0px; left: 0px; right: 0px; bottom: 0px;
    background: var(--bg-img);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(1.3) contrast(1.1);
    mix-blend-mode: screen;
    opacity: 0.3;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: opacity, filter;
}

.analogue, .digital, .bazaar, .about, .contact {
    position: relative;
    z-index: 50;
    cursor: pointer;
    pointer-events: all;
    display: inline-block;
}

.basement_button {
    position: absolute !important;
    inset: 0 !important;
    z-index: 100 !important;
    background: transparent !important;
    border: none !important;
    color: transparent !important;
    box-shadow: none !important;
    opacity: 0;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    cursor: pointer !important;
}

.basement_button span,
.basement_button font {
    display: none !important;
}

@font-face {
    font-family: 'Regular Font';
    src: url('/fonts/CourierPrime-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Light Font';
    src: url('/fonts/Doto_Rounded-ExtraBold.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bold Font';
    src: url('/fonts/Sixtyfour.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- VIDEO BACKGROUND --- */
.basement-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; 
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    object-fit: cover; 
    z-index: -9999;
    pointer-events: none;
    
    opacity: 0; 
    filter: blur(15px) saturate(0);
    transition: opacity 2s ease, filter 2.5s ease;
    will-change: opacity, filter;
    
    background: transparent;
}


@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* GRADIENT */
html::before {
    content: "";
    position: fixed;
    inset: 0; 
    width: 100%;
    height: 100%;
    z-index: -10000; 
    
    background: linear-gradient(-45deg, #0c000f, #190027, #000000, #0a0016);
    background-size: 400% 400%;
    animation: gradientShift 5.5s ease infinite;
    pointer-events: none;
}

/* --- PUPPET --- */
.head-puppet-container {
    position: relative;
    width: 65px;
    height: 65px;
    display: inline-block;
    vertical-align: middle;
    cursor: help;
    margin-right: 10px;
}

.head-puppet-container img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.head-hover { opacity: 0; }
.head-puppet-container:hover .head-default { opacity: 0; }
.head-puppet-container:hover .head-hover   { opacity: 1; }

.puppet-message {
    position: absolute;
    top: 115%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1a190b;
    color: #fff679;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
    border: 1px solid #2c2a12;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.head-puppet-container:hover .puppet-message {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#basement-loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000000;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

#basement-loader.fade-out { opacity: 0; }

@keyframes contentWarmUp {
    from { filter: brightness(0); transform: scale(1.01); }
    to { filter: brightness(1); transform: scale(1); }
}
    
    .menu-overlay-container {
        border-radius: 15px;
    }
}



.basement-master-wrapper {
    aspect-ratio: 1280 / 617 !important;
    min-height: unset !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative;
}

.basement-master-wrapper .wp-block-columns {
    flex-wrap: nowrap !important;
    display: flex !important;
}

.basement-master-wrapper .wp-block-cover__inner-container {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100%;
}






/* COLUMN FIX */

.basement-master-wrapper .menu .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
}

.basement-master-wrapper .contact {
    position: relative !important;
    min-height: 160px !important;
}

.basement-master-wrapper .basement_button, 
.basement-master-wrapper .basement_button .wp-block-button,
.basement-master-wrapper .basement_button a.wp-block-button__link {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important; 
    z-index: 9999 !important; 
    cursor: pointer !important;
    display: block !important;
    background: none !important;
    border: none !important;
}

.basement-master-wrapper .basement_button a {
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.saturation {
  filter: saturate(1.5);
}





/* DISCOGRAPHY LAYOUT FIX */

.category-discography figure.wp-block-post-featured-image[style*="aspect-ratio:3/4"] {
    aspect-ratio: 1 / 1 !important;
    padding-bottom: 0 !important;
    /* This adds the slight space below the image */
    margin-bottom: 50px !important; 
}

.category-discography figure.wp-block-post-featured-image[style*="aspect-ratio:3/4"] img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    /* Ensures no phantom space inside the link */
    display: block !important; 
}







/* 1. LIGHTBOX EFFECT */
.wp-lightbox-overlay {
    transition: opacity 0.4s ease-in-out, visibility 0.4s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden;
}
.wp-lightbox-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}
.wp-lightbox-overlay.is-closing {
    opacity: 0 !important;
}
.wp-lightbox-overlay .lightbox-image-container,
.wp-lightbox-overlay figure,
.wp-lightbox-overlay img {
    position: static !important;
    transform: none !important;
    transition: none !important; 
    animation: none !important;
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin: auto !important;
}
.wp-lightbox-placeholder,
.wp-lightbox-overlay .lightbox-image-container:first-of-type {
    display: none !important;
}
.wp-lightbox-overlay .lightbox-image-container:last-of-type {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/*TAG SPACING*/
.pill-tag a {
    display: inline-block !important; 
    margin: 8px 0px !important;      
    line-height: 2 !important;        
}






