/* Premium Jade & Forest Palette */
:root {
  --primary-blue: #1A2421; /* Deep Forest / Off-Black */
  --primary-turquoise: #00B16A; /* Jade / Emerald Green */
  --accent-orange: #00D48A; /* Vibrant Emerald */
  --light-bg: #F4F7F5;
  --dark-text: #19201D;
  --gray-text: #616B66;
  --white: #FFFFFF;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ol, ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-text);
}

.grid {
  display: grid;
  gap: 2rem;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Typography & Colors */
.highlight {
  color: var(--accent-orange);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.btn-primary:hover {
  background-color: #E66A00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.btn-secondary {
  background-color: var(--primary-turquoise);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-secondary:hover {
  background-color: #00BBE6;
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* Header & Navbar */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background-color 0.3s ease;
}

.header.scrolled {
  position: fixed;
  background-color: rgba(26, 36, 33, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i {
  color: var(--primary-turquoise);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-turquoise);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('hero_bg_1775478389018.png') center/cover no-repeat;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 36, 33, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--white);
  padding-top: 5rem;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.title-word {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  animation: wordReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.title-word:nth-child(1) { animation-delay: 1.5s; }
.title-word:nth-child(2) { animation-delay: 1.6s; }
.title-word:nth-child(3) { animation-delay: 1.7s; }
.title-word:nth-child(4) { animation-delay: 1.8s; }

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideFade 1s cubic-bezier(0.25, 1, 0.5, 1) 2.2s forwards;
}

@keyframes slideFade {
  to {
    opacity: 0.9;
    transform: translateX(0);
  }
}

.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 2.5s forwards;
}

/* Floating Elements */
.floating-cloud {
  position: absolute;
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.8));
  z-index: 0;
  pointer-events: none;
}
.cloud-1 {
  top: 15%;
  left: -10%;
  width: 120px;
  animation: floatCloud 25s linear infinite alternate;
}
.cloud-2 {
  top: 35%;
  right: -5%;
  width: 180px;
  animation: floatCloud 35s linear infinite alternate-reverse;
}

@keyframes floatCloud {
  from { transform: translateX(0) translateY(0); }
  to { transform: translateX(80px) translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 3s forwards;
}
.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
}
.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: mouseScroll 1.5s infinite;
}
@keyframes mouseScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Destinations */
.destination-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dest-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.dest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.dest-card .card-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.dest-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.dest-card:hover .card-img img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-orange);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-size: 1.4rem;
}

.card-content p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E5E7EB;
  padding-top: 1rem;
}

.card-footer .price {
  font-weight: 700;
  color: var(--primary-turquoise);
  font-size: 1.2rem;
}

/* Features Section */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(0, 177, 106, 0.1);
  color: var(--primary-turquoise);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .icon-wrap {
  background: var(--primary-turquoise);
  color: var(--white);
}

.feature-card h3 {
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* Special Offers */
.offers {
  padding: 2rem 0;
}

.offer-banner {
  background: linear-gradient(135deg, rgba(26,36,33,0.9), rgba(0,177,106,0.7)), url('https://picsum.photos/seed/travel/1200/400') center/cover;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.offer-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.offer-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(255,123,0,0.5);
  animation: pulse 2s infinite;
}

.offer-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.offer-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--primary-turquoise);
  box-shadow: 0 10px 30px rgba(0,212,255,0.1);
}

.stars {
  color: #FFB800;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-turquoise);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.reviewer-info h4 {
  color: var(--primary-blue);
  font-size: 1rem;
}

.reviewer-info span {
  color: var(--gray-text);
  font-size: 0.85rem;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.cta-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  outline: none;
  font-family: var(--font-primary);
}

.cta-form input:focus {
  box-shadow: 0 0 0 3px rgba(0,177,106,0.5);
}

/* Footer */
.footer {
  background: #111111;
  color: #A0AEC0;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-about p {
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-turquoise);
  transform: translateY(-3px);
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--primary-turquoise);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--primary-turquoise);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations & OverTheTop Additions */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: #111111; /* Premium Dark */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), visibility 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1); /* Slight zoom out entirely */
}
.preloader-content {
  text-align: center;
  color: var(--white);
}
.plane-anim {
  font-size: 4rem;
  color: var(--primary-turquoise);
  animation: flyAround 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes flyAround {
  0% { transform: translate(-80px, 40px) rotate(-25deg) scale(0.6); opacity: 0; }
  50% { transform: translate(0, 0) rotate(0) scale(1.2); opacity: 1; filter: drop-shadow(0 0 15px var(--primary-turquoise)); }
  100% { transform: translate(80px, -40px) rotate(25deg) scale(0.6); opacity: 0; }
}

/* Custom Cursor (Blend Mode Difference) */
body {
  cursor: none;
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #FFFFFF;
  mix-blend-mode: difference;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999999;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width, height, left, top;
}
.cursor-outline {
  display: none !important;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.reveal-up { transform: translateY(100px); }
.reveal-left { transform: translateX(-100px); }
.reveal-right { transform: translateX(100px); }
.reveal-scale { transform: scale(0.85); }

/* Glow Button (Over The Top) */
.btn-glow {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg) translateX(-100%);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.btn-glow:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* 3D Tilt Cards */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-form button {
    width: 100%;
  }
}

/* =========================================
   DARK MODE THEME OVERRIDES
   ========================================= */
body.dark-mode {
  background-color: #121212;
  color: #E8E8E8;
}
body.dark-mode .bg-light {
  background-color: #1A1A1D;
}
body.dark-mode .card,
body.dark-mode .feature-card,
body.dark-mode .review-card {
  background-color: #1E1E24;
  border-color: #333333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.dark-mode .card-content h3,
body.dark-mode .feature-card h3,
body.dark-mode .section-header h2,
body.dark-mode .reviewer-info h4 {
  color: var(--primary-turquoise);
}
body.dark-mode .card-content p,
body.dark-mode .feature-card p,
body.dark-mode .review-text,
body.dark-mode .section-header p,
body.dark-mode .reviewer-info span {
  color: #a0aec0;
}
body.dark-mode .card-footer {
  border-color: #333333;
}

body.dark-mode .cta-form input {
  background-color: #1E1E24;
  color: #E8E8E8;
}

/* Theme Toggle Button Animation */
.theme-toggle:hover {
  color: var(--primary-turquoise);
  transform: scale(1.1);
}
.theme-toggle.rotate {
  transform: rotate(360deg);
}

/* Page Transition Layer */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--primary-blue);
  z-index: 1000000;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
}
.page-transition.active {
  transform: translateY(0);
}
