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

/*custom font ttf*/
@font-face {
    font-family: 'Ammonite';
    src: url('fonts/Ammonite.otf') format('opentype');
}



/* Default background for browsers without AVIF support */
body, html {
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    overflow: auto;
    color: white;
    background: url('images/image1.jpg') fixed center/cover;
}

/* AVIF background for browsers that support it */
.avif body, .avif html {
    background: url('images/image1.avif') fixed center/cover;
}


body::-webkit-scrollbar {
    display: none;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    padding: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    mix-blend-mode: difference;
}

header h1 {
    margin-right: 1rem;
    font-size: 2rem;
    font-family: 'Ammonite';
}

header nav {
    display: flex;
}

header nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-style: italic;
}

header nav a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    width: 40px;
    height: 35px;
    cursor: pointer;
}

.hamburger svg {
    display: block;
    width: 40px;
    height: 35px;
    fill: white;
}

header nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.72);
    width: 100%;
    text-align: center;
}

header nav.open a {
    margin: 0;
    padding: 10px 0;
    font-size: 1.5rem;
}

header.navbar-open {
    background-color: rgba(0, 0, 0, 0.72);
}

.gallery-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

.gallery-item {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: start;
    pointer-events: none;
}

.gallery-item img {
    width: 100%;
    height: 100.1vh;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0);
    padding: 10px;
    font-size: 1.5rem;
}

.nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
    transform: rotate(180deg);
}

.album-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3rem;
    flex-wrap: wrap;
}

.album img {
    max-width: 15rem;
    z-index: 10;
    width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 1rem;
}

.album {
    position: relative;
    max-width: 31rem;

    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    margin: 1rem;
    border-radius: 10px;
}



section {
    backdrop-filter: blur(20px) brightness(0.5);
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.365);
    border-top: 1px solid rgba(255, 255, 255, 0.365);
    overflow-x: hidden;
}

.discography, .photo-section {
    padding-left: 0;
    padding-right: 0;
}

section h2 {
    padding: 1rem;
    border: none;
    font-style: italic;
}

.line {
    flex-grow: 1;
    height: 1px;
    background-color: #ffffff;
    margin: 1rem;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .text-overlay {
        font-size: 1rem;
    }

    .nav-button {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
        margin-left: 1rem;
    }

    header nav {
        display: none;
    }

    header nav.open {
        display: flex;
    }

}

.fixed-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000; /* Ensure it is on top of other elements */
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: difference;
}

.fixed-overlay h3 {
    font-family: "Ammonite";
    font-size: 1.5rem;
}

.fixed-overlay span {
    font-style: italic;
    font-size: 0.8rem;
}

.fixed-overlay nav a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 600;
}

.fixed-overlay nav {
    margin-right: 1rem;
    margin-left: 1rem
}

.fixed-overlay nav a:hover {
    text-decoration: underline;
}

.streaming-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(20px) brightness(0.5);
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
}

.streaming-links a {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    padding: 1rem;
    
}

.streaming-links iframe
{
    width: 90% !important;
}


.album:hover .streaming-links {
    opacity: 1;
}

/* Keyframes for opening animation */
@keyframes openMenu {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

/* Keyframes for closing animation */
@keyframes closeMenu {
    0% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(0);
    }
}

/* Apply animation to hamburger menu */
.hamburger.open {
    animation: openMenu 0.5s forwards;
}

.hamburger.close {
    animation: closeMenu 0.5s forwards;
}

/* Keyframes for opening menu */
@keyframes slideIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframes for closing menu */
@keyframes slideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Apply animation to navigation menu */
nav.open {
    animation: slideIn 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
    transform: translateZ(0)
}

nav.close {
    animation: slideOut 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}


/* Display flex when open */
header nav.open {
    display: flex;
}

/* Keep close animation uninterrupted */
nav.close {
    display: flex; /* Display stays flex during the animation */
}

/* Style for "See More" button */
.discography-button-container {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.discography-button {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.discography-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Fullscreen Photo Viewer */
.photo-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0; /* Start hidden for animation */
    transform: scale(0.9); /* Start slightly smaller */
    backdrop-filter: blur(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-viewer.visible {
    opacity: 1;
    transform: scale(1);
    animation: zoomIn 0.3s ease forwards;
}

.photo-viewer.closing {
    animation: zoomOut 0.3s ease forwards;
}

.photo-viewer.hidden {
    display: none;
}

/* Content within the viewer */
.photo-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.photo-viewer-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

#photo-viewer-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
}

.close-btn {
    position: fixed; /* Fixed to the viewport */
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001; /* Ensure it stays above other elements */
}


/* Opening animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Closing animation */
@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

header h1 {
    animation: fadeIn 0.5s forwards;
}

header nav a {
    opacity: 0; /* Initially hidden */
    animation: fadeIn 0.5s forwards;
}

header nav a:nth-child(1) {
    animation-delay: 0.3s;
}

header nav a:nth-child(2) {
    animation-delay: 0.6s;
}

header nav a:nth-child(3) {
    animation-delay: 0.9s;
}

header nav a:nth-child(4) {
    animation-delay: 1.2s;
}

header nav a:nth-child(5) {
    animation-delay: 1.5s;
}

.line {
    opacity: 0;
    animation: fadeInLeft 0.5s forwards;
    animation-delay: 0.3s;
}

.hamburger {
    opacity: 0; /* Initially hidden */
    animation: fadeIn 0.5s forwards;
}

/* Lock scroll by hiding overflow on body */
.no-scroll {
    overflow: hidden;
    position: fixed; /* Helps with locking */
    width: 100%;
}

.spacer {
    height: 60px;
}

section h3 {
    padding: 1rem;
    border: none;
    
}

section p {
    padding: 1rem;
    border: none;
}

section ul {
    padding-left: 3rem;
    padding-right: 3rem;
    border: none;
    font-weight: 400;
}

/* Activity Group Wrapper */
/* Style for Activities gallery */
.activities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 1rem;
}

.activity-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 100%; /* Keeps square ratio */
}

.activity-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-item .caption {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    font-size: 0.9rem;
    border-radius: 3px;
    overflow-y: auto;
    max-height: 50px;
}
.activity-group {
    width: 100%;
    margin-bottom: 2rem; /* Space between groups */
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Title for Each Activity Group */
.activity-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-align: left;
    margin-bottom: 1rem;
    padding: 10px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}


/* Individual Image Styling */
.activity-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 100%; /* Keeps square ratio */
}

.activity-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-item .caption {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    font-size: 0.9rem;
    border-radius: 3px;
    max-height: 50px;
    overflow-y: auto;
}

/* Responsive Title and Group Layout Adjustments */
@media (max-width: 768px) {
    .activity-title {
        font-size: 1.5rem;
    }
}
