/* ============================================================
   GoKorean Travel Portal – MAIN LAYOUT CSS (LIGHT MODE SAFE)
   ============================================================ */

/* ===== GLOBAL ===== */

body {
    margin: 0;
    font-family: 'Segoe UI', 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
}

/* ===== HEADER / NAV ===== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #d5dce5;
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e73be;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #1e73be;
}

.nav-links .active {
    color: #1e73be;
    border-bottom: 2px solid #1e73be;
    padding-bottom: 2px;
}

/* ===== HERO ===== */

.hero {
    position: relative;
    height: 360px;
    background: url('https://images.unsplash.com/photo-1504196606672-aef5c9cefc92?auto=format&fit=crop&w=1600&q=80')
        center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), #ffffff);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: none;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.8;
    color: #4a4a4a;
}

/* ===== SEARCH BAR ===== */

.search-box {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box input {
    width: 260px;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #d5dce5;
    outline: none;
    background: #ffffff;
    color: #1a1a1a;
}

.search-box button {
    padding: 11px 20px;
    background: #1e73be;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.search-box button:hover {
    background: #125a96;
}

/* ===== SECTION TITLE ===== */

.section-title {
    font-size: 26px;
    margin: 40px 20px 20px;
    color: #1e73be;
    text-shadow: none;
    border-left: 5px solid #1e73be;
    padding-left: 12px;
}

/* ===== GRID ===== */

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 0 20px 20px;
}

/* ===== CARD ===== */

.travel-card {
    background: #ffffff;
    border: 1px solid #d5dce5;
    border-radius: 14px;
    padding: 22px;
    backdrop-filter: none;
    transition: 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.travel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-color: #1e73be;
}

/* ===== LOGO BOX ===== */

.logo-box {
    width: 140px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f5fa;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #d5dce5;
}

.logo-box img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
}

/* ===== LINKS ===== */

.travel-card a {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.travel-card a:hover {
    color: #1e73be;
}

/* ===== FOOTER SPACER ===== */

.footer-space {
    height: 60px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 640px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 22px;
    }
}
