:root {
    --sixty: black;
    --thirty: #ffe100;
    --ten: #e54b15;
    --five: #22346b;
}

@font-face {
    font-family: Moelina;
    src: url("fonts/Moelina.otf") format("opentype");
}

@font-face {
    font-family: Kurdis;
    src: url("fonts/Kurdis-WideBold.otf") format("opentype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-size: 16px; /* Base font size for better mobile readability */
    background-color: black;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.header {
    background: linear-gradient(180deg, var(--sixty) 0%, var(--sixty) 70%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: Moelina;
    font-weight: lighter;
    font-size: 1.5em;
    padding: 0.75em 0;
    gap: 0.5em;
    height: 12vh;
    min-height: 120px;
    flex-shrink: 0;
}

.header-title {
    color: var(--thirty);
}

.header-title a {
    text-decoration: none;
    color: var(--thirty);
    transition: color 0.3s ease;
}

.header-title a:hover {
    color: var(--ten);
}

.header-links {
    color: var(--thirty);
    height: 1.5em;
}

.header-links > ul {
    list-style-type: none;
    display: flex;
    gap: 2em;
}

.header-links > ul > li > a { 
    text-decoration: none;
    color: var(--thirty);
    font-size: 1em;
    padding: 0.5em 0.8em; /* Better touch targets */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-links > ul > li > a:hover { 
    color: var(--ten);
    font-size: 1.2em;
    transition: 0.5s;
    background-color: rgba(255, 225, 0, 0.1);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* background: radial-gradient(circle at center, rgba(34, 52, 107, 0.8) 0%, rgba(34, 52, 107, 0.6) 20%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.95) 80%, rgba(0, 0, 0, 1) 100%); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.hero video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero iframe {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.hero-text {
    text-align: center;
    font-family: Moelina;
    font-size: 2em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--thirty);
    padding: 0 1em;
    max-width: 90vw;
    z-index: 3;
    pointer-events: none;
}

.hero-text h1 {
    margin-bottom: 0;
    font-size: 1em;
}

.hero-text p {
    font-size: 0.6em;
    margin: 0;
}

.hero-text a {
    color: var(--thirty);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5em 1.2em;
    border: 2px solid var(--thirty);
    border-radius: 20px;
    background-color: rgba(255, 225, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 225, 0, 0.3);
    font-weight: bold;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-text a:hover {
    color: var(--ten);
    border-color: var(--ten);
    background-color: rgba(229, 75, 21, 0.2);
    box-shadow: 0 0 15px rgba(229, 75, 21, 0.5);
    transform: translateY(-2px);
}

.footer {
    background: linear-gradient(0deg, var(--sixty) 0%, var(--sixty) 70%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5em;
    font-size: 1.2em;
    color: var(--thirty);
    font-family: Moelina;
    height: 10vh;
    min-height: 80px;
    flex-shrink: 0;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("media/band3.webp");
    background-color: black;
    background-repeat: no-repeat;
    background-size: 850px;
    background-position: 48% 35%;    
    position: relative;
    flex-grow: 1;
    font-family: Moelina;
    color: black;
}

.contact-card {
    /* background-color: rgba(34, 52, 107, 0.7); */
    background-color: black;
    background-blend-mode: darken;
    border-radius: 5px;
    width: 500px;
    height: 250px;
    color: var(--thirty);
    padding: 0.4em;
    position: relative;
    top: -50px;
}

.contact-card > h1 {
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
    justify-content: space-between;
    height: 90%;
    gap: 0.3em;
}

.contact-form > textarea {
    flex-grow: 1;
    height: 120px;
}

.contact-submit {
    width: 100px;
    align-self: center;
}

/* Music Page Styles */
.music-content {
    flex-grow: 1;
    background-color: var(--sixty);
    color: var(--thirty);
    font-family: Moelina;
}

.music-hero {
    text-align: center;
    padding: 3em 1em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/gig3.webp");
    background-size: cover;
    background-position: 80% 25%;
}

.music-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.music-hero p {
    font-size: 1.5em;
    color: var(--thirty);
}

.latest-release, .music-videos, .streaming-links {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-release h2, .music-videos h2, .streaming-links h2, .popular-tracks h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: var(--thirty);
    text-align: center;
}

.popular-tracks {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
}

.track-item {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 1em;
    border-radius: 10px;
    text-align: center;
}

.track-item h3 {
    margin-top: 1em;
    font-size: 1.3em;
    color: var(--thirty);
    margin-bottom: 0.5em;
}

.track-item p {
    color: var(--ten);
    font-size: 0.9em;
    font-style: italic;
}

.music-embed {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 1em;
    border-radius: 10px;
    margin-bottom: 2em;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
}

.video-item {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 1em;
    border-radius: 10px;
    text-align: center;
}

.video-item h3 {
    margin-top: 1em;
    font-size: 1.5em;
    color: var(--thirty);
}

.platform-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}

.platform-link {
    display: inline-block;
    padding: 1em 2em;
    background-color: var(--five);
    color: var(--thirty);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-link:hover {
    background-color: var(--ten);
    transform: translateY(-2px);
    border-color: var(--thirty);
}

.platform-link.spotify:hover {
    background-color: #1DB954;
}

.platform-link.apple:hover {
    background-color: #FA243C;
}

.platform-link.youtube:hover {
    background-color: #FF0000;
}

.platform-link.bandcamp:hover {
    background-color: #629aa9;
}

/* Responsive Design for Music Page */
@media (max-width: 768px) {
    .music-hero h1 {
        font-size: 2em;
    }
    
    .music-hero p {
        font-size: 1.2em;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-links {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-link {
        width: 200px;
        text-align: center;
    }
}

/* About Page Styles */
.about-content {
    flex-grow: 1;
    background-color: var(--sixty);
    color: var(--thirty);
    font-family: Moelina;
}

.about-hero {
    text-align: center;
    padding: 3em 1em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/stairwell1.webp");
    background-size: 100% auto;
    background-position: center 30%;
}

.about-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.about-hero p {
    font-size: 1.5em;
    color: var(--thirty);
    font-style: italic;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em;
}

.band-bio, .band-members, .musical-journey, .press-kit {
    padding: 2em 0;
}

.band-bio h2, .band-members h2, .musical-journey h2, .press-kit h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: var(--thirty);
    text-align: center;
}

.bio-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    align-items: start;
}

.bio-text p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 1.5em;
    color: var(--thirty);
}

.bio-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.stat-item {
    text-align: center;
    padding: 1.5em;
    background-color: rgba(34, 52, 107, 0.3);
    border-radius: 10px;
    border: 2px solid var(--five);
}

.stat-item h3 {
    font-size: 2.5em;
    color: var(--ten);
    margin-bottom: 0.5em;
}

.stat-item p {
    font-size: 1em;
    color: var(--thirty);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.member-card {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.member-card:hover {
    border-color: var(--ten);
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1em;
    border-radius: 50%;
    background-color: var(--five);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--thirty);
    overflow: hidden;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-placeholder {
    font-size: 2em;
    font-weight: bold;
    color: var(--thirty);
}

.member-card h3 {
    font-size: 1.5em;
    color: var(--thirty);
    margin-bottom: 0.5em;
}

.member-card p {
    color: var(--ten);
    font-style: italic;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--five);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 0.5em;
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 52, 107, 0.4);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.year {
    background-color: var(--ten);
    color: var(--sixty);
    padding: 0.5em 1em;
    border-radius: 20px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    z-index: 1;
}

.content {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 1.5em;
    border-radius: 10px;
    margin: 0 2em;
    flex: 1;
    border: 1px solid var(--five);
}

.content h3 {
    color: var(--thirty);
    margin-bottom: 0.5em;
    font-size: 1.3em;
}

.content p {
    color: var(--thirty);
    opacity: 0.8;
}

.press-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    align-items: start;
}

.press-bio h3, .press-downloads h3 {
    color: var(--thirty);
    font-size: 1.5em;
    margin-bottom: 1em;
}

.press-bio p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--thirty);
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.download-link {
    display: inline-block;
    padding: 1em 2em;
    background-color: var(--five);
    color: var(--thirty);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-link:hover {
    background-color: var(--ten);
    border-color: var(--thirty);
    transform: translateY(-2px);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2em;
    }
    
    .about-hero p {
        font-size: 1.2em;
    }
    
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 40px;
    }
    
    .timeline-item .year {
        position: absolute;
        left: -60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .timeline-item .content {
        margin: 0;
        margin-left: 1em;
    }
    
    .press-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }
}

/* Gallery Page Styles */
.gallery-content {
    flex-grow: 1;
    background-color: var(--sixty);
    color: var(--thirty);
    font-family: Moelina;
}

.gallery-hero {
    text-align: center;
    padding: 3em 1em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/bath1.webp");
    background-size: 100% auto;
    background-position: center 71%;
}

.gallery-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.gallery-hero p {
    font-size: 1.5em;
    color: var(--thirty);
}

.gallery-grid {
    padding: 2em 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8em 1.5em;
    background-color: var(--five);
    color: var(--thirty);
    border: 2px solid var(--five);
    border-radius: 25px;
    cursor: pointer;
    font-family: Moelina;
    font-size: 1em;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--ten);
    border-color: var(--thirty);
    transform: translateY(-2px);
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--five);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--thirty);
    padding: 1.5em 1em 1em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.gallery-overlay p {
    font-size: 0.9em;
    color: var(--ten);
    font-style: italic;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--thirty);
    text-align: center;
    font-family: Moelina;
    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1em 2em;
    border-radius: 25px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--thirty);
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--ten);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--thirty);
    border: none;
    padding: 1em;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background-color: var(--ten);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2em;
    }
    
    .gallery-hero p {
        font-size: 1.2em;
    }
    
    .gallery-filters {
        gap: 0.5em;
    }
    
    .filter-btn {
        padding: 0.6em 1em;
        font-size: 0.9em;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1em;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}

/* Gigs Page Styles */
.gigs-content {
    flex-grow: 1;
    background-color: var(--sixty);
    color: var(--thirty);
    font-family: Moelina;
}

.gigs-hero {
    text-align: center;
    padding: 3em 1em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/gig2.webp");
    background-size: cover;
    background-position: center;
}

/* Fallback for browsers that don't support WebP */
@supports not (background-image: url("media/optimized/gallery/gig2.webp")) {
    .gigs-hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/gig2.jpg");
    }
}

.gigs-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.gigs-hero p {
    font-size: 1.5em;
    color: var(--thirty);
}

.upcoming-gigs, .past-shows, .booking-info {
    padding: 2em 0;
}

.upcoming-gigs h2, .past-shows h2, .booking-info h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: var(--thirty);
    text-align: center;
}

.gigs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.gig-card {
    background-color: rgba(34, 52, 107, 0.3);
    border-radius: 10px;
    padding: 2em;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5em;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gig-card:hover {
    border-color: var(--ten);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gig-card.featured {
    border-color: var(--thirty);
    background-color: rgba(34, 52, 107, 0.5);
}

.gig-date {
    text-align: center;
    background-color: var(--ten);
    color: var(--sixty);
    padding: 1em;
    border-radius: 10px;
    min-width: 80px;
}

.gig-date .day {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

.gig-date .month {
    display: block;
    font-size: 1em;
    text-transform: uppercase;
}

.gig-info h3 {
    font-size: 1.5em;
    color: var(--thirty);
    margin-bottom: 0.5em;
}

.gig-info p {
    color: var(--thirty);
    margin-bottom: 0.3em;
    font-size: 0.9em;
}

.gig-info .location {
    color: var(--ten);
    font-weight: bold;
}

.gig-actions {
    text-align: center;
}

.ticket-btn {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: var(--ten);
    color: var(--sixty);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 0.5em;
}

.ticket-btn:hover {
    background-color: var(--thirty);
    color: var(--sixty);
    transform: translateY(-2px);
}

.price {
    display: block;
    font-size: 1.2em;
    color: var(--thirty);
    font-weight: bold;
}

.past-gigs-list {
    max-width: 600px;
    margin: 0 auto;
}

.past-gig {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1em;
    padding: 1em;
    background-color: rgba(34, 52, 107, 0.2);
    border-radius: 5px;
    margin-bottom: 1em;
    align-items: center;
}

.past-date {
    color: var(--ten);
    font-weight: bold;
}

.past-venue {
    color: var(--thirty);
}

.past-status {
    color: var(--ten);
    text-align: right;
    font-style: italic;
}

.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.booking-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--thirty);
    margin-bottom: 1em;
}

.booking-btn {
    display: inline-block;
    padding: 1em 2em;
    background-color: var(--five);
    color: var(--thirty);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    border: 2px solid var(--five);
}

.booking-btn:hover {
    background-color: var(--ten);
    border-color: var(--thirty);
    transform: translateY(-2px);
}

/* Merch Page Styles */
.merch-content {
    flex-grow: 1;
    background-color: var(--sixty);
    color: var(--thirty);
    font-family: Moelina;
}

.merch-hero {
    text-align: center;
    padding: 3em 1em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/stairs3.webp");
    background-size: cover;
    background-position: center 50.5%;
}

/* Fallback for browsers that don't support WebP */
@supports not (background-image: url("media/optimized/gallery/stairs3.webp")) {
    .merch-hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("media/gallery/stairs3.jpg");
    }
}

.merch-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--thirty);
}

.merch-hero p {
    font-size: 1.5em;
    color: var(--thirty);
}

.merch-grid, .shipping-info {
    padding: 2em 0;
}

.merch-grid h2, .shipping-info h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: var(--thirty);
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.product-card {
    background-color: rgba(34, 52, 107, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 300px;
    height: 400px;
    margin: 0 auto;
}

.product-card:hover {
    border-color: var(--ten);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    height: 250px;
    width: 250px;
    overflow: show;
    margin: 0 auto;
    padding-top: 1.5em;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--ten);
    color: var(--sixty);
    padding: 0.5em 1em;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.product-info {
    padding: 1.5em;
}

.product-info h3 {
    font-size: 1.3em;
    color: var(--thirty);
    margin-bottom: 0.5em;
}

.description {
    color: var(--thirty);
    opacity: 0.8;
    margin-bottom: 1em;
    font-size: 0.9em;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5em;
    color: var(--ten);
    font-weight: bold;
}

.buy-btn {
    padding: 0.6em 1.2em;
    background-color: var(--ten);
    color: var(--sixty);
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background-color: var(--thirty);
    color: var(--sixty);
    transform: translateY(-2px);
}

.shipping-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.shipping-item {
    background-color: rgba(34, 52, 107, 0.3);
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--five);
}

.shipping-item h3 {
    color: var(--thirty);
    font-size: 1.3em;
    margin-bottom: 1em;
}

.shipping-item p {
    color: var(--thirty);
    margin-bottom: 0.5em;
    font-size: 0.9em;
}

/* Mobile menu toggle styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5em;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--thirty);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* General mobile improvements */
    body {
        font-size: 14px;
    }
    
    /* Header mobile improvements */
    .header {
        height: auto;
        min-height: 100px;
        padding: 1em 0;
        gap: 1em;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 1em;
        right: 1em;
    }
    
    .header-title h1 {
        font-size: 1.8em;
        text-align: center;
        margin-right: 60px; /* Space for hamburger menu */
    }
    
    .header-links {
        width: 100%;
        height: auto;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--sixty);
        border-top: 1px solid var(--thirty);
        z-index: 999;
    }
    
    .header-links.active {
        display: block;
    }
    
    .header-links > ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }
    
    .header-links > ul > li {
        border-bottom: 1px solid rgba(255, 225, 0, 0.2);
    }
    
    .header-links > ul > li:last-child {
        border-bottom: none;
    }
    
    .header-links > ul > li > a {
        display: block;
        padding: 1em 1.5em;
        font-size: 1.1em;
        min-height: 44px;
        line-height: 1.2;
        text-align: left;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    
    .header-links > ul > li > a:hover {
        font-size: 1.1em;
        background-color: rgba(255, 225, 0, 0.1);
    }
    
    /* Hero section mobile improvements */
    .hero-text {
        font-size: 2.2em;
        padding: 0 1em;
        line-height: 1.3;
    }
    
    .hero-text h1 {
        font-size: 1.2em;
        margin-bottom: 0.8em;
    }
    
    .hero-text p {
        font-size: 0.8em;
        margin: 0;
    }
    
    .hero-text a {
        padding: 0.5em 1.2em;
        font-size: 1.1em;
        border-width: 3px;
    }
    
    /* Footer mobile improvements */
    .footer {
        flex-direction: column;
        padding: 1em;
        gap: 0.5em;
        text-align: center;
        height: auto;
        min-height: 100px;
    }
    
    .footer > div {
        font-size: 1em;
    }
    
    /* Contact page mobile improvements */
    .contact {
        height: auto;
        min-height: 70vh;
        padding: 2em 1em;
    }
    
    .contact-card {
        width: 90%;
        max-width: 400px;
        height: auto;
        min-height: 300px;
        top: 0;
        margin: 1em 0;
    }
    
    .contact-form {
        gap: 0.8em;
    }
    
    .contact-form > textarea {
        min-height: 100px;
    }
    
    .contact-submit {
        width: 120px;
        height: 44px;
        font-size: 1.1em;
    }
    
    /* Music page mobile improvements */
    .music-hero {
        padding: 2em 1em;
    }
    
    .music-hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .music-hero p {
        font-size: 1.2em;
        line-height: 1.4;
    }
    
    .latest-release, .music-videos, .streaming-links {
        padding: 1.5em 1em;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .platform-links {
        flex-direction: column;
        gap: 1em;
    }
    
    .platform-link {
        width: 100%;
        max-width: 300px;
        padding: 1em;
        font-size: 1.1em;
        min-height: 50px;
    }
    
    /* About page mobile improvements */
    .about-hero {
        padding: 2em 1em;
    }
    
    .about-hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .about-hero p {
        font-size: 1.2em;
        line-height: 1.4;
    }
    
    .container {
        padding: 1.5em 1em;
    }
    
    .bio-content {
        flex-direction: column;
        gap: 2em;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 50px;
        padding-left: 1em;
        flex-direction: column !important;
        align-items: flex-start;
        gap: 0.8em;
        background-color: rgba(34, 52, 107, 0.2);
        border: 1px solid var(--five);
        margin-bottom: 1.5em;
    }
    
    .timeline-item .year {
        position: static;
        margin-bottom: 0;
        font-size: 1.3em;
        background-color: var(--ten);
        color: var(--sixty);
        padding: 0.4em 0.8em;
        border-radius: 15px;
        font-weight: bold;
    }
    
    .timeline-item .content {
        margin-left: 0;
        width: 100%;
    }
    
    .timeline-item .content h3 {
        font-size: 1.4em;
        margin-bottom: 0.3em;
        color: var(--thirty);
    }
    
    .timeline-item .content p {
        font-size: 1em;
        line-height: 1.4;
        color: var(--thirty);
        opacity: 0.9;
    }
    
    .press-content {
        flex-direction: column;
        gap: 2em;
    }
    
    /* Gallery page mobile improvements */
    .gallery-hero {
        padding: 2em 1em;
    }
    
    .gallery-hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .gallery-hero p {
        font-size: 1.2em;
        line-height: 1.4;
    }
    
    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.5em;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.8em 1.2em;
        font-size: 1em;
        min-height: 44px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .gallery-img {
        height: 250px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    /* Gigs page mobile improvements */
    .gigs-hero {
        padding: 2em 1em;
    }
    
    .gigs-hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .gigs-hero p {
        font-size: 1.2em;
        line-height: 1.4;
    }
    
    .gig-card {
        display: flex !important;
        flex-direction: row !important;
        gap: 1em;
        padding: 1em;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .gig-card > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .gig-card .gig-info h3 {
        font-size: 1.3em;
        word-wrap: break-word;
    }
    
    .gig-card .gig-info p {
        font-size: 0.9em;
        word-wrap: break-word;
    }
    
    .gig-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
    }
    
    .ticket-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 0.8em 1em;
    }
    
    .gigs-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2em;
        margin-top: 2em;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        grid-template-columns: 1fr !important;
    }
    
    .gig-date {
        align-self: center;
    }
    
    .past-gig {
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
    }
    
    .booking-content {
        flex-direction: column;
        gap: 2em;
        text-align: center;
    }
    
    /* Merch page mobile improvements */
    .merch-hero {
        padding: 2em 1em;
    }
    
    .merch-hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .merch-hero p {
        font-size: 1.2em;
        line-height: 1.4;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .product-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        min-height: 400px;
    }
    
    .product-image {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1;
    }
    
    .product-price {
        flex-direction: row;
        gap: 1em;
        align-items: center;
        justify-content: space-between;
    }
    
    .shipping-content {
        flex-direction: column;
        gap: 2em;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
    .header-title h1 {
        font-size: 1.5em;
    }
    
    .hero-text {
        font-size: 2.5em;
    }
    
    .hero-text h1 {
        font-size: 1.3em;
    }
    
    .hero-text a {
        font-size: 1.2em;
        padding: 0.6em 1.4em;
        white-space: nowrap;
        max-width: 85vw;
    }
    
    /* Extra narrow screens */
    @media (max-width: 360px) {
        .hero-text a {
            font-size: 1em;
            padding: 0.4em 0.8em;
            max-width: 80vw;
        }
    }
    
    /* Ultra narrow screens */
    @media (max-width: 320px) {
        .hero-text a {
            font-size: 0.9em;
            padding: 0.3em 0.6em;
            max-width: 75vw;
        }
    }
    
    .music-hero h1,
    .about-hero h1,
    .gallery-hero h1,
    .gigs-hero h1,
    .merch-hero h1 {
        font-size: 1.8em;
    }
    
    .music-hero p,
    .about-hero p,
    .gallery-hero p,
    .gigs-hero p,
    .merch-hero p {
        font-size: 1.1em;
    }
    
    .contact-card {
        width: 95%;
        padding: 1em;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

/* Touch-friendly improvements for all interactive elements */
@media (hover: none) and (pointer: coarse) {
    .header-links > ul > li > a:hover {
        background-color: transparent;
        color: var(--thirty);
    }
    
    .filter-btn:hover,
    .platform-link:hover,
    .download-link:hover,
    .ticket-btn:hover,
    .booking-btn:hover,
    .buy-btn:hover {
        transform: none;
    }
    
    /* Ensure minimum touch targets */
    .filter-btn,
    .platform-link,
    .download-link,
    .ticket-btn,
    .booking-btn,
    .buy-btn,
    .contact-submit {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Responsive background positioning for mobile devices */
@media (max-width: 768px) {
    .hero {
        background-size: cover;
        background-position: center -50%; /* Massive zoom out for debugging */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 120%;
    }
    
    .hero iframe {
        width: 100%;
        height: 120%;
    }
}

/* Extra small devices - show even more of the image */
@media (max-width: 480px) {
    .hero {
        background-size: cover;
        background-position: center -75%; /* Even more extreme zoom out */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 130%;
    }
    
    .hero iframe {
        width: 100%;
        height: 130%;
    }
}

/* For very narrow devices like your Pixel (412px width) */
@media (max-width: 420px) {
    .hero {
        background-size: cover;
        background-position: center -100%; /* Maximum extreme zoom out */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 140%;
    }
    
    .hero iframe {
        width: 100%;
        height: 140%;
    }
}

/* For extremely narrow devices */
@media (max-width: 380px) {
    .hero {
        background-size: cover;
        background-position: center -150%; /* Ultra extreme zoom out */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 150%;
    }
    
    .hero iframe {
        width: 100%;
        height: 150%;
    }
}

/* Specific rule for Pixel 7 and similar devices (412px width) */
@media (max-width: 412px) {
    .hero {
        background-size: cover;
        background-position: center 100%; /* Mega extreme zoom out for Pixel 7 */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 48%;
    }
    
    .hero iframe {
        width: 100%;
        height: 48%;
    }
}

/* Even more zoomed out for very narrow devices */
@media (max-width: 400px) {
    .hero {
        background-size: cover;
        background-position: center -300%; /* Maximum extreme zoom out */
    }
    
    .hero video {
        object-fit: cover;
        object-position: center 50%;
        width: 100%;
        height: 48%;
    }
    
    .hero iframe {
        width: 100%;
        height: 48%;
    }
}

/* Gig Banner Styles */
.gig-banner {
    background: linear-gradient(90deg, var(--thirty), var(--ten));
    background-size: 200% 100%;
    animation: gradientFlow 4s ease-in-out infinite;
    color: var(--sixty);
    padding: 0.4em 0;
    text-align: center;
    font-family: Moelina;
    font-size: 1.1em;
    position: relative;
    z-index: 10;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    padding: 0 2em;
    font-size: 1.2em;
}

.banner-cta {
    background-color: var(--sixty);
    color: var(--thirty);
    text-decoration: none;
    padding: 0.3em 0.8em;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--sixty);
}

.banner-cta:hover {
    background-color: var(--ten);
    color: var(--sixty);
    border-color: var(--thirty);
    box-shadow: 0 0 15px rgba(229, 75, 21, 0.6);
}

.hero a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(34, 52, 107, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero a:hover {
    transform: scale(1.02);
}

.hero a:hover::after {
    content: '▶ Watch Music Video';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--thirty);
    padding: 1em 2em;
    border-radius: 25px;
    font-family: Moelina;
    font-size: 1.2em;
    z-index: 4;
    pointer-events: none;
    animation: fadeIn 0.3s ease;
    white-space: nowrap;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Mobile responsive for gig banner */
@media (max-width: 768px) {
    .gig-banner {
        font-size: 1.1em;
        padding: 0.8em 0;
        background: linear-gradient(135deg, var(--ten) 0%, var(--thirty) 100%);
        background-size: 200% 200%;
        animation: gradientFlow 3s ease-in-out infinite;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        border-bottom: 3px solid var(--thirty);
    }
    
    .banner-content {
        flex-direction: column;
        gap: 0.8em;
        padding: 0 1.2em;
    }
    
    .banner-content span {
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        font-size: 1.1em;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }
    
    .banner-cta {
        padding: 0.7em 2em;
        font-size: 1.1em;
        font-weight: bold;
        background: var(--sixty);
        color: var(--thirty);
        border: 3px solid var(--thirty);
        box-shadow: 0 4px 12px rgba(255, 225, 0, 0.3);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        transition: all 0.3s ease;
    }
    
    .banner-cta:hover {
        background: var(--ten);
        color: var(--sixty);
        border-color: var(--ten);
        box-shadow: 0 6px 16px rgba(229, 75, 21, 0.5);
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .gig-banner {
        font-size: 1.1em;
        padding: 0.4em 0;
    }
    
    .banner-content {
        gap: 0.5em;
        padding: 0 0.8em;
    }
    
    .banner-content span {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    .banner-cta {
        padding: 0.4em 1.2em;
        font-size: 1em;
        min-width: 120px;
    }
}