.header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    z-index: 1000;
}

.logo-header {
    max-width: 200px;
}

.logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

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

body {
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
}

a {
    color: #e99708;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffb340;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/dedd-joshua-gas-electric-ave.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 80px;
}
.story-container {
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}
.live-dates-container {
    max-width: 640px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

.live-dates-container h2 {
    margin-bottom: 20px;
}

.event-featured-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.event-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.event-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.event-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.event-venue {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.loading, .error, .no-events {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.recordings-container {
    max-width: 640px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

.recordings-container h2 {
    margin-bottom: 20px;
}

.recordings-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 4px;
}

.recordings-container p {
    margin-bottom: 15px;
}

.recordings-container a {
    color: #e99708;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.recordings-container a:hover {
    color: #ffb340;
}

.story-container a {
    color: #e99708;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.story-container a:hover {
    color: #ffb340;
}

.bandcamp-player {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.bandcamp-player iframe {
    border: 0;
    width: 100%;
    height: 120px;
}

.promo-photos-container {
    max-width: 640px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

.promo-photos-container h2 {
    margin-bottom: 20px;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.photo-thumbnail {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.photo-thumbnail:hover {
    transform: scale(1.05);
}

.photo-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.contact-container {
    max-width: 640px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

.contact-container h2 {
    margin-bottom: 20px;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info strong {
    font-weight: 700;
}
.video-container {
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.sound-toggle {
    max-width: 640px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.sound-toggle button {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sound-toggle button:hover {
    background-color: #fff;
    color: #000;
}

.contact-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-direction: row;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    color: #e99708;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-icon:hover {
    background-color: #e99708;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(233, 151, 8, 0.4);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.fly-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    z-index: 1000;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fly {
    width: 50px;
    height: 50px;
    animation: buzz 3s infinite ease-in-out;
    transition: transform 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    pointer-events: auto;
}

.fly-wrapper:hover .fly {
    transform: scale(1.2);
}

.nimoy-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.nimoy-wrapper:hover {
    transform: scale(1.1);
}

.nimoy-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.fly img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

@keyframes buzz {
    0% {
        transform: translate(25px, 0) rotate(0deg) scale(1);
    }
    12.5% {
        transform: translate(17.68px, -17.68px) rotate(-45deg) scale(0.85);
    }
    25% {
        transform: translate(0, -25px) rotate(-90deg) scale(1.2);
    }
    37.5% {
        transform: translate(-17.68px, -17.68px) rotate(-135deg) scale(0.9);
    }
    50% {
        transform: translate(-25px, 0) rotate(-180deg) scale(1.1);
    }
    62.5% {
        transform: translate(-17.68px, 17.68px) rotate(-225deg) scale(0.85);
    }
    75% {
        transform: translate(0, 25px) rotate(-270deg) scale(1.15);
    }
    87.5% {
        transform: translate(17.68px, 17.68px) rotate(-315deg) scale(0.95);
    }
    100% {
        transform: translate(25px, 0) rotate(-360deg) scale(1);
    }
}

@media (max-width: 768px) {
    .video-container,
    .story-container,
    .live-dates-container,
    .recordings-container,
    .promo-photos-container,
    .contact-container {
        max-width: 95%;
    }
    
    .photo-thumbnail {
        min-width: 100%;
        max-width: 100%;
    }
    
    .header-wrapper {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
        align-items: center;
    }
    
    .logo-header {
        max-width: 220px;
        order: 2;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .contact-icons {
        gap: 10px;
        flex-direction: row;
        order: 1;
        align-self: center;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .video-container {
        max-height: 85vh;
    }
    .sound-toggle {
        max-width: 95%;
    }
    
    .nimoy-wrapper {
        bottom: 10px;
        right: 10px;
        width: 60px;
        height: 60px;
    }
}
