@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1a5b6e;
  --secondary-color: #4e8f81;
  --accent-color: #699e63;
  --bg-color: #f7fbfa;
  --bg-card: #ffffff;
  --text-dark: #18262a;
  --text-light: #596b71;
  --shadow-sm: 0 4px 12px rgba(26, 91, 110, 0.08);
  --shadow-md: 0 12px 24px rgba(26, 91, 110, 0.12);
  --shadow-lg: 0 24px 48px rgba(26, 91, 110, 0.16);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --font-family: 'Outfit', sans-serif;
}

body, html {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  max-width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header */
.navbar-custom {
  background: rgba(20, 20, 20, 0.35); /* Elegant dark glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1400px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1050;
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 8px;
  padding: 8px 16px !important;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
  border-radius: 20px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 70%;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
}
.header-actions {
  display: flex;
  align-items: center;
}
.header-icon {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.header-icon:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}
.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: #558550;
}
.btn-secondary {
  background-color: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}
.btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 4rem;
}
.footer-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-link {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 0.8rem;
}
.footer-link:hover {
  color: white;
}

/* Utilities */
.radius-lg { border-radius: var(--radius-lg); }
.radius-md { border-radius: var(--radius-md); }
.radius-sm { border-radius: var(--radius-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
/* Hero Carousel */
.hero-carousel {
  position: relative;
  min-height: 85vh;
  height: 85vh;
}
.hero-carousel .carousel-item {
  height: 85vh;
  position: relative;
}
.carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(26,91,110,0.5) 100%);
  z-index: 1;
}
.hero-carousel .carousel-caption {
  z-index: 2;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 0;
  right: 0; left: 0; /* Override default bootstrap boundaries */
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
  margin-top: -10vh;
}
.hero-subtitle {
  font-family: 'Outfit', cursive;
  font-size: 3rem;
  color: #ffc107;
  font-weight: 500;
  margin-bottom: -15px;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: white;
  word-wrap: break-word;
}
.hero-text {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Search Widget */
.search-widget {
  background: white;
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: -45px;
  position: relative;
  z-index: 20;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.search-field {
  flex: 1;
  min-width: 100px;
  padding: 10px 15px;
  border-right: 1px solid #eee;
}
.search-field:last-of-type { border: none; }
.search-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.search-field select {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
}
.search-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}
.search-btn:hover { background: #558550; }

/* Steps Section */
.step-card {
  padding: 40px 30px;
  border-radius: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-10px); }
.step-1 { background: linear-gradient(135deg, #5c998c, #3b7266); }
.step-2 { background: linear-gradient(135deg, #87adba, #5e8491); }
.step-3 { background: linear-gradient(135deg, #1a5b6e, #0e3b48); }

.step-icon {
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.2;
  position: absolute;
  bottom: 10px; right: 20px;
}

/* Destination Cards */
.dest-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
  display: block; /* makes it clickable */
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dest-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover .dest-img { transform: scale(1.05); }
.dest-body { padding: 20px; }
.dest-tag {
  background: rgba(105,158,99,0.1);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}
.dest-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.dest-meta {
  display: flex; justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Filter Pills */
.filter-pill {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  box-shadow: 0 -4px 12px rgba(26, 91, 110, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  z-index: 1040;
}
.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  gap: 4px;
  text-decoration: none;
  width: 20%;
}
.mobile-bottom-nav .nav-item i {
  font-size: 1.25rem;
  transition: all 0.2s ease;
}
.mobile-bottom-nav .nav-item.active {
  color: var(--primary-color);
}
.mobile-bottom-nav .nav-item.active i {
  color: var(--accent-color);
}
.mobile-bottom-nav .nav-item:hover {
  color: var(--primary-color);
}

/* Ensure body has padding bottom on mobile so content isn't hidden behind the nav bar */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 70px;
  }
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 110px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
}

/* Phone Floating Icon */
.phone-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #0d6efd;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.phone-float:hover {
  background-color: #0b5ed7;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 991.98px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 150px; /* Above the phone float */
    right: 20px;
    font-size: 24px;
  }
  .phone-float {
    width: 50px;
    height: 50px;
    bottom: 90px; /* Above the mobile bottom nav */
    right: 20px;
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .navbar-custom {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .navbar-custom .container-fluid {
    justify-content: center !important;
  }
}
