/* ============================
   DREAM TRAVEL AGENCY — style.css
   ============================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B6CA8;
  --primary-dark: #144f7c;
  --primary-light: #e6f1fb;
  --accent: #E05C2A;
  --teal: #0F6E56;
  --teal-light: #E1F5EE;
  --amber: #BA7517;
  --amber-light: #FAEEDA;
  --coral: #993C1D;
  --coral-light: #FAECE7;
  --purple: #534AB7;
  --purple-light: #EEEDFE;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e0e0e0;
  --bg-alt: #f7f9fc;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }

.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.navbar__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { color: var(--accent); font-size: 18px; }
.navbar__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navbar__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.navbar__nav a:hover { color: var(--primary); }
.navbar__burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  color: var(--text);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=80');
  background-size: cover;
  background-position: center;
  padding-top: 68px;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,35,60,0.75) 0%, rgba(14,35,60,0.45) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__search {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
}
.search-group {
  flex: 1;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.search-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.search-group input,
.search-group select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  padding: 0;
}
.hero__search .btn {
  border-radius: 0;
  padding: 0 28px;
  font-size: 15px;
}

/* === STATS === */
.stats {
  background: var(--primary);
  padding: 40px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat {
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat:last-child { border-right: none; }
.stat__number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* === SECTION BASE === */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.section__subtitle {
  font-size: 16px;
  color: var(--text-muted);
}
.section__cta {
  text-align: center;
  margin-top: 48px;
}
.section__cta .btn--outline {
  color: var(--primary);
  border-color: var(--primary);
}
.section__cta .btn--outline:hover { background: var(--primary-light); }

/* === DESTINATIONS GRID === */
.destinations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.dest-card--featured {
  grid-column: span 1;
}
.dest-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.dest-card--featured .dest-card__img { height: 240px; }
.dest-card__body {
  padding: 20px;
}
.dest-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: var(--text);
}
.dest-card__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.dest-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price { font-size: 14px; color: var(--text-muted); }
.price strong { color: var(--primary); font-size: 18px; }

/* === BADGES === */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.badge--teal { background: var(--teal-light); color: var(--teal); }
.badge--amber { background: var(--amber-light); color: var(--amber); }
.badge--coral { background: var(--coral-light); color: var(--coral); }

/* === ABOUT === */
.about { padding: 96px 0; background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.about__badge strong { display: block; font-size: 32px; font-family: 'Playfair Display', serif; }
.about__badge span { font-size: 12px; opacity: 0.85; }
.about__content .section__title { text-align: left; }
.about__content p { color: var(--text-muted); margin-bottom: 24px; }
.about__list {
  list-style: none;
  margin-bottom: 32px;
}
.about__list li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* === PACKAGES === */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pkg-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}
.pkg-card:hover { box-shadow: var(--shadow-lg); }
.pkg-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.pkg-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.pkg-card__header {
  padding: 32px 24px 24px;
  text-align: center;
  color: var(--white);
}
.pkg-card__header--teal { background: var(--teal); }
.pkg-card__header--purple { background: var(--purple); }
.pkg-card__header--coral { background: var(--coral); }
.pkg-card__icon { font-size: 36px; display: block; margin-bottom: 8px; }
.pkg-card__header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pkg-card__header p { opacity: 0.85; font-size: 13px; }
.pkg-card__body { padding: 24px; }
.pkg-card__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}
.pkg-card__price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.pkg-card__features {
  list-style: none;
  margin-bottom: 24px;
}
.pkg-card__features li {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.pkg-card__features li:last-child { border-bottom: none; }

/* === TESTIMONIALS === */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.testimonial__stars { color: #f5a623; font-size: 18px; margin-bottom: 12px; }
.testimonial p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 14px; }
.testimonial__author span { font-size: 12px; color: var(--text-muted); }

/* === NEWSLETTER === */
.newsletter {
  background: var(--primary);
  padding: 64px 0;
}
.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter p { color: rgba(255,255,255,0.8); font-size: 15px; }
.newsletter__form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 340px;
}
.newsletter__form input {
  flex: 1;
  padding: 13px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.newsletter__form .btn { border-radius: 0; padding: 0 24px; }

/* === FOOTER === */
.footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.8);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__brand p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6); }
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  transition: background 0.15s;
}
.footer__social a:hover { background: var(--primary); }
.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__col a,
.footer__col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.15s;
  line-height: 1.6;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .destinations__grid { grid-template-columns: repeat(2, 1fr); }
  .packages__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar__nav, .navbar > .container > .btn { display: none; }
  .navbar__burger { display: flex; }
  .hero__search {
    flex-direction: column;
    border-radius: var(--radius-sm);
    overflow: visible;
    gap: 8px;
    background: transparent;
    box-shadow: none;
  }
  .search-group {
    background: var(--white);
    border-radius: var(--radius-sm);
    border-right: none;
    box-shadow: var(--shadow);
  }
  .hero__search .btn { border-radius: var(--radius-sm); padding: 14px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .destinations__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .newsletter__inner { flex-direction: column; align-items: flex-start; }
  .newsletter__form { min-width: unset; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}