/* ===== Junior Page Styles ===== */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'BitgoeulLight', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}


/* Layout Sections */
.header-poster-section,
.junior-info,
.details-section {
    scroll-snap-align: start;
}

/* Header & Poster Combined Section */
.header-poster-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
}


.header-poster-section .poster-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.poster-image {
    /*width: auto;*/
    height: calc(90vh - 4rem);
    /*height: 100%;*/
    /*max-width: 90%;*/
    max-width: 100%;
    /*max-height: 90%;*/
    /*max-height: 100%;*/
    /*aspect-ratio: 3/4;*/
    object-fit: contain;

    /*border-radius: var(--radius-lg);*/
    /*box-shadow: var(--shadow-soft);*/
}

/* Junior Info Section */
.junior-info {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: var(--spacing-lg);
    box-sizing: border-box;
}

.info-container {
    width: 100%;
    max-width: min(75vw, 40rem);
    margin: 0 auto;
}

.info-section {
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 2px solid black;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: var(--color-white);
    box-sizing: border-box;
}

.event-title {
    font-family: 'BitgoeulBold', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: bold;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--color-black);
    line-height: 1.3;
    text-align: left;
}

.subtitle-english {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: normal;
    opacity: 0.8;
}

.description {
    margin-bottom: var(--spacing-lg);
    height: 90vh;
    overflow-y: auto;
}

.description p {
    font-family: 'BitgoeulLight', sans-serif;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    line-height: 1.3;
    margin-bottom: 0.8vh;
    color: var(--color-black);
}

.intro-paragraph {
    font-family: 'BitgoeulBold', sans-serif;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

.description p strong {
    font-family: 'BitgoeulBold', sans-serif;
    font-weight: bold;
}

/* Details Section */
.details-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1vh 0 0 0;
    background: var(--color-white);
    box-sizing: border-box;
    overflow-y: auto;
}

.event-details-container {
    width: 100%;
    max-width: min(75vw, 40rem);
    margin: 0 auto;
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2vh;
    box-sizing: border-box;
    padding: 2vh 0;
}

.detail-row {
    padding: clamp(0.75rem, 1.5vw, 1.25rem);
    border: 2px solid black;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: var(--color-white);
    text-align: left;
}

.detail-row:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.detail-row h3 {
    font-family: 'BitgoeulBold', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: bold;
    margin-bottom: 0.8vh;
    color: var(--color-black);
}

.detail-row p {
    font-family: 'BitgoeulLight', sans-serif;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    line-height: 1.4;
    margin-bottom: 0.8vh;
    color: var(--color-black);
}

.detail-row ul {
    list-style: none;
    padding: 0;
}

.detail-row ul li {
    font-family: 'BitgoeulLight', sans-serif;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    line-height: 1.4;
    margin-bottom: 0.4vh;
    color: var(--color-black);
    position: relative;
    padding-left: 1rem;
}

.detail-row ul li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: var(--color-white);
    /*padding: clamp(0.8rem, 1.2vw, 1.2rem);*/
    border-radius: var(--radius-md);
    border: var(--border-medium) solid var(--color-primary);
    margin-top: clamp(0.8rem, 1.2vw, 1.2rem);
}

.contact-info p {
    font-family: 'BitgoeulMedium', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

.contact-info strong {
    font-family: 'BitgoeulBold', sans-serif;
    color: var(--color-primary);
}

.apply-section {
    width: 100%;
    max-width: min(75vw, 40rem);
    margin: 0.5vh auto 1vh auto;
    flex: 1;
}

.apply-button {
    background: var(--color-black);
    color: var(--color-white);
    width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'BitgoeulBold', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.apply-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Footer */
.details-section .bottom-labels {
    background: var(--color-white);
    text-align: center;
    padding: 1vh var(--spacing-sm);
    font-family: var(--font-medium);
    font-size: 1rem;
    flex-shrink: 0;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 48rem) {
    .header-poster-section {
        min-height: auto;
    }
    
    .header-poster-section .poster-section {
        flex-direction: column;
        gap: 0;
        padding: 0;
        min-height: auto;
    }
    
    .poster-image {
        width: 100%;
        height: 100vh;
        object-fit: contain;
        scroll-snap-align: start;
        background-color: #ffffff;
    }
    
    .info-section {
        padding: var(--spacing-md);
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .detail-row {
        padding: var(--spacing-sm);
    }
    
    .apply-button {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
}

@media (max-width: 30rem) {
    .description p,
    .detail-row p,
    .detail-row ul li {
        font-size: 0.9rem;
    }
}