/* ATUI - Custom Styles */
:root {
  --thm-primary: #29B506;
  --thm-primary-rgb: 41, 181, 6;
  --thm-black: #313041;
  --thm-black-rgb: 49, 48, 65;
  --thm-base: #ffffff;
  --thm-gray: #787780;
  --thm-border-radius: 8px;
  --thm-font: 'DM Sans', sans-serif;
  --thm-page-bg: #ffffffd4;
  color-scheme: light only;
}

/* Page background utility */
.page-bg {
  background-color: var(--thm-page-bg);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--thm-font);
  color: #313041;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader img {
  animation: flipInY 2s infinite;
}
@keyframes flipInY {
  0% { transform: perspective(400px) rotateY(90deg); opacity: 0; }
  40% { transform: perspective(400px) rotateY(-10deg); }
  70% { transform: perspective(400px) rotateY(10deg); }
  100% { transform: perspective(400px) rotateY(0deg); opacity: 1; }
}

/* Top bar */
.top-bar {
  background-color: var(--thm-black);
  font-size: 13px;
}
.top-bar a {
  transition: color 0.3s;
}
.top-bar a:hover {
  color: var(--thm-primary);
}

/* Main Nav */
.main-nav {
  position: relative;
  background: #fff;
  z-index: 100;
  transition: all 0.3s;
}
.main-nav.sticky {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.nav-link {
  color: var(--thm-gray);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
  padding: 10px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--thm-black);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--thm-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  border: none;
  border-radius: var(--thm-border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 0;
  min-width: 220px;
  padding: 0;
  overflow: hidden;
  z-index: 99;
  transition: opacity 500ms ease, visibility 500ms ease;
}
.dropdown-group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-item {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--thm-black);
  transition: all 0.3s;
}
.dropdown-item:hover {
  background: var(--thm-primary);
  color: #fff;
}
.dropdown-item + .dropdown-item {
  border-top: 1px solid rgba(49,48,65,0.1);
}

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-panel {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px;
  background: var(--thm-black);
  z-index: 1000;
  padding: 30px 20px;
  overflow-y: auto;
  transition: right 0.3s;
}
.mobile-menu-panel.active {
  right: 0;
}
.mobile-menu-panel a {
  color: #fff;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}
.mobile-menu-panel a:hover {
  color: var(--thm-primary);
}
.mobile-submenu {
  display: none;
  padding-left: 15px;
}
.mobile-submenu.active {
  display: block;
}
.mobile-submenu a {
  font-size: 14px;
  padding: 8px 0;
}

/* Page Header */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(49,48,65,0.7);
}
.page-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-header .container > * {
  width: 25%;
  text-align: center;
}
.page-header .container.page-header-full > * {
  width: auto;
}
.page-header h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}
.breadcrumb-link {
  color: var(--thm-primary);
}
.breadcrumb-link:hover {
  color: #fff;
}

/* Hero Slider */
.hero-slide {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(49,48,65,0.65);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title-script {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--thm-primary);
  font-size: 3rem;
}

/* Buttons */
.btn-primary-custom {
  background: var(--thm-primary);
  color: #fff;
  padding: 10px 30px;
  border-radius: var(--thm-border-radius);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary-custom:hover {
  background: var(--thm-black);
  color: #fff;
}
.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  padding: 8px 25px;
  border-radius: var(--thm-border-radius);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.btn-outline-light:hover {
  background: var(--thm-primary);
  border-color: var(--thm-primary);
  color: #fff;
}

/* Section title */
.section-subtitle {
  color: var(--thm-primary);
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.5rem;
}
.section-title {
  color: var(--thm-black);
  font-weight: 700;
  font-size: 2.5rem;
}

/* Destination cards */
.dest-card {
  position: relative;
  border-radius: var(--thm-border-radius);
  overflow: hidden;
  cursor: pointer;
}
.dest-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s;
}
.dest-card:hover img {
  transform: scale(1.08);
}
.dest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(49,48,65,0.8) 0%, rgba(49,48,65,0.2) 50%, transparent 100%);
  z-index: 1;
}
.dest-card-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}
.dest-card-label {
  color: #ffffff;
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.9375rem!important;
}
.dest-card-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
}
.dest-card-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s;
}
.dest-card:hover .dest-card-btn {
  opacity: 1;
  transform: translateX(0);
}
.faq-dest-sidebar .dest-card {
  transition: box-shadow 0.3s;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.faq-dest-sidebar .dest-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.faq-dest-sidebar .dest-card img {
  height: 150px;
}

/* Service cards */
.service-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--thm-border-radius);
  transition: all 0.3s;
}
.service-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
  color: #fff;
  background: var(--thm-primary);
}

/* CTA Section */
.cta-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(49,48,65,0.75);
}

/* Footer */
.site-footer {
  background: var(--thm-black);
}
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.footer-link {
  color: #a9a8b6;
  transition: color 0.3s;
  font-size: 14px;
}
.footer-link:hover {
  color: var(--thm-primary);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--thm-primary);
}

/* Contact form */
.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e3e3e3;
  border-radius: var(--thm-border-radius);
  font-size: 15px;
  transition: border 0.3s;
  background: #f8f8f8;
}
.form-input:focus {
  border-color: var(--thm-primary);
  outline: none;
  background: #fff;
}
textarea.form-input {
  min-height: 130px;
  resize: vertical;
}

/* intl-tel-input */
.iti {
  width: 100%;
  display: block;
}
.iti__selected-country {
  padding-left: 14px;
}
.iti__selected-dial-code {
  font-size: 15px;
  color: var(--thm-gray);
}
.iti input.iti__tel-input.form-input {
  background: #f8f8f8;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e3e3e3;
  padding: 20px 0;
  cursor: pointer;
}
.faq-question {
  font-weight: 700;
  font-size: 18px;
  color: var(--thm-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--thm-gray);
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--thm-primary);
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 15px;
}

/* Stats */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--thm-primary);
}
.stat-label {
  color: var(--thm-gray);
  font-size: 16px;
}

/* Testimonials */
.testimonial-card {
  background: #f8f8f8;
  border-radius: var(--thm-border-radius);
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.testimonial-text {
  color: var(--thm-gray);
  font-style: italic;
  line-height: 1.8;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--thm-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--thm-black);
  color: #fff;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover {
  background: var(--thm-black);
  color: #fff;
  transform: translateY(-3px);
}

/* Info box on destination pages */
.info-box {
  background: #f8f8f8;
  border-radius: var(--thm-border-radius);
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
}
.info-box:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.info-box-icon {
  font-size: 36px;
  color: var(--thm-primary);
  margin-bottom: 10px;
}

/* Destination detail page */
.dest-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.dest-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(49,48,65,0.6);
}
.dest-price {
  color: var(--thm-primary);
  font-size: 2rem;
  font-weight: 700;
}

/* Contact info card */
.contact-info-card {
  background: #f3f4f6;
  border-radius: var(--thm-border-radius);
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.contact-info-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-icon {
  color: var(--thm-primary);
  font-size: 28px;
  margin-bottom: 15px;
}

/* Alerts */
.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  border-radius: var(--thm-border-radius);
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}
.alert-body {
  flex: 1;
}
.alert.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}
.alert.alert-success .alert-icon {
  color: #0f5132;
}
.alert.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.alert.alert-danger .alert-icon {
  color: #842029;
}
.alert.alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}
.alert.alert-warning .alert-icon {
  color: #664d03;
}
.alert.alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}
.alert.alert-info .alert-icon {
  color: #055160;
}
.alert.alert-dismissible {
  padding-right: 3rem;
}
.alert .alert-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1.25rem;
  background: none;
  border: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}
.alert .alert-close:hover {
  opacity: 0.75;
}

/* Destinations Carousel */
.dest-carousel-track {
  will-change: transform;
}
.video-mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--thm-black);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.video-mute-btn:hover {
  background: var(--thm-primary);
  color: #fff;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  left: auto;
  right: auto;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--thm-black);
  font-size: 16px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.carousel-arrow:hover {
  background: var(--thm-primary);
  color: #fff;
}
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dot.active {
  background: var(--thm-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .page-header h1 { font-size: 32px; }
  .section-title { font-size: 1.8rem; }
  .hero-title-script { font-size: 2rem; }
  .dest-card img { height: 250px; }
  .hero-slide { min-height: 60vh; }
  .hero-video { height: 400px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
}
