/* ======================
   BASE STYLES 
   ====================== */
body {
  padding-top: 70px;
  transition: padding-top 0.3s ease;
  overflow-x: hidden;
}

/* ======================
   PRELOADER 
   ====================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  text-align: center;
}

.spinner {
  width: 70px;
  height: 70px;
  position: relative;
  margin: 0 auto 20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ff6b00;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

.loading-text {
  font-family: 'Poppins', sans-serif;
  color: #333;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}

/* Replace announcement bar styles with: */
.popup-notice .modal-header {
  background: #AD6C29;
  color: white;
}

.popup-notice .modal-content {
  border: 2px solid #AD6C29;
}

.popup-notice .btn-primary {
  background-color: #AD6C29;
  border-color: #AD6C29;
}

.popup-notice .btn-primary:hover {
  background-color: #E65C00;
  border-color: #E65C00;
}

/* Adjust preloader z-index to appear above popup */
#preloader {
  z-index: 999999;
}

/* ======================
   NAVIGATION 
   ====================== */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  margin-right: 0 !important;
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #AD6C29;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.logo-img {
  height: 40px;
  max-width: 100%;
}

.navbar-nav .nav-item.px-0 {
  color: rgba(0,0,0,0.3);
  pointer-events: none;
  user-select: none;
}

.navbar-nav .nav-item.mx-2 {
  margin-left: 0.8rem !important;
  margin-right: 0.8rem !important;
}

/* ======================
   HERO CAROUSEL 
   ====================== */
.hero-img {
  height: 70vh;
  object-fit: cover;
  width: 100%;
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.btn-custom {
  background-color: #AD6C29;
  border: none;
  color: white;
  min-width: 120px;
}

.btn-custom:hover {
  background-color: #e65c00;
  color: white;
}

/* ======================
   DESTINATIONS CAROUSEL 
   ====================== */
.carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

.carousel-nav-left,
.carousel-nav-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #000000aa;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
}

.carousel-nav-left { left: 10px; }
.carousel-nav-right { right: 10px; }

.card img {
  height: 180px;
  object-fit: cover;
}

/* ======================
   ABOUT & FEATURES 
   ====================== */
.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.feature-box {
  background-color: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-box .icon i {
  font-size: 2.5rem;
  color: #AD6C29;
  transition: color 0.3s ease;
}

.feature-box:hover .icon i {
  color: #E65C00;
}

/* ======================
   TOUR CARDS 
   ====================== */
.tour-card {
  transition: transform 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.tour-card img {
  height: 250px;
  object-fit: cover;
}

.price-tag {
  font-size: 1.1rem;
  font-weight: bold;
  color: #28a745;
}

.custom-btn {
  background-color: #AF702F;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
  padding: 8px 16px;
}

.custom-btn:hover {
  background-color: #e65c00;
}

/* ======================
   SPECIAL OFFERS 
   ====================== */
.offer-card {
  transition: transform 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card img {
  height: 250px;
  object-fit: cover;
}

.price-group {
  font-size: 1rem;
}

.old-price {
  color: #888;
  text-decoration: line-through;
  margin-right: 10px;
}

.offer-price {
  color: #dc3545;
  font-weight: bold;
}

/* ======================
   TESTIMONIALS 
   ====================== */
.testimonial-card {
  border-radius: 15px;
  background-color: #fff;
  transition: transform 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.star-rating {
  color: #f8d64e;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.social-icons-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.social-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}

/* ======================
   PARTNERS 
   ====================== */
.partner-item img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.partner-item:hover img {
  filter: grayscale(0%);
}

/* ======================
   FOOTER 
   ====================== */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-logo {
  height: 40px;
  width: auto;
}
/* Newsletter Button */
.newsletter-btn {
  background-color: #AD6C29 !important;
  border-color: #ff6b00 !important;
}

.newsletter-btn i {
  color: white !important;
}

.newsletter-btn:hover {
  background-color: #e65c00 !important;
  border-color: #e65c00 !important;
}
.social-icons a {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  background: #AD6C29;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.social-icons a:hover {
  background: #1C1C1C;
  transform: translateY(-3px);
}

.payment-icon {
  height: 35px;
  margin-right: 10px;
  opacity: 0.7;
  transition: all 0.3s;
}

.payment-icon:hover {
  opacity: 1;
}

.copyright-section {
  background-color: #AD6C29;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ======================
   WHATSAPP BUTTON 
   ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ======================
   MODALS 
   ====================== */
.modal-login-btn,
.modal-register-btn {
  background-color: #AD6C29 !important;
  color: white !important;
  transition: all 0.3s;
  width: 100%;
  padding: 10px;
  font-weight: 500;
}

.modal-login-btn:hover,
.modal-register-btn:hover {
  background-color: #E65C00 !important;
  transform: translateY(-1px);
}

/* ======================
   RESPONSIVE STYLES 
   ====================== */
@media (max-width: 992px) {
  .navbar-collapse.justify-content-center {
    position: static;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-img {
    height: 60vh;
  }
  
  .carousel-caption {
    bottom: 20%;
    left: 5%;
    right: 5%;
    width: auto;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem !important;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-caption .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .announcement-bar {
    font-size: 13px;
  }
  
  .carousel-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 56px;
  }
  
  .navbar-brand img {
    height: 30px;
  }
  
  .tour-card img,
  .offer-card img {
    height: 200px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .announcement-bar .container {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  
  .announcement-text {
    padding-right: 0;
    margin-bottom: 10px;
  }
  
  footer .col-md-6,
  footer .col-lg-4 {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .social-icons,
  .payment-methods {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #special-offers .carousel-control-prev,
  #special-offers .carousel-control-next {
    top: 30%;
    height: 40px;
    width: 40px;
  }
  .offer-card {
    margin-bottom: 20px;
  }
  .offer-card .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}