@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Forum&family=Limelight&family=Rock+Salt&family=Lugrasimo&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body{
    font-family: 'Lugrasimo';
    background-color: #A4A983;
     /* #8a9065;  */
    /* #7A805C; */
    overflow: hidden;
}

a, p{
    display: block;
    text-decoration: none;
    color: #454955;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

nav, footer{
    position: absolute;
    left: 0;
    width: 100vw;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    mix-blend-mode: difference;
    z-index: 1000;
}

nav {
    top: 0;
}

nav h1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-family: 'Lugrasimo';
    font-size: 24px;
    color: #454955;
    transition: opacity 0.3s ease;
}

footer {
    bottom: 0;
}

.links{
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    align-items: center;
    font-family: 'Limelight';
    font-size: 12px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    padding: 0.2rem;
    margin-left: auto;
}

nav > *,
.links a{
    flex: none;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-link svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav, footer {
        padding: 0.75em;
        gap: 1em;
    }
    
    nav h1 {
        font-size: 20px;
        position: static;
        transform: none;
        left: auto;
    }
    
    .links {
        gap: 1em;
        font-size: 11px;
    }
    
    .instagram-link svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    nav, footer {
        padding: 0.5em;
        gap: 0.75em;
    }
    
    nav h1 {
        font-size: 18px;
        position: static;
        transform: none;
        left: auto;
    }
    
    .links {
        gap: 0.75em;
        font-size: 10px;
    }
    
    .instagram-link svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 360px) {
    nav, footer {
        padding: 0.4em;
        gap: 0.5em;
    }
    
    nav h1 {
        font-size: 16px;
        position: static;
        transform: none;
        left: auto;
    }
    
    .links {
        gap: 0.5em;
        font-size: 9px;
    }
    
    .instagram-link svg {
        width: 11px;
        height: 11px;
    }
}

.container {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-x pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.canvas {
    position: absolute;
    will-change: transform;
}

.item {
    position: absolute;
    width: 160px;
    height: 200px;
    overflow: hidden;
    background-color: #454955;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.expanded-item {
    position: fixed;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #8a9065;
    /* #7A805C; */
    overflow: hidden;
    cursor: pointer;
}

img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.expanded-item img {
    object-fit: contain;
    background-color: #8a9065;
    /* #7A805C; */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8a9065;
    /* #7A805C; */
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.overlay.active {
    pointer-events: none; /* Will be set to auto via JavaScript after animation */
    opacity: 1;
    /* Ensure overlay doesn't interfere with animations */
    will-change: opacity;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 300;
    background-color: rgba(68, 73, 85, 0.9);
    color: #A4A983;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Limelight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background-color: rgba(68, 73, 85, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-button svg {
    width: 20px;
    height: 20px;
}

/* Donation Buttons */
.donation-container {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    pointer-events: auto;
    padding: 0 20px;
}

.donation-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.donation-btn {
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    font-family: 'Limelight', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.donation-btn.primary {
    background-color: #454955;
    color: #7A805C;
}

.donation-btn.primary:hover {
    background-color: #2a2d35;
    transform: translateY(-2px);
}

.donation-btn.secondary {
    background-color: transparent;
    color: #454955;
    border: 2px solid #454955;
}

.donation-btn.secondary:hover {
    background-color: #454955;
    color: #7A805C;
    transform: translateY(-2px);
}

/* Large screen layout - buttons on the right side */
@media (min-width: 1024px) {
    .donation-container {
        bottom: auto;
        top: 50%;
        left: auto;
        right: 50px;
        transform: translateY(-50%);
        padding: 0;
    }
    
    .donation-buttons {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .donation-btn {
        width: 180px;
        padding: 20px 40px;
        font-size: 16px;
    }
}

/* Responsive donation buttons */
@media (max-width: 768px) {
    .donation-container {
        bottom: 100px;
        padding: 0 15px;
    }
    
    .donation-buttons {
        gap: 1rem;
        display: flex;
        flex-direction: row;
        max-width: 450px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .donation-btn {
        padding: 16px 28px;
        font-size: 14px;
        width: auto;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .donation-container {
        bottom: 80px;
        padding: 0 10px;
    }
    
    .donation-buttons {
        gap: 0.75rem;
        display: flex;
        flex-direction: row;
        max-width: 320px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .donation-btn {
        padding: 14px 24px;
        font-size: 13px;
        width: auto;
        min-width: 130px;
    }
}

@media (max-width: 360px) {
    .donation-container {
        bottom: 60px;
    }
    
    .donation-buttons {
        gap: 0.4rem;
        max-width: 260px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    
    .donation-btn {
        padding: 10px 14px;
        font-size: 11px;
        width: auto;
        min-width: 100px;
    }
}

/* Responsive back button */
@media (max-width: 768px) {
    .back-button {
        top: 20px;
        left: 20px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .back-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .back-button {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .back-button svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 360px) {
    .back-button {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .back-button svg {
        width: 14px;
        height: 14px;
    }
}

/* About the Artist Page Styles */
.about-artist-container {
    max-width: 900px;
    margin: 100px auto 40px auto;
    padding: 2rem 1rem 1rem 1rem;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.about-artist-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-artist-img {
    width: 260px;
    max-width: 90vw;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(68,73,85,0.13);
    background: #eaeaea;
}

.about-artist-text {
    max-width: 700px;
    font-family: 'Forum', 'Lugrasimo', 'Limelight', sans-serif;
    font-size: 1.15rem;
    color: #454955;
    text-align: center;
    line-height: 1.7;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(68,73,85,0.07);
}

/* Remove white background for about page */
.about-artist-container.no-bg {
    background: none;
    box-shadow: none;
    padding-top: 2.5rem;
}

.about-artist-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    position: relative;
}

.carousel-arrow {
    background: rgba(68,73,85,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.carousel-arrow:hover {
    background: #454955;
    transform: scale(1.08);
}

.carousel-images {
    width: 260px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(68,73,85,0.13);
    background: #eaeaea;
}

.about-artist-img {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.about-artist-img.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

@media (max-width: 900px) {
    .about-artist-container {
        margin-top: 80px;
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }
    .about-artist-img {
        width: 180px;
        height: 240px;
    }
    .carousel-images {
        width: 180px;
        height: 240px;
    }
}
@media (max-width: 600px) {
    .about-artist-container {
        margin-top: 60px;
        gap: 1.5rem;
    }
    .about-artist-carousel {
        max-width: 98vw;
        justify-content: center;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .carousel-images {
        width: 92vw;
        max-width: 350px;
        height: 60vw;
        max-height: 320px;
        min-height: 180px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        box-shadow: none;
        background: none;
    }
    .about-artist-img {
        object-fit: contain;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 0;
        box-shadow: none;
        background: none;
    }
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .about-artist-text {
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 600px) {
  .about-artist-container {
    padding-bottom: 80px;
  }
}

