/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: #1a1a2e; background: #f8f9fa; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Variables */
:root {
  --primary: #0066cc;
  --primary-dark: #004fa3;
  --accent: #ff4757;
  --gold: #ffa502;
  --text: #1a1a2e;
  --text-light: #6c757d;
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.logo-sub { font-size: 11px; color: var(--text-light); font-weight: 400; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { font-size: 14px; font-weight: 600; color: var(--text-light); transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--primary); }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 8px 18px; border-radius: 20px; font-size: 13px !important;
}
.nav-cta:hover { background: #e84055 !important; color: var(--white) !important; }
.hamburger { display: none; font-size: 22px; cursor: pointer; background: none; border: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0066cc 0%, #004fa3 50%, #003380 100%);
  color: var(--white); padding: 80px 20px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: clamp(15px, 2vw, 18px); opacity: 0.9; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  background: rgba(255,255,255,0.1); border-radius: 16px; padding: 20px 40px;
  max-width: 600px; margin: 0 auto;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--gold); }
.hero-stat span { font-size: 13px; opacity: 0.85; }

/* Search Bar */
.search-section { background: var(--white); padding: 30px 20px; border-bottom: 1px solid var(--border); }
.search-bar {
  max-width: 900px; margin: 0 auto;
  background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; gap: 0; overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-select, .search-input {
  border: none; background: transparent; padding: 16px 18px; font-size: 15px;
  font-family: inherit; outline: none; color: var(--text);
}
.search-select { border-right: 1px solid var(--border); cursor: pointer; min-width: 140px; }
.search-input { flex: 1; }
.search-btn {
  background: var(--primary); color: var(--white); border: none; padding: 16px 28px;
  font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background 0.2s; font-family: inherit;
}
.search-btn:hover { background: var(--primary-dark); }

/* Section */
section { padding: 60px 20px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-badge {
  display: inline-block; background: #e8f0fe; color: var(--primary);
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: 0.5px;
}
.section-header h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 15px; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.filter-btn {
  padding: 8px 20px; border-radius: 20px; border: 2px solid var(--border);
  background: var(--white); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; font-family: inherit; color: var(--text-light);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary); color: var(--primary); background: #e8f0fe;
}

/* Cruise Cards */
.cruise-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cruise-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.cruise-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.card-image {
  position: relative; height: 200px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-placeholder { font-size: 60px; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--white);
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
}
.card-badge.new { background: #2ed573; color: #1a1a2e; }
.card-badge.best { background: var(--gold); color: #1a1a2e; }
.card-nights {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: var(--white);
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.card-body { padding: 20px; }
.card-line { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.card-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.card-route { font-size: 13px; color: var(--text-light); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.card-route::before { content: '📍'; font-size: 12px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.card-price { }
.price-from { font-size: 11px; color: var(--text-light); display: block; }
.price-amount { font-size: 22px; font-weight: 900; color: var(--accent); }
.price-unit { font-size: 12px; color: var(--text-light); }
.card-btn {
  background: var(--primary); color: var(--white); border: none;
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; font-family: inherit;
  display: flex; align-items: center; gap: 6px;
}
.card-btn:hover { background: var(--primary-dark); }

/* Regions */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.region-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  height: 160px; cursor: pointer; transition: transform 0.2s;
}
.region-card:hover { transform: scale(1.02); }
.region-card:hover .region-overlay { background: rgba(0,0,0,0.3); }
.region-bg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.region-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.region-name { color: var(--white); font-size: 18px; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.region-count { color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 4px; }

/* Why Us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #ff4757, #c0392b);
  color: var(--white); padding: 60px 20px; text-align: center; margin: 0;
}
.cta-banner h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }
.cta-btn {
  display: inline-block; background: var(--white); color: var(--accent);
  padding: 16px 40px; border-radius: 30px; font-size: 16px; font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

/* Footer */
footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 50px 20px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  font-size: 12px;
}
.footer-disclaimer { max-width: 1200px; margin: 0 auto 20px; font-size: 12px; opacity: 0.5; line-height: 1.6; }

/* Cruise Line Cards */
.line-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.line-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.line-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.line-card-header {
  height: 120px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: relative;
}
.line-logo { font-size: 52px; }
.line-rating {
  background: rgba(255,255,255,0.2); color: white; padding: 6px 12px;
  border-radius: 20px; font-size: 13px; font-weight: 700; backdrop-filter: blur(4px);
}
.line-card-body { padding: 20px; }
.line-name { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.line-tagline { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.line-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.line-meta span { font-size: 12px; background: var(--bg); padding: 4px 10px; border-radius: 12px; font-weight: 600; }
.line-btn {
  display: block; text-align: center; background: var(--primary); color: white;
  padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: background 0.2s;
}
.line-btn:hover { background: var(--primary-dark); }

/* Toast */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: #2ed573; color: #1a1a2e; padding: 14px 24px; border-radius: 10px;
  font-weight: 700; font-size: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(100px); opacity: 0; transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Language Switcher */
.lang-switcher { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.lang-btn {
  background: none; border: 1.5px solid var(--border); border-radius: 6px;
  padding: 5px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
  color: var(--text-light); transition: all 0.2s; font-family: inherit;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Mobile */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--white); z-index: 200; padding: 80px 30px 30px; gap: 20px; }
  nav.open a { font-size: 20px; }
  .hamburger { display: block; }
  .hero { padding: 50px 20px; }
  .hero-stats { gap: 24px; padding: 16px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .search-bar { flex-direction: column; border-radius: var(--radius); }
  .search-select, .search-input { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .search-btn { width: 100%; border-radius: 0; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cruise-grid { grid-template-columns: 1fr; }
}
