/* ============================================================
   TRAVELIA - styles.css
   ============================================================ */
:root {
  --teal-dark:   #0d7a6c;
  --teal-mid:    #12a090;
  --teal-light:  #3dcdbf;
  --orange:      #f9a825;
  --orange-dark: #e07b00;
  --cream:       #fafaf8;
  --dark:        #1a2438;
  --mid:         #4a5568;
  --light:       #e8f5f3;
  --white:       #ffffff;
  --radius:      16px;
  --shadow:      0 8px 32px rgba(13,122,108,.15);
  --shadow-lg:   0 20px 60px rgba(13,122,108,.2);
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--dark);
  line-height: 1.2;
}
.section-sub {
  color: var(--mid);
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: .5rem;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(13,122,108,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,122,108,.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  padding: .25rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-teal { background: linear-gradient(135deg, var(--teal-light), var(--teal-mid)); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo img {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
  transition: var(--transition);
}
.header.scrolled .nav-logo img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.header.scrolled .nav-links a { color: var(--dark); text-shadow: none; }
.nav-links a:hover { color: var(--orange); text-shadow: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 4px 12px rgba(249,168,37,.4);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249,168,37,.5); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--dark); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { color: var(--white); font-size: 1.4rem; font-weight: 700; }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(13,122,108,.82) 0%, rgba(26,36,56,.75) 60%, rgba(249,168,37,.25) 100%),
    url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1400&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; padding: 120px 20px 80px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: .45rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 7vw, 4.5rem); color: var(--white); line-height: 1.1; max-width: 700px; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { color: rgba(255,255,255,.85); font-size: clamp(1rem, 2.5vw, 1.2rem); max-width: 520px; margin-bottom: 2.5rem; font-weight: 400; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.75); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.1rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* SEARCH BAR */
.search-bar {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 900px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 10;
}
.search-bar .search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.search-field label { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); margin-bottom: .4rem; }
.search-field input, .search-field select {
  width: 100%; padding: .75rem 1rem; border: 2px solid #e2e8f0; border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; color: var(--dark); background: var(--cream); outline: none; transition: var(--transition);
}
.search-field input:focus, .search-field select:focus { border-color: var(--teal-mid); background: var(--white); }
.search-btn {
  padding: .78rem 1.75rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); border: none; border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,168,37,.4); }

/* FEATURES */
.features { padding: 5rem 0 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: var(--transition); border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--teal-light); box-shadow: var(--shadow); }
.feature-icon {
  width: 60px; height: 60px; background: var(--light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
  font-size: 1.5rem; color: var(--teal-mid);
}
.feature-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.feature-card p { font-size: .875rem; color: var(--mid); line-height: 1.5; }

/* PACKAGES */
.packages { padding: 5rem 0; }
.packages-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.package-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); transition: var(--transition);
  display: flex; flex-direction: column; position: relative;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-img { position: relative; height: 220px; overflow: hidden; }
.package-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.package-card:hover .package-img img { transform: scale(1.06); }
.package-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,36,56,.6) 0%, transparent 50%); }
.package-badges { position: absolute; top: 1rem; left: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.package-fav {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; background: rgba(255,255,255,.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; transition: var(--transition); color: var(--mid); font-size: .9rem;
}
.package-fav:hover, .package-fav.active { background: var(--white); color: #e53e3e; }
.package-rating {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,.95); border-radius: 50px; padding: .3rem .7rem;
  font-size: .8rem; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: .3rem;
}
.package-rating i { color: var(--orange); }
.package-body { padding: 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.package-location { font-size: .78rem; color: var(--teal-mid); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .3rem; margin-bottom: .4rem; }
.package-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.3; }
.package-meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--mid); margin-bottom: 1rem; flex-wrap: wrap; }
.package-meta span { display: flex; align-items: center; gap: .3rem; }
.package-desc { font-size: .88rem; color: var(--mid); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.package-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid #f0f4f8; }
.package-price .from { font-size: .75rem; color: var(--mid); display: block; }
.package-price strong { font-size: 1.5rem; font-weight: 800; color: var(--teal-dark); }
.package-price span { font-size: .8rem; color: var(--mid); }
.package-price del { font-size: .85rem; color: #aaa; display: block; }
.btn-book {
  padding: .6rem 1.3rem; background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  color: var(--white); border: none; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .85rem; cursor: pointer; transition: var(--transition);
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13,122,108,.35); }

/* DESTINATIONS BANNER */
.dest-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--teal-dark), var(--dark));
  overflow: hidden; position: relative;
}
.dest-banner::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");
}
.dest-banner .container { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.dest-text { flex: 1; min-width: 260px; }
.dest-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); margin-bottom: .75rem; }
.dest-text p { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.7; }
.dest-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.dest-chip {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); padding: .5rem 1.1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: .4rem;
}
.dest-chip:hover { background: var(--orange); border-color: var(--orange); }
.dest-cta { text-align: center; }

/* TESTIMONIALS */
.testimonials { padding: 5rem 0; background: var(--light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: var(--transition); }
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi-stars { color: var(--orange); margin-bottom: 1rem; font-size: 1rem; }
.testi-quote { font-style: italic; color: var(--mid); line-height: 1.7; font-size: .95rem; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; color: var(--teal-mid); flex-shrink: 0; }
.testi-info strong { display: block; font-size: .9rem; font-weight: 800; }
.testi-info span { font-size: .78rem; color: var(--mid); }

/* NEWSLETTER */
.newsletter { padding: 4rem 0; }
.newsletter-box {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  border-radius: 24px; padding: 3rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.newsletter-box::before { content: '✈'; position: absolute; font-size: 12rem; color: rgba(255,255,255,.04); right: -2rem; top: -2rem; line-height: 1; }
.newsletter-box h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--white); margin-bottom: .5rem; }
.newsletter-box p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; padding: .9rem 1.25rem; border: none; border-radius: 50px; font-family: 'Nunito', sans-serif; font-size: .95rem; outline: none; min-width: 200px; }
.newsletter-form button { padding: .9rem 1.75rem; background: var(--orange); color: var(--white); border: none; border-radius: 50px; font-family: 'Nunito', sans-serif; font-weight: 800; cursor: pointer; transition: var(--transition); font-size: .95rem; }
.newsletter-form button:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition); cursor: pointer; }
.social-btn:hover { background: var(--teal-mid); color: var(--white); }
.footer-col h4 { color: var(--white); font-weight: 800; margin-bottom: 1.25rem; font-size: .95rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: var(--teal-light); }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000; backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 24px; max-width: 520px; width: 100%; overflow: hidden; animation: slideUp .3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid)); padding: 1.5rem 1.75rem; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.modal-close { background: rgba(255,255,255,.2); border: none; color: var(--white); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.modal-body { padding: 1.75rem; }
.modal-body .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.modal-body .form-group { margin-bottom: 1rem; }
.modal-body label { display: block; font-size: .8rem; font-weight: 700; color: var(--mid); margin-bottom: .4rem; }
.modal-body input, .modal-body select { width: 100%; padding: .75rem 1rem; border: 2px solid #e2e8f0; border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: .95rem; outline: none; transition: var(--transition); }
.modal-body input:focus, .modal-body select:focus { border-color: var(--teal-mid); }
.modal-package-info { background: var(--light); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.modal-package-info h4 { font-size: 1rem; margin-bottom: .25rem; }
.modal-package-info .price { color: var(--teal-dark); font-weight: 800; font-size: 1.2rem; }
.submit-btn { width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark)); color: var(--white); border: none; border-radius: 12px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: .5rem; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,122,108,.35); }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--dark); color: var(--white); padding: 1rem 1.5rem; border-radius: 12px; font-size: .9rem; font-weight: 600; z-index: 3000; transform: translateY(100px); opacity: 0; transition: var(--transition); display: flex; align-items: center; gap: .6rem; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--teal-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .search-bar .search-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .search-bar .search-grid { grid-template-columns: 1fr; }
  .dest-banner .container { flex-direction: column; gap: 2rem; text-align: center; }
  .dest-chips { justify-content: center; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form button { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-body .form-row { grid-template-columns: 1fr; }
  .packages-header { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
}
