/* ===== KAS Travel Group — Modern Redesign ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #247BA3;
  --blue-dark: #1a5e7f;
  --blue-light: #e8f4f8;
  --gold: #f0a500;
  --gold-light: #fff4d6;
  --dark: #1a1a2e;
  --gray-900: #222;
  --gray-700: #555;
  --gray-400: #aaa;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
.section-subtitle {
  color: var(--gray-700);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 12px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36,123,163,.3);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: #d99200;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.5px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: .95rem;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-light);
  color: var(--blue);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  margin: 6px 0;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}
.hero-content h1 { color: var(--white); margin-bottom: 16px; }
.hero-content p {
  font-size: 1.25rem;
  opacity: .9;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--gray-100);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  height: 220px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img img { transform: scale(1.08); }
.card-body {
  padding: 24px;
}
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--gray-700); font-size: .95rem; margin-bottom: 16px; }
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* --- Features Row --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--gray-700); font-size: .95rem; }

/* --- Split Section (image + text side-by-side) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.split-text h2 { margin-bottom: 16px; }
.split-text p { color: var(--gray-700); margin-bottom: 20px; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
  margin: 0 24px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: 1.1rem; }

/* --- Itinerary Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-light);
}
.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 32px;
}
.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.timeline-item h3 { margin-bottom: 6px; color: var(--blue); }
.timeline-item p { color: var(--gray-700); font-size: .95rem; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer p { font-size: .9rem; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--blue); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; padding: 12px 16px; }
  .hamburger { display: block; }
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
  }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
