/* DiziKorea - Korean Tour Company */
:root {
  --primary: #c60c30;
  --primary-dark: #9e0a26;
  --secondary: #003478;
  --secondary-light: #0047a0;
  --accent: #d4a853;
  --accent-light: #f0d48a;
  --text: #2d2d2d;
  --text-light: #666;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-warm: #fff8f0;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

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

/* Header */
.header {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text);
}
.nav a:hover,
.nav a.active {
  background: var(--bg-light);
  color: var(--primary);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 52, 120, 0.85),
    rgba(198, 12, 48, 0.7)
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: white;
}
.btn-accent {
  background: var(--accent);
  color: var(--text);
}
.btn-accent:hover {
  background: var(--accent-light);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-warm {
  background: var(--bg-warm);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 20px;
}
.card-body h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.card-duration {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Discount banner */
.discount-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  margin: 32px 0;
}
.discount-banner h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 8px;
}
.discount-banner p {
  color: var(--text-light);
}
.discount-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.team-card {
  text-align: center;
  background: var(--bg);
  padding: 32px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--accent-light);
}
.team-card h3 {
  color: var(--secondary);
  margin-bottom: 4px;
}
.team-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  gap: 20px;
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  align-items: flex-start;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
}
.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
}
.service-card h3 {
  color: var(--secondary);
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Features/Highlights */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-item {
  text-align: center;
  padding: 24px;
}
.highlight-item .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.highlight-item h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.highlight-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}
.highlight-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Booking form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 52, 120, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  color: var(--secondary);
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  margin-bottom: 2px;
}
.contact-item span {
  color: var(--text-light);
  font-size: 0.9rem;
}
.map-frame {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
}

/* Page header (subpages) */
.page-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  padding: 48px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Previous tours / Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.timeline-img {
  width: 300px;
  object-fit: cover;
  flex-shrink: 0;
}
.timeline-body {
  padding: 24px;
  flex: 1;
}
.timeline-body .date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.timeline-body h3 {
  color: var(--secondary);
  margin-bottom: 8px;
}
.timeline-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-section p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 20px;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}
.cookie-banner p a {
  color: var(--secondary);
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btns .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-accept {
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-reject {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-settings {
  background: transparent;
  color: var(--text-light);
  border: none;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px;
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    min-height: 400px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    flex-direction: column;
  }
  .timeline-img {
    width: 100%;
    height: 200px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 40px 0;
  }
}
