/* --------------------------------------------------
    HERO SECTION
-------------------------------------------------- */

.hero {
    max-height: 100vh;
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    width: 100%;
    display: block;
}

/* ---------------- SCROLL ARROW ---------------- */

.scroll-arrow {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-arrow span {
    display: block;
    width: 32px;
    height: 32px;

    border-left: 3px solid white;
    border-bottom: 3px solid white;

    transform: rotate(-45deg);

    opacity: 0;
    animation: arrowFade 1.5s infinite;

    margin-top: -14px;
}

/* Stagger the animation */
.scroll-arrow span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Looping fade effect */
@keyframes arrowFade {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translate(0, 0);
    }

    50% {
        opacity: 1;
        transform: rotate(-45deg) translate(-4px, 4px);
    }

    100% {
        opacity: 0;
        transform: rotate(-45deg) translate(-8px, 8px);
    }
}

/* Hide on scroll */
.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------
    ABOUT SECTION
-------------------------------------------------- */

#about {
    background: var(--bg-page);

    display: flex;
    justify-content: center;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;

    background: #1f1f1f;
    padding: 3rem;
    border-radius: 10px;

    max-width: 1200px;
    width: 100%;
}

.about-left {
    flex: 1 1 400px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.about-left h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.about-left h2 span {
    display: block;
}


.about-left p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.about-left p span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-right img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3.5 / 4;
    object-fit: cover;
    border-radius: 4px;
}


/* --------------------------------------------------
    NEWS SECTION
-------------------------------------------------- */

#news {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 90%;
    max-width: 1200px;
}

#news h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    align-self: center;
}

.news-date {
    font-size: 1rem;
    color: #c63f3f;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.news-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.news-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 15px;
}

/* --------------------------------------------------
    BTS SECTION
-------------------------------------------------- */

#bts h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.bts-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;

    width: 100%;
    margin-top: 2rem;
}

.bts-gallery img {
    width: 100%;
    /* max-height: 400px; */
    object-fit: cover;
    border-radius: 15px;

    aspect-ratio: 3 / 4;

    transition: all 0.3s ease;
}

.bts-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------
    MOBILE STYLES
-------------------------------------------------- */

@media screen and (max-width: 768px) {

    /* Global spacing */
    main {
        padding: 2rem 1rem;
        gap: 3rem;
    }

    /* Sections anchor offset for mobile nav */
    .page-section {
        scroll-margin-top: 110px;
    }

    /* ---------------- HERO ---------------- */

    .hero {
        max-height: 60vh;
    }

    .scroll-arrow {
        display: none;
    }

    /* ---------------- ABOUT SECTION ---------------- */

    .about-card {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.3rem;
    }

    .about-left h2 {
        font-size: 1.75rem;
        font-family: 'Lora', serif;
    }

    .about-left h2 span {
        display: inline;
    }

    .about-left p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-right img {
        width: 70%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
    }
}