h1 { font-family: Arial, Helvetica, sans-serif; }

/* Category Filter Buttons - RED/NAVY Theme */
.category-filter {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  border: none;
  cursor: pointer;
}

.category-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.category-filter.active {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.5);
}

/* Smooth transitions for all interactive elements */
* {
  transition: all 0.2s ease-in-out;
}

/* Ensure no broken images */
img {
  object-fit: cover;
}

img[onerror] {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Mobile menu smooth animation */
#mobileMenu {
  transition: max-height 0.3s ease-in-out;
}

/* Hero slider fade effect */
.hero-slide {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

/* Floating buttons mobile optimization */
@media (max-width: 768px) {
  .floating-btn {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
  
  .floating-btn i {
    font-size: 1.5rem !important;
  }
}

/* ============================================
   MOBILE RESPONSIVENESS FIXES
   ============================================ */

/* Mobile Package Cards */
@media (max-width: 768px) {
  /* Taller images on mobile for better visibility */
  .package-card-image {
    height: 16rem !important; /* h-64 */
  }
  
  /* Larger text for readability */
  .package-card h3 {
    font-size: 1.5rem !important;
  }
  
  /* Full-width buttons on mobile */
  .package-card button {
    width: 100% !important;
  }
  
  /* Stack filter buttons vertically */
  .filter-buttons {
    flex-direction: column !important;
  }
  
  .filter-buttons button {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Tours grid - single column on mobile */
  #tours-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Admin dashboard - hide table, show cards */
  .admin-booking-table {
    display: none !important;
  }
  
  .admin-booking-cards {
    display: block !important;
  }
  
  /* Mobile booking card style */
  .booking-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .booking-card-body {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  .booking-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .booking-actions button {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

/* Tablet responsiveness */
@media (min-width: 768px) and (max-width: 1024px) {
  .package-card-image {
    height: 14rem !important;
  }
  
  #tours-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Ensure modal is mobile-friendly */
@media (max-width: 640px) {
  #packageModal > div {
    margin: 1rem;
    max-height: 95vh;
  }
  
  #packageModal h2 {
    font-size: 1.75rem !important;
  }
  
  #packageModal .text-5xl {
    font-size: 2.5rem !important;
  }
}

/* Video overlay smooth fade */
#videoOverlay {
  transition: opacity 0.3s ease-in-out;
}

/* Little Larry Carousel */
.larry-carousel-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.larry-carousel {
  position: relative;
  overflow: hidden;
  display: block !important;
}

.larry-carousel-slide {
  display: none;
  animation: larryFadeIn 0.5s ease-in-out;
}

.larry-carousel-slide.active {
  display: block !important;
}

@keyframes larryFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.larry-carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.larry-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.larry-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.larry-carousel-dot:hover {
  background: rgba(255,255,255,0.8);
}

.larry-carousel-dot.active {
  background: #fbbf24;
  width: 30px;
  border-radius: 6px;
}

