/* bada.day - A Day at the Korean Sea */
/* Colors: #c8d8e8, #c4943a, #b8d4e3, #d4a870, #2a6a8a, #a8c4d8, #8a9aaa, #3a2a5c, #1a3a5c, #c47a4a, #e8d0b8, #f0e8dc, #0a1a2c, #FAF6EE */
/* Fonts: Noto Serif KR, Crimson Pro */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: #c8d8e8;
}

body {
    font-family: 'Crimson Pro', serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: #3a2a5c;
}

/* Horizontal scroll container */
.scroll-container {
    display: flex;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Horizon line */
.horizon-line {
    position: fixed;
    top: 50vh;
    left: 0;
    right: 0;
    height: 1px;
    background: #b8d4e3;
    z-index: 10;
    pointer-events: none;
    transition: background 2s ease;
}

/* Panels */
.panel {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.panel-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 40px;
    max-width: 600px;
}

/* Dawn */
.panel-dawn {
    background: linear-gradient(180deg, #c8d8e8 0%, #b8d4e3 40%, #a8c4d8 100%);
}

.hero-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 200;
    font-size: 12vw;
    color: #2a6a8a;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fadeInSlow 3s ease forwards;
}

@keyframes fadeInSlow {
    to { opacity: 1; }
}

.hero-subtitle {
    font-family: 'Crimson Pro', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 18px;
    color: #8a9aaa;
    letter-spacing: 0.15em;
    margin-top: 12px;
    opacity: 0;
    animation: fadeInSlow 2s 1.5s ease forwards;
}

.tide-marks {
    position: absolute;
    right: 60px;
    top: 0;
    height: 100%;
    opacity: 0.4;
}

.tide-svg {
    height: 100%;
    width: 40px;
}

/* Morning */
.panel-morning {
    background: linear-gradient(180deg, #b8d4e3 0%, #c8d8e8 50%, #d4a870 100%);
}

.section-label {
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
    font-size: 42px;
    color: #2a6a8a;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    margin-bottom: 30px;
}

.poem-text {
    font-family: 'Crimson Pro', serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 2;
    color: #3a2a5c;
}

.poem-text.korean {
    font-family: 'Noto Serif KR', serif;
    font-weight: 200;
    font-size: 22px;
    color: #c4943a;
    margin-bottom: 20px;
}

.poem-translation {
    font-family: 'Crimson Pro', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    color: #8a9aaa;
    line-height: 1.8;
}

/* Watercolor washes */
.watercolor-wash {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    opacity: 0.3;
    pointer-events: none;
}

.wash-morning {
    background: linear-gradient(0deg, #d4a870 0%, transparent 100%);
}

.wash-afternoon {
    background: linear-gradient(0deg, #c4943a 0%, transparent 100%);
}

/* Midday */
.panel-midday {
    background: linear-gradient(180deg, #a8c4d8 0%, #e8d0b8 50%, #c8d8e8 100%);
}

.panel-midday .section-label {
    color: #c47a4a;
}

.sun-disc {
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #c4943a 0%, #d4a870 60%, transparent 100%);
    opacity: 0.6;
    z-index: 2;
}

/* Afternoon */
.panel-afternoon {
    background: linear-gradient(180deg, #c8d8e8 0%, #d4a870 50%, #c4943a 100%);
}

.panel-afternoon .section-label {
    color: #3a2a5c;
}

/* Dusk */
.panel-dusk {
    background: linear-gradient(180deg, #c4943a 0%, #3a2a5c 50%, #0a1a2c 100%);
}

.panel-dusk .section-label {
    color: #d4a870;
}

.panel-dusk .poem-text {
    color: #f0e8dc;
}

/* Scroll hint */
.scroll-hint {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.hint-arrow {
    font-size: 20px;
    color: #2a6a8a;
    animation: slideRight 2s infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.hint-text {
    font-family: 'Crimson Pro', serif;
    font-size: 12px;
    color: #8a9aaa;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 20vw;
    }

    .section-label {
        font-size: 32px;
    }

    .poem-text {
        font-size: 17px;
    }
}
