:root {
    --primary-color: #FF8C00; /* 귤색 */
    --primary-light: #FFB347;
    --primary-dark: #E67E00;
    --secondary-color: #FFF5E6;
    --text-color: #2D3436;
    --text-light: #636E72;
    --accent-color: #4A90E2;
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --shadow-soft: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-deep: 0 10px 25px rgba(0,0,0,0.1);
    --glow-effect: 0 0 15px rgba(255, 140, 0, 0.3);
}

@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(#e1e1e1 0.5px, transparent 0.5px);
    background-size: 20px 20px; /* Subtle noise/pattern texture */
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1542051841857-5f90071e7989?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero h1 { 
    font-size: 4rem; 
    margin-bottom: 15px; 
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-soft);
    z-index: 100;
    margin-top: -30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    padding: 5px;
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.nav-link.active {
    color: white;
    background: var(--primary-color);
    box-shadow: var(--glow-effect);
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Day Specific Accent Colors */
#day1 { --day-accent: #FF8C00; } /* Orange */
#day2 { --day-accent: #4A90E2; } /* Blue */
#day3 { --day-accent: #27AE60; } /* Green */
#prep { --day-accent: #9B59B6; } /* Purple */

.day-header {
    margin-bottom: 80px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
    border-left: 12px solid var(--day-accent);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.day-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--day-accent);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.day-header h2 i {
    color: var(--day-accent);
}

.route-tag {
    background: rgba(var(--day-accent-rgb), 0.1);
    color: var(--day-accent);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
}

#day1 .route-tag { background: #FFF5E6; }
#day2 .route-tag { background: #EBF5FF; }
#day3 .route-tag { background: #E9F7EF; }
#prep .route-tag { background: #F4ECF7; }

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--day-accent), var(--accent-color));
    opacity: 0.3;
}

.item {
    position: relative;
    margin-bottom: 100px;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time {
    display: inline-block;
    background: rgba(var(--day-accent-rgb), 0.1);
    color: var(--day-accent);
    padding: 2px 12px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

#day1 .time { background: #FFF5E6; }
#day2 .time { background: #EBF5FF; }
#day3 .time { background: #E9F7EF; }
#prep .time { background: #F4ECF7; }

.content h3 {
    margin: 8px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 8px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: var(--primary-color);
}

.img-container {
    width: 100%;
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.item:hover .img-container img {
    transform: scale(1.05);
}

.content strong {
    color: var(--primary-dark);
}

footer {
    text-align: center;
    padding: 60px 20px;
    background: var(--text-color);
    color: rgba(255,255,255,0.7);
    margin-top: 80px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

footer p {
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero { height: 320px; clip-path: ellipse(160% 100% at 50% 0%); }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; padding: 0 20px; }
    
    nav { 
        width: 92%; 
        margin-top: -25px;
        padding: 3px;
    }
    .nav-link { 
        padding: 10px 15px; 
        font-size: 0.95rem; 
    }

    .container { margin: 30px auto; padding: 0 15px; }
    .day-header { padding: 30px; margin-bottom: 60px; }
    .day-header h2 { font-size: 1.5rem; }
    
    .timeline { padding-left: 30px; }
    .item { padding: 25px; margin-bottom: 80px; }
    .item::before { left: -34px; width: 10px; height: 10px; top: 28px; }
    .timeline::before { left: 0; }
    
    .img-container img { height: 180px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    nav { border-radius: 25px; }
    .nav-link { padding: 8px 12px; font-size: 0.85rem; }
    
    .day-header h2 { font-size: 1.3rem; }
    .route-tag { font-size: 0.8rem; padding: 6px 12px; }
    
    .item { padding: 15px; }
    .content h3 { font-size: 1.2rem; }
    .time { font-size: 0.9rem; padding: 2px 10px; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.day-section {
    animation: fadeIn 0.5s ease-out forwards;
}
