/* ========== WIZARD'S ENHANCEMENT: Smooth Scrolling ========== */
html {
    scroll-behavior: smooth;
}

/* ========== ORIGINAL STYLES ========== */

@font-face {
    font-family: 'Disket Mono';
    src: url('../fonts/Disket-Mono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Disket Mono';
    src: url('../fonts/Disket-Mono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
  margin: 0px;
  padding: 0px;
  background: #101010;
  font-family: 'Disket Mono', sans-serif;
}

h1, h2, h3, p {
  font-family: 'Disket Mono', sans-serif;
}

h1 { color: #eeeeee; font-size: 2em; font-weight: 100; letter-spacing: 0em; }
h2, h3 { color: #eeeeee; font-weight: 100; letter-spacing: 0em; }
p { color: #dddddd; font-size: 0.8em; font-weight: normal; line-height: 1.5em; letter-spacing: 0em; }

a { color: inherit; background: transparent; text-decoration: none; }

.section-title {
    padding-top: 100px;
}

.content-wrapper { padding-right: calc((100vw - 980px)/2); padding-bottom: 40px; padding-left: calc((100vw - 980px)/2); }
.logo img { position: absolute; top: 0; left: 0; width: 80px; padding: 40px; z-index: 2; }

.mainTitle { z-index: 2; display: block; position: absolute; bottom: 89px; left: calc(50vw - 250px); width: 500px; padding: 20px 0px 20px 8px; color: #101010; background: #dddddd; text-align: center; font-family: 'Disket Mono', sans-serif; font-size: 2em; font-weight: 100; letter-spacing: 0.35em; }
.btnHeader { z-index: 2; display: block; position: absolute; bottom: 40px; left: calc(50vw - 250px); width: 505px; padding: 10px 0px 10px 3px; color: #101010; background: #dddddd; text-align: center; font-family: 'Disket Mono', sans-serif; font-weight: 100; letter-spacing: 0.35em; }

.mainMenu { position: absolute; top: 40px; right: 40px; z-index: 2; }
.mainMenu h3 { float: left; margin-left: 40px; font-size: 0.8em; opacity: 0.8; transition: opacity 0.3s ease; }
.mainMenu a:hover h3 { opacity: 1; }

#menuMobile {
    z-index: 10;
    display: none;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100vh;
    background-color: rgba(6, 6, 6, 0.9);
    line-height: 4em;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#menuMobile.visible {
    opacity: 1;
}

.menuMobileText { position: relative; margin-top: calc(50vh - 116px); text-align: center; vertical-align: middle; }
.menuBurger { z-index: 11; display: none; position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; float: right; color: #eeeeee; border: none; background-color: #333333; text-align: center; font-size: 1em; cursor: pointer; }

.youtube-embed { position: relative; padding-bottom: 56%; width: 100%; text-align: left; }
.youtube-embed iframe { width: 100%; position: absolute; height: 100%; overflow: hidden; }

.releases { display: grid; background: #101010; margin-bottom: 10px; margin-top: 6px; grid-gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.releases img { width: 100%; }
.releaseThumb { height: calc(100% - 4px); margin-bottom: -4px; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.releaseThumb:hover { transform: scale(1.03); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); z-index: 5; }

.contacts { display: grid; background: #101010; grid-gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.contact-item { padding: 1px 20px; background: #1C1C1C; }
.contact-item-detail { padding-bottom: 10px; color: #6B6A6C; transition: color 0.3s ease; }
.contacts a:hover .contact-item-detail { color: #dddddd; }

.contact-item-title {
    font-weight: bold;
}

.social { display: grid; padding-top: 38px; padding-bottom: 40px; background: #101010; grid-gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.socialBox { padding: 50px; background: #1C1C1C; text-align: center; vertical-align: middle; transition: box-shadow 0.3s ease; }
.socialBox:hover { box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }
.fab { color: #dddddd; transition: color 0.3s ease; }
.socialBox:hover .fab { color: #ffffff; }

.footer p { text-align: center; }

/* ========== TOUR DATES STYLES ========== */
.tour {
    display: flex;
    flex-direction: column;
    gap: 1px; /* Creates thin lines between items */
    background-color: #282828; /* This color acts as the border between items */
    margin-bottom: 40px; /* Space before next section */
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1fr auto; /* Columns for Date | Info | Button */
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #1C1C1C; /* Matches contact boxes for consistency */
}

.tour-date {
    font-weight: bold;
    color: #eeeeee;
    margin: 0;
    font-size: 0.8em;
}

.tour-info {
    color: #dddddd;
    margin: 0;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Prevents long text from breaking the layout */
}

.btnTour {
    padding: 10px 20px;
    background-color: #dddddd;
    color: #101010;
    font-family: 'Disket Mono', sans-serif;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #dddddd;
    justify-self: end; /* Align button to the right of its grid cell */
}

.btnTour:hover {
    background-color: transparent;
    color: #dddddd;
}

/* Styles for past tour dates */
.tour-item--past .tour-date,
.tour-item--past .tour-info {
    color: #6B6A6C; /* Muted grey for past dates */
    text-decoration: line-through;
}

.tour-item--past .btnTour {
    background-color: transparent;
    color: #6B6A6C;
    border-color: #333333;
    pointer-events: none; /* Make the button unclickable */
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.content-wrapper { animation: fadeIn 1s ease-out forwards; }

@media (max-width : 1020px) { .content-wrapper { padding: 0 20px 40px 20px; } }
@media (max-width : 600px) { .logo img { padding: 20px; } .mainMenu { display: none; } .menuBurger { display: block; } .mainTitle { bottom: 69px; left: 20px; width: calc(100vw - 48px); } .btnHeader { bottom: 20px; left: 20px; width: calc(100vw - 43px); } .content-wrapper { padding: 0 20px 20px 20px; } .social { padding-bottom: 20px; } .socialBox { padding: 30px; } }
@media (max-width : 374px) { .content-wrapper { padding: 0 10px 10px 10px; } .social { padding-bottom: 10px; } .mainTitle { font-size: 1.5em; } }

/* Responsive tour styles */
@media (max-width: 768px) {
    .tour-item {
        grid-template-columns: 1fr; /* Stack elements vertically */
        gap: 0px;
    }
    .btnTour {
        justify-self: stretch; /* Make button full width */
    }
}

/* ========== HEADER STYLES ========== */

:root { --rotation-x: 20deg; --rotation-y: 20deg; --shadow-opacity: 0.5; --shadow-blur: 50px; }
.mainHeader { height: 100vh; width: 100%; position: relative; perspective: 1200px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.mainHeader > canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.vinyl-card-container { width: clamp(320px, 70vmin, 700px); height: clamp(320px, 70vmin, 700px); transform-style: preserve-3d; transform: rotateX(var(--rotation-x)) rotateY(var(--rotation-y)) translateY(-8%) translateX(3%); box-shadow: 0 20px var(--shadow-blur) rgba(0, 0, 0, var(--shadow-opacity)); transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out; z-index: 1; }
.vinyl-card-container:hover { transform: rotateX(calc(var(--rotation-x) - 5deg)) rotateY(calc(var(--rotation-y) - 5deg)) scale(1.1) translateY(-8%) translateX(3%); box-shadow: 0 40px calc(var(--shadow-blur) * 1.5) rgba(0, 0, 0, calc(var(--opacity) + 0.2)); }

.vinyl-sleeve { position: relative; width: 100%; height: 100%; border-radius: 5px; overflow: hidden; background-color: #333; }
.artwork { width: 100%; height: 100%; display: block; }
.vinyl-sleeve::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient( 45deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.15) 100% ); pointer-events: none; z-index: 2; }
.vinyl-sleeve::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('images/plastic-overlay-min.png'); background-size: cover; opacity: 0.7; mix-blend-mode: screen; pointer-events: none; z-index: 1; }

/* ========== WIZARD'S ENHANCEMENT: Header-to-Body Gradient ========== */
.mainHeader::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background: linear-gradient(to top, #101010, rgba(16, 16, 16, 0));
    z-index: 1;
    pointer-events: none;
}