/* 
   =============================================================================
   다시, 봄 (Re-Spring) Global Stylesheet
   ============================================================================= 
*/

:root {
    /* Color Palette */
    --color-primary-dark: #0A1128;
    /* Deep Navy */
    --color-primary: #1C2D5A;
    /* Primary Navy */
    --color-accent: #D4AF37;
    /* Warm Gold Accent */
    --color-bg-light: #FDFCF9;
    /* Warm White */
    --color-bg-alt: #F4F1EA;
    /* Soft Beige */

    --color-text-dark: #1A1A1A;
    /* For light backgrounds */
    --color-text-light: #FDFCF9;
    /* For dark backgrounds */
    --color-text-muted: #666666;
    /* Subtitles, secondary text */
    --color-text-muted-light: #A0AABF;
    /* Muted text on dark pg */

    /* Typography */
    --font-heading: 'Noto Serif KR', serif;
    --font-body: 'Pretendard', sans-serif;

    /* Layout & Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --trans-fast: 0.3s ease;
    --trans-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --trans-slow: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Basics
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base size */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

section {
    padding: var(--section-padding);
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 64px;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background-color var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(10, 17, 40, 0.15);
}

.btn-accent {
    background-color: #ff6a00;
    /* Strong Orange Color */
    color: #FFFFFF;
}

.btn-accent:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 106, 0, 0.25);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: background-color var(--trans-fast), padding var(--trans-fast), box-shadow var(--trans-fast);
}

.navbar.scrolled {
    background-color: rgba(253, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: color var(--trans-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    /* Offset for nav and extra space */
    padding-bottom: 120px;
    background-color: var(--color-bg-light);
    /* Changed to white/light background */
}

/* Container for title to center it */
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-text-dark);
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.hero-video-wrapper {
    position: relative;
    width: 60%;
    /* 중앙 정렬된 비디오 너비 축소 */
    max-width: 600px;
    /* 너무 커지지 않도록 이전 크기 수준으로 제한 */
    /* aspect-ratio: 16/9; <- Removed so it can fit naturally */
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Removed heavy box-shadow to prevent black border look if aspect ratio doesn't match perfectly */
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: auto;
    /* Let the height adapt naturally to width */
    display: block;
    /* Remove default inline spacing */
    /* removed object-fit: contain and background-color: #000 */
}

/* Remove overlay and keyframes as they are not needed for the center video layout */

/* Replaced by .hero-content above */

.hero-title {
    font-family: 'Noto Sans KR', sans-serif;
    /* 견고딕 느낌을 위한 산세리프 폰트 */
    color: var(--color-primary-dark);
    font-size: 5rem;
    /* 매우 크게 배치 */
    font-weight: 900;
    /* 가장 굵은 웨이트 (견고딕 스타일) */
    margin-bottom: 16px;
    line-height: 1.1;
    word-break: keep-all;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.living-memory {
    color: #ff6a00;
    /* Strong Orange/Coral color */
    font-size: 5rem;
    /* 타이틀 크기와 동일하게 확대 */
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Dancing Script', cursive;
    /* 굵고 우아한 필기체 */
    margin-bottom: 24px;
}

.hero-desc-new {
    font-size: 1.25rem;
    font-family: 'Noto Sans KR', sans-serif;
    /* 견고딕 폰트 적용 */
    color: #808080;
    /* 회색(Gray) 적용 */
    font-weight: 900;
    /* 굵은 견고딕 웨이트 */
    line-height: 1.6;
    margin-bottom: 40px;
    word-break: keep-all;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    /* Darker color for light bg */
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(26, 26, 26, 0.2);
    /* Darker line for light bg */
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-dark);
    /* Darker line for light bg */
    animation: scrollLine 2s infinite cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--trans-smooth), transform var(--trans-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* We will fill in the rest of the sections next! */