/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
    
    --primary-color: #e63946;    /* bold red */
    --secondary-color: #000000;  /* black accent */
    --accent-color: #ffffff;     /* white accent */
    --dark-bg: #000000;          /* black background for navbar/footer */
    --light-bg: var(--secondary-color); /* section backgrounds now dark */
    --text-dark: #ffffff;        /* white text for dark backgrounds */
    --text-light: #ffffff;       /* bright text for faded elements */
    --border-color: #444444;     /* darker grey borders */
    --success-color: #10b981;
    --error-color: #ef4444;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--secondary-color);
}

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* ===========================
   CONTAINERS & SPACING
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #871c21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    background-color: var(--dark-bg);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
}

.band-name {
    font-size: 1.5rem;
    margin: 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    position: relative;
}

.language-toggle {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.55rem 0.25rem 0.35rem;
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

.language-toggle-flag,
.lang-flag {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
}

.language-toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.language-toggle-caret {
    font-size: 0.8rem;
    line-height: 1;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 175px;
    padding: 0.3rem;
    border-radius: 0.7rem;
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 1400;
}

.language-switcher.open .language-menu {
    display: block;
}

.lang-btn {
    border: none;
    background: transparent;
    width: 100%;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-start;
    color: #ffffff;
    padding: 0.35rem 0.4rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.lang-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn.active {
    background-color: rgba(255, 255, 255, 0.08);
}

.lang-btn.active .lang-flag,
.language-toggle .language-toggle-flag {
    border-color: var(--primary-color);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: inline-block;
    padding: 0.35rem 0.6rem;
    transition: color 320ms ease;
}

.nav-link.active {
    color: white;
}

.nav-link:hover {
    color: white;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: -0.2rem -0.4rem;
    border-radius: 0.35rem;
    background-color: var(--primary-color);
    opacity: 0;
    transform: skewX(-14deg) scaleX(0.75);
    transform-origin: left center;
    transition: opacity 340ms ease, transform 340ms ease;
    z-index: -1;
    pointer-events: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
    background-color: var(--primary-color); /* underline red */
}

@media (min-width: 769px) {
    .nav-link::after {
        display: none;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
        transform: skewX(-14deg) scaleX(1);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    /* slight transparent gradient over image to improve text contrast */
    background: linear-gradient(135deg, rgba(230,57,70,0.3) 0%, rgba(0,0,0,0.3) 100%), url('../assets/Niko und Erik.jpeg') center/cover no-repeat;
    color: white;
    padding: 8rem 0 4rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-logo {
    max-width: 270px;
    height: auto;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.member-slider {
    display: grid;
    grid-template-columns: auto minmax(360px, 520px) auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.member-image-fan {
    position: relative;
    height: 520px;
    grid-column: 2;
    grid-row: 1;
    touch-action: pan-y pinch-zoom;
}

.member-preview,
.member-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(180px, 42%, 240px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 380ms ease, filter 380ms ease;
}

.member-image {
    transform: translate(-50%, -50%);
    z-index: 3;
    width: clamp(240px, 52%, 320px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.member-preview {
    z-index: 2;
    opacity: 0.85;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.member-preview-left {
    transform: translate(-86%, -50%) rotate(-12deg);
}

.member-preview-right {
    transform: translate(-14%, -50%) rotate(12deg);
}

.member-info {
    transition: opacity 380ms ease, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
    padding-left: 1rem;
    grid-column: 4;
    grid-row: 1 / 3;
}

.member-slider.is-switching .member-image {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.88);
}

.member-slider.is-switching .member-preview {
    opacity: 0.3;
    filter: saturate(0.5) blur(1px);
}

.member-slider.is-switching .member-info {
    opacity: 0.2;
    transform: translateY(12px);
}

.member-slider.slide-next.is-switching .member-image {
    transform: translate(-80%, -50%) scale(0.88) rotate(-8deg);
}

.member-slider.slide-next.is-switching .member-preview-left {
    transform: translate(-130%, -50%) rotate(-22deg);
    opacity: 0.15;
}

.member-slider.slide-next.is-switching .member-preview-right {
    transform: translate(10%, -50%) rotate(18deg);
}

.member-slider.slide-prev.is-switching .member-image {
    transform: translate(-20%, -50%) scale(0.88) rotate(8deg);
}

.member-slider.slide-prev.is-switching .member-preview-left {
    transform: translate(-110%, -50%) rotate(-18deg);
}

.member-slider.slide-prev.is-switching .member-preview-right {
    transform: translate(30%, -50%) rotate(22deg);
    opacity: 0.15;
}

.member-info h3 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.member-role {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

.member-bio {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.member-credit {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    text-align: center;
    margin: 0.5rem 0 1rem 0;
    width: 100%;
    grid-column: 2;
    grid-row: 2;
}

.member-nav-btn {
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    color: var(--accent-color);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

#member-prev {
    grid-column: 1;
    grid-row: 1;
}

#member-next {
    grid-column: 3;
    grid-row: 1;
}

.member-nav-btn:hover {
    background-color: var(--primary-color);
}

.stickers {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sticker {
    width: 120px;
    height: 120px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    background-size: cover;
    background-position: center;
}

/* placeholders are empty slots */
.sticker.placeholder {
    background: rgba(255,255,255,0.1);
    border: 2px dashed #ccc;
    box-shadow: none;
}

/* random rotations for playfulness */
.sticker:nth-child(1) { transform: rotate(-5deg); }
.sticker:nth-child(2) { transform: rotate(8deg); }
.sticker:nth-child(3) { transform: rotate(-12deg); }
.sticker:nth-child(4) { transform: rotate(6deg); }
.sticker:nth-child(5) { transform: rotate(-8deg); }
.sticker:nth-child(6) { transform: rotate(10deg); }
.sticker:nth-child(7) { transform: rotate(-3deg); }
.sticker:nth-child(8) { transform: rotate(5deg); }
.sticker:nth-child(9) { transform: rotate(-7deg); }
.sticker:nth-child(10) { transform: rotate(9deg); }

.sticker-jannik {
    transform: rotate(-5deg);
}

.sticker-tschik {
    transform: rotate(8deg);
}

.sticker-copyright {
    font-size: 0.7rem;
    color: #666;
    margin-left: 0.5rem;
}

.about-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===========================
   SOCIALS (HERO)
   =========================== */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
    padding-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #111111;
    border: 2px solid #111111;
    color: var(--accent-color); /* white icon */
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    overflow: hidden;
    padding: 3px;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #111111;
}

.social-btn:hover {
    transform: scale(1.2) rotateZ(10deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook:hover {
    background-color: var(--primary-color);
}

.social-btn.instagram:hover {
    background-color: var(--primary-color);
}

.social-btn.spotify:hover {
    background-color: var(--primary-color);
}

.social-btn.tiktok:hover {
    background-color: var(--primary-color);
}

.social-btn.youtube:hover {
    background-color: var(--primary-color);
}

.social-btn.email:hover {
    background-color: var(--primary-color);
}

/* ===========================
   CONCERTS SECTION
   =========================== */
.concerts {
    background-color: var(--light-bg);
}

.calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calendar-month h3 {
    /* header now in flex container so center via flex:1 */
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.month-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.month-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.month-btn:hover {
    color: #ffffff;
    background-color: var(--primary-color);
    border-radius: 0.25rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-grid .day-header {
    font-weight: 700;
    text-align: center;
    padding: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.25rem;
}

.calendar-grid .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-weight: 500;
    position: relative;
}

.calendar-grid .day:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.2);
}

.calendar-grid .day.has-event {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5);
    position: relative;
}

.calendar-grid .day.has-event.highlighted {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: highlightPulse 2s ease-in-out infinite;
    border: 2px solid #ff6b6b;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(230, 57, 70, 1), inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

.calendar-grid .day.has-event::before {
    content: attr(data-event-title) '\A' attr(data-event-time);
    white-space: pre-wrap;
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    text-align: center;
}

.calendar-grid .day.has-event:hover::before {
    opacity: 1;
}

.calendar-grid .day.past-event::before {
    content: attr(data-event-title) '\A' attr(data-event-time);
    white-space: pre-wrap;
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    text-align: center;
}

.calendar-grid .day.past-event:hover::before {
    opacity: 1;
}

.calendar-grid .day.past-day {
    background-color: rgba(120, 120, 120, 0.3);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(120, 120, 120, 0.4);
}

.calendar-grid .day.past-event {
    background-color: rgba(230, 57, 70, 0.35);
    border-color: rgba(230, 57, 70, 0.45);
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.calendar-grid .day.today {
    background-color: #ffffff;
    color: var(--secondary-color);
    font-weight: 700;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.calendar-grid .day.today-event::after {
    content: attr(data-day-badge);
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    font-size: 0.58rem;
    line-height: 1;
    font-weight: 700;
    padding: 0.2rem 0.32rem;
    border-radius: 999px;
    background-color: #ffffff;
    color: var(--primary-color);
    letter-spacing: 0.02em;
    pointer-events: none;
}

.calendar-grid .day.selected {
    background-color: rgba(230, 57, 70, 0.95);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.65);
}

.calendar-grid .day.day-linked-flash {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.95), 0 0 26px rgba(230, 57, 70, 1);
    transform: scale(1.08);
    animation: dayLinkedFlashPulse 0.9s ease-out;
}

.calendar-grid .day.other-month {
    color: var(--text-light);
    opacity: 0.5;
}

.events-list {
    background-color: transparent; /* no red block */
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.events-list h3 {
    color: var(--primary-color);
}

.event-item {
    padding: 1rem;
    border-left: 5px solid var(--primary-color);
    background-color: rgba(230, 57, 70, 0.1);
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
    transition: var(--transition);
}

.event-item.highlighted {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(255, 107, 107, 0.15) 100%);
    border-left: 5px solid #ff6b6b;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.1);
    animation: highlightPulse 2s ease-in-out infinite;
}

.event-item:hover {
    background-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.event-ticket-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.event-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.event-ticket-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    border-radius: 0.4rem;
    padding: 0.3rem 0.6rem;
}

.event-item.day-linked-flash {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.95), 0 0 30px rgba(230, 57, 70, 1);
    background-color: rgba(230, 57, 70, 0.45);
    transform: scale(1.02);
    animation: eventLinkedFlashPulse 0.9s ease-out;
}

@keyframes dayLinkedFlashPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.95), 0 0 0 rgba(230, 57, 70, 0);
        transform: scale(1);
    }
    45% {
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.95), 0 0 30px rgba(230, 57, 70, 1);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.8), 0 0 12px rgba(230, 57, 70, 0.6);
        transform: scale(1.03);
    }
}

@keyframes eventLinkedFlashPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.95), 0 0 0 rgba(230, 57, 70, 0);
        background-color: rgba(230, 57, 70, 0.2);
        transform: scale(1);
    }
    45% {
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.95), 0 0 34px rgba(230, 57, 70, 1);
        background-color: rgba(230, 57, 70, 0.55);
        transform: scale(1.025);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.8), 0 0 16px rgba(230, 57, 70, 0.6);
        background-color: rgba(230, 57, 70, 0.3);
        transform: scale(1.01);
    }
}

.event-tickets-btn {
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(230, 57, 70, 0.15);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}

.event-tickets-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5);
}

.ticket-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* custom scrollbar for events container */
.events-container::-webkit-scrollbar {
    width: 8px;
}
.events-container::-webkit-scrollbar-track {
    background: #222;
    border-radius: 4px;
}
.events-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}
.events-container {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #222;
}

/* global scrollbar matching site design */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
    border: 3px solid var(--secondary-color);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--secondary-color);
}

.events-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.events-container {
    max-height: 400px;
    overflow-y: auto;
}

.event-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.event-time {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.25rem 0 0.5rem 0;
}

.event-title {
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--accent-color);
}

.event-venue {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery {
    background-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none; /* allow clicks to pass through */
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* photographer credit text at bottom of each gallery item */
.gallery-credit {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.25rem 0;
    pointer-events: none;
}

/* lightbox credit displayed under enlarged photo */
.lightbox-credit {
    margin-top: 0.5rem;
    color: white;
    font-size: 1rem;
    text-align: center;
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2600;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: slideIn 0.3s ease;
    touch-action: pinch-zoom;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2700;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background-color: rgba(230, 57, 70, 0.8);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.7rem;
    }
}

/* ===========================
   FULL GALLERY MODAL
   =========================== */
.full-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2500;
    overflow-y: auto;
    padding: 2rem 0;
}

.full-gallery-modal.active {
    display: block;
}

.full-gallery-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.full-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.full-gallery-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.full-gallery-close {
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.full-gallery-close:hover {
    color: var(--primary-color);
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .full-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .full-gallery-header h2 {
        font-size: 1.5rem;
    }
    
    .full-gallery-close {
        font-size: 2rem;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background-color: var(--light-bg);
    text-align: center;
}

.contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-email-link {
    margin-top: 1rem;
}

.booking-form, .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #111;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.booking-form .btn, .contact-form .btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

.form-success,
.form-error {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ===========================
   MERCH SECTION
   =========================== */
.merch {
    background-color: var(--secondary-color);
    text-align: center;
}

/* ===========================
   MERCH MODAL
   =========================== */
.merch-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.merch-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-modal-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.merch-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.merch-modal-close:hover {
    color: var(--primary-color);
}

.merch-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.merch-item {
    background-color: #111;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-align: center;
}

.merch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.merch-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #222;
}

.merch-item-info {
    padding: 1rem;
}

.merch-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.merch-item-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.merch-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===========================
   NEWSLETTER SECTION
   =========================== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    /* red-to-black gradient for signup section */
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

/* make newsletter heading dark */
.newsletter .section-title {
    color: var(--secondary-color);
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    transition: var(--transition);
}

.newsletter-input-group input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.4);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
    background-color: #111;
}

.newsletter-input-group button {
    padding: 0.75rem 2rem;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input-group button:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.4);
    transform: translateY(-2px);
}

.newsletter-input-group button:active {
    border-color: var(--primary-color);
    box-shadow: 0 0 16px rgba(230, 57, 70, 0.6);
    background-color: #1a1a1a;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer p {
    margin: 0.5rem 0;
}

.footer-legal {
    font-size: 0.8rem;
    opacity: 0.9;
}

.legal-link-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
}

.legal-link-btn:hover {
    color: var(--accent-color);
}

.legal-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.82);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background-color: #111;
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    width: min(680px, 100%);
    color: var(--text-dark);
    padding: 1.5rem;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    line-height: 1.5;
}

.legal-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-modal-content p {
    margin-bottom: 0.75rem;
}

.legal-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    border: none;
    background: none;
    color: var(--text-dark);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.legal-modal-close:hover {
    color: var(--primary-color);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet/iPad (1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 0 3rem 0;
    }

    .hero-socials {
        padding-top: 1.5rem;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-right {
        gap: 0.7rem;
    }

    .language-switcher {
        order: 1;
    }

    .language-menu {
        right: 0;
    }

    .hamburger {
        order: 2;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active .nav-link {
        padding: 0.75rem;
    }

    .hero {
        padding: 5rem 0 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-socials {
        padding-top: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .member-slider {
        display: grid;
        grid-template-columns: auto minmax(300px, 440px) auto;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        align-items: center;
    }

    .member-image-fan {
        height: 440px;
        grid-column: 2;
        grid-row: 1;
    }

    #member-prev {
        grid-column: 1;
        grid-row: 1;
    }

    #member-next {
        grid-column: 3;
        grid-row: 1;
    }

    .member-credit {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .member-info {
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: center;
        padding-left: 0;
    }

    .member-info h3 {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
    }

    .member-image {
        width: clamp(220px, 52%, 300px);
    }

    .member-preview {
        width: clamp(150px, 40%, 210px);
    }

    .member-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
        flex-shrink: 0;
    }

    .calendar-container {
        grid-template-columns: 1fr;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group button {
        width: 100%;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .hero {
        padding: 4rem 0 2rem 0;
        min-height: auto;
        gap: 1.5rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-socials {
        padding-top: 1rem;
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .band-name {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 30px;
    }

    .social-links {
        gap: 1rem;
    }

    .member-slider {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
        align-items: center;
    }

    .member-image-fan {
        height: 370px;
        width: 100%;
        grid-column: 2;
        grid-row: 1;
    }

    #member-prev {
        grid-column: 1;
        grid-row: 1;
    }

    #member-next {
        grid-column: 3;
        grid-row: 1;
    }

    .member-credit {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .member-info {
        width: 100%;
        text-align: center;
        padding-left: 0;
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .member-info h3 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .member-image {
        width: clamp(180px, 54%, 250px);
    }

    .member-preview {
        width: clamp(120px, 40%, 170px);
    }

    .member-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        font-size: 1rem;
    }
}
