/* ===== Index Page Styles ===== */

/* Scroll Snap Container */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}

/* Header & Hero Combined Section */
.header-hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    scroll-snap-align: start;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    z-index: 1;
    padding: var(--spacing-2xl) var(--spacing-md);
    box-sizing: border-box;
}


/* All scroll sections need snap alignment */
.header-hero-section,
.poster-section,
.designers-section,
.photo-section,
.contact-footer-section {
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(2rem, 10vw, 4rem);
        line-height: 1.1;
    }
    
    .photo-section {
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .photo-section h3 {
        display: none;
    }
    
    .photo-section .video-container {
        margin: 0 !important;
        padding-bottom: 56.25% !important;
        width: 100%;
    }
    
    .designers-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .designers-section h2 {
        margin-bottom: var(--spacing-lg);
        text-align: left;
    }
    
    .designers-section .slider-container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .contact-section {
        align-items: center !important;
        padding: var(--spacing-lg) var(--spacing-sm);
        padding-right: var(--spacing-sm) !important;
    }
    
    .contact-container {
        width: 90% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: var(--spacing-lg);
        box-sizing: border-box;
        border: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    .contact-section h3 {
        text-align: center;
        width: 100%;
        font-size: 1.8rem;
        margin-bottom: var(--spacing-md);
    }
    
    .contact-section form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    .contact-section form label {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-section form input,
    .contact-section form textarea {
        width: 100% !important;
        padding: 0.875rem !important;
        box-sizing: border-box !important;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--color-black);
    }
    
    .contact-section form button {
        width: 100% !important;
        padding: 0.875rem !important;
        margin-top: var(--spacing-sm);
        background: var(--color-white);
        color: var(--color-black);
    }

    .hero-section {
        min-height: 80vh;
        padding: var(--spacing-xl) var(--spacing-sm);
    }
}

/* Content Section */
.content-section {
    position: relative;
    background: var(--color-white);
    padding: 0;
    max-width: 100vw;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Video Section */
.video-section {
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    scroll-snap-align: start;
}

.video-section h2 {
    font-family: var(--font-light);
    font-size: var(--text-3xl);
    font-weight: 200;
    margin-bottom: var(--spacing-sm);
}

.video-section p {
    font-family: var(--font-light);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.video-section video {
    width: min(80%, 60rem);
    height: auto;
    aspect-ratio: 16/9;
}

/* Poster Section */
.poster-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 7;
    scroll-snap-align: start;
}

.poster-section img.poster-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Contact & Footer Combined Section */
.contact-footer-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    box-sizing: border-box;
    background-image: url('../../assets/images/index/contact-background.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
    color: var(--color-white);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 4%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 6;
    flex: 1;
}

.contact-container {
    border: none;
    border-radius: var(--radius-md);
    padding: clamp(2rem, 4vw, 3rem);
    background: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: min(85vw, 50rem);
    width: 45%;
    position: relative;
}

.contact-section h3 {
    font-family: var(--font-bold);
    color: var(--color-white);
    font-size: var(--text-4xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-sm);
}

.contact-section .subtitle {
    font-family: var(--font-light);
    font-size: var(--text-lg);
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: var(--spacing-lg);
}

.contact-section form {
    border: 1px solid var(--color-border);
    background: var(--color-black);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.contact-section form input {
    border: 1px solid var(--color-border);
}

.contact-section form textarea {
    border: 1px solid var(--color-border);
}


/* Bottom Labels */
.bottom-labels {
    background: transparent;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    font-family: var(--font-medium);
    font-size: 1rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}




/* 코펜하겐 패션위크 스타일 - 메인 타이틀 */
.main-title {
    font-family: var(--font-bold);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-transform: none;
    margin: 0;
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    transform: scaleY(7);
    text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}


.designers-section {
    background: var(--color-accent);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    height: 100vh;
    overflow: hidden;
}

.designers-section h2 {
    font-family: var(--font-bold);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    text-transform: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    max-width: 100%;
}

.photo-section {
    background: var(--color-black);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    border-top: 1px solid var(--color-border);
    height: 100vh;
    overflow: hidden;
}

.photo-section h3 {
    font-family: 'BitgoeulBold', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: bold;
    color: var(--color-white);
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
    text-align: center;
    max-width: 100%;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: min(90vw, 60rem);
    height: min(75vh, 60rem);
    gap: var(--spacing-xs);
    margin: 0 auto;
    background: transparent;
    border: none;
    aspect-ratio: 1;
    max-height: 80vh;
}

.photo-grid div {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.photo-grid div:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-text-primary);
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
    filter: grayscale(30%) contrast(1.05) brightness(0.98);
}

.photo-grid div:hover img {
    filter: grayscale(0%) contrast(1.1) brightness(1.02);
    transform: scale(1.02);
}

