/* Global Styles */
:root {
    --primary-color: #1e88e5;
    --primary-light: #6ab7ff;
    --primary-dark: #005cb2;
    --secondary-color: #ff9800;
    --secondary-light: #ffc947;
    --secondary-dark: #c66900;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --background: #f5f5f5;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-heart {
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--text-light);
    position: relative;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    margin: 0 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0 1.5rem;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: bold;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff"></path></svg>');
    background-size: cover;
}

/* Category Navigation */
.category-nav {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.5rem;
    min-width: max-content;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item.active {
    color: var(--primary-color);
}

.category-emoji {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Event Banner */
.event-banner {
    background-color: var(--secondary-light);
    color: var(--text-primary);
    padding: 1rem 0;
    text-align: center;
    margin: 2rem 0;
}

.event-content {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.event-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Packages Section */
.packages {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.section-emoji {
    margin-right: 0.5rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.package-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-image {
    position: relative;
    height: 200px;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-tag {
    position: absolute;
    top: 1rem;
    left: 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
}

.heart-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.rating {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--text-light);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.star {
    color: gold;
}

.package-content {
    padding: 1.5rem;
}

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.package-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.package-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background-color: var(--background);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.package-price {
    margin-bottom: 1rem;
}

.original-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.current-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.price-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.savings {
    color: var(--secondary-color);
    font-weight: 500;
}

.package-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-wishlist, .btn-purchase {
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-wishlist {
    background-color: var(--background);
    color: var(--text-primary);
    flex: 1;
}

.btn-purchase {
    background-color: var(--primary-color);
    color: var(--text-light);
    flex: 2;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-icon {
    margin-right: 0.5rem;
}

.footer-text {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .package-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-input, .search-btn {
        border-radius: var(--border-radius);
    }
    
    .search-btn {
        margin-top: 0.5rem;
        padding: 0.8rem;
    }
}