/* Custom CSS for AirBorneo Website */

/* General Enhancements */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.btn-outline-primary:hover {
  background: linear-gradient(to right, #CF0820, #FCD20E);
  border-color: #CF0820 !important;
  color: white;
}

/* Image handling */
.responsive-image {
  max-width: 100%;
  height: auto;
}

.image-loading {
  min-height: 200px;
  background-color: #f8f9fa;
  position: relative;
}

.image-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 3px solid #f3f3f3;
  border-top-color: #0d6efd;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Gradients */
.gradient-primary {
  background: linear-gradient(135deg, #00a1e4 0%, #0062cc 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.gradient-success {
  background: linear-gradient(135deg, #28a745 0%, #20913a 100%);
}

/* Text Shadow */
.text-shadow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Button Hover Effects */
.hover-shadow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Image hover effects */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* Custom Tab Styling */
.nav-tabs-custom .nav-link {
  color: #6c757d;
  background-color: transparent;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-tabs-custom .nav-link.active,
.nav-tabs-custom .nav-link:hover {
  color: #0d6efd;
  background-color: transparent;
  border-bottom-color: #0d6efd;
}

/* Destination Card Styling */
.destination-card {
  transition: all 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.destination-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.overlay-gradient {
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  transition: all 0.3s ease;
}

.destination-card:hover .overlay-gradient {
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
}

/* Region Card Styling */
.region-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.region-card:hover {
  background-color: #f8f9fa;
}

.region-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #0d6efd;
}

.destination-link {
  display: flex;
  align-items: center;
  color: #6c757d;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.destination-link:hover {
  color: #0d6efd;
  transform: translateX(5px);
}

/* Hero Section Enhancements */
.hero-content {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Image Gallery Styling */
.gallery-img {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Booking Widget Styling */
.booking-tab.active {
  color: #0d6efd !important;
  background-color: #fff !important;
  border-bottom: 3px solid #0d6efd !important;
}

/* Premium Lounge Styling */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  margin-bottom: 1rem;
  font-size: 24px;
}

/* Carousel Enhancements */
.carousel-caption-custom {
  text-align: left;
  left: 10%;
  right: 10%;
  bottom: 20%;
  max-width: 500px;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
}

/* CTA Section Enhancement */
.cta-section {
  background: linear-gradient(135deg, #0062cc 0%, #0a84c7 100%);
}

/* Footer Enhancements */
.footer-link {
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #0d6efd;
  text-decoration: none;
  transform: translateX(5px);
}

/* Social Media Icons */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: #6c757d;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-5px);
}

/* Hero image */
.hero-img {
  object-fit: cover;
  min-height: 40vh;
  max-height: 70vh;
  width: 100%;
}

/* Lazy loading */
[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

[loading="lazy"].loaded {
  opacity: 1;
} 