body {
    background-color: #000000;
    /* background-image: url(./avatar_wall.webp);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    */
    color: #FFFFFF;
    font-family: 'Poppins', 'IBM Plex Sans JP', sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

a:visited {
    color: #FFFFFF;
}

a:hover {
    color: #B0C4DE;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}

/* Disable hover effect for # links */
a[href="#"]:hover {
    color: #FFFFFF;
    cursor: default;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu a {
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #B0C4DE;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
}

header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Section Styles */
.section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    /* Add scroll margin for fixed header */
    scroll-margin-top: 80px;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #B0C4DE, transparent);
}

/* Links Section */
.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.link-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Flyer Gallery */
.flyer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.flyer-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.flyer-item:hover {
    transform: scale(1.05);
}

/* Disable hover effect for # links in flyer items */
.flyer-item[href="#"] {
    cursor: default;
}

.flyer-item[href="#"]:hover {
    transform: none;
}

.flyer-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #000;
}

.flyer-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* DJ & VJ Sections */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.media-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.media-item p {
    line-height: 1.6;
    opacity: 0.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5rem;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: clamp(0.9rem, 1.3vw, 1rem);
    }

    .nav-menu {
        padding: 1rem;
    }

    .nav-menu ul {
        gap: 1rem;
    }

    .nav-menu li {
        font-size: 0.85rem;
    }

    .container {
        padding: 5rem 1rem 1rem;
    }

    header h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section h4 {
        font-size: 1rem;
    }

    .links-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .link-item {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .flyer-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .flyer-item {
        padding: 0.75rem;
    }

    .flyer-item h3 {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.3rem;
    }

    .flyer-item p {
        font-size: 0.75rem;
    }

    .flyer-item p[style] {
        font-size: 0.7rem !important;
    }

    .media-item {
        padding: 1.5rem;
    }

    .media-item h3 {
        font-size: 1.2rem;
    }

    .media-item p {
        font-size: 0.9rem;
    }

    footer p {
        font-size: 0.8rem;
    }

    /* Adjust scroll margin for mobile */
    .section {
        scroll-margin-top: 60px;
    }
}
