@font-face {
    font-family: 'Ponchvia';
    src: url("fonts/Ponchvia.woff2") format('woff2');
}

@font-face {
    font-family: 'BalletHarmony';
    src: url("fonts/BalletHarmony.woff2") format('woff2');
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181818;
    color: #f3f3f3;
    margin: 0;
    padding: 0;
}

header {
    background: #222;
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #444;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 2px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #f3f3f3;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.2s;
}

nav a:hover {
    color: #ff9800;
}

section {
    max-width: 40vw;
    margin: 40px auto;
    background: #222;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

@media (max-aspect-ratio: 1/1) {
    section {
        max-width: fit-content;
        margin: 20px;
        padding: 10px;
    }
    
}

section h2{
    font-family:Arial, Helvetica, sans-serif
}

h2 {
    color: #ff9800;
    margin-top: 0;
    font-size: clamp(1.5em, 4vw, 2em);
}


a {
    color: #ff9800;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 10px;
    justify-content: center;
}

.member-card {
    position: relative;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 18px 14px;
    width: 80%;
    height: fit-content;
    text-align: center;
    transition: transform 0.2s;
}

.member-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.member-card img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 2px solid #ff9800;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    user-select: none;           /* Standard */
    pointer-events: none;        /* Prevents touch from interacting with the image directly */
}

.member-card h3 {
    margin: 8px 0 4px 0;
    color: #ff9800;
    font-size: 1.2em;
}

.member-card p {
    margin: 4px 0;
    font-size: 0.95em;
    color: #f3f3f3;
}

.member-card-preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;             /* Hidden by default */
    pointer-events: none;   /* Don't block interaction */
    transition: opacity 0.4s ease-in-out;
    border-radius: 8px;
}

.member-card-preview-video.visible {
  opacity: 1;             /* Fade in */
}

.member-card-preview-help {
    position: absolute;
    bottom: 8px;
    width: auto;
    text-align: center;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
}

.member-card-preview-help.visible {
    display: block; /* Show on hover */
    opacity: 1;
}

.shows-container{
    display: flex;
    width: 100%;
}

.shows-sidebar{
    width: 30%;
    background: #222;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
    gap: 10px;
}

@media (max-aspect-ratio: 1/1) {
    .shows-container {
        flex-direction: column; /* stack vertical */
    }

    .shows-sidebar {
        width: 100%;
        box-shadow: none;
        overflow-x: scroll;      /* horizontal scroll */
        white-space: nowrap;
        scrollbar-color: #b36c00 #444; /* thumb and track colors */
        scrollbar-arrow-color: #ff9800;
    }

    .shows-sidebar ul {
        display: flex;         /* turn list horizontal */
        gap: 10px;
        padding: 10px;
        margin: 0;
    }

    .shows-sidebar li {
        display: inline-block;
    }

    .scroll-btn {
        background: transparent;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px 10px;
        user-select: none;
    
    }
}



.shows-sidebar ul{
    padding: 0;
    margin: 0;
    gap: 10px;
}

.shows-sidebar li{
    padding: 10px;
    margin-top: 5px;
    list-style: none;
    min-height: 30px;
    height: fit-content;
    border-radius: 10px;
}

.shows-sidebar li:hover,
.shows-sidebar li.active {
    background: #ff9800;
    color: #222;
    cursor: pointer;
}

.shows-sidebar li:hover .show-date,
.shows-sidebar li.active .show-date {
    color: #222;
}

.show-details {
    flex: 1;
    min-height: 250px;
    background: #222;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    max-width: 90%;
    width: auto;
}

.show-name {
    font-weight: bold;
    font-size:medium;
}

.show-date{
    font-style: italic;
    color: #adadad;
    font-size: medium;
}

.carousel {
    position: relative;
    width: 90%;
    margin: auto;
    overflow: hidden;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 30vh;
    justify-content: center;
    align-items: center;
}

.carousel-item.active {
    display: flex;
}

.carousel img, .carousel video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; 
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff9800;
    border: none;
    color: #222;
    font-size: 1.5em;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    text-align: center;
    vertical-align: middle;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.show-description {
    margin-top: 20px;
    font-size: 1em;
    line-height: 1.5em;
    color: #f3f3f3;
}

#band-photo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

#title-mancave {
    display: inline;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
    font-family: 'Ponchvia';
}

.band-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px; /* space between items */
}

@media (max-aspect-ratio: 1/1) {
    .band-name {
        flex-direction: column;
        gap: 8px;
    }
}

.band-name h2,
.band-name p {
    font-family: 'BalletHarmony';
    margin: 0;
}

.band-name p {
    font-size: 2em;
    color:white;
}

.band-name h2 {
    font-size: 2.5em;
    color: white;
}

