/* =========================================
   JAWA TIMUR OUTDOOR - CUSTOM STYLES
   Tailwind CSS Customization
   Theme: Modern Orange
   ========================================= */

/* DISABLE PRELOADER */
#preloader, #status {
  display: none !important;
}

/* DISABLE LIGHTBOX LOADER */
.lb-loader, .lb-nav, .lb-dataContainer, .lb-outerContainer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
.lightboxOverlay {
  display: none !important;
}

/* Custom Color Palette */
:root {
  --primary-orange: #FF6B35;
  --primary-orange-dark: #E55A2B;
  --primary-orange-light: #FF8C61;
  --secondary-orange: #FFA559;
  --accent-orange: #FFD93D;
  --dark-gray: #2D3748;
  --light-gray: #F7FAFC;
  --text-primary: #1A202C;
  --text-secondary: #718096;
}

/* Smooth Scrolling */
html { scroll-behavior: smooth; }

/* Custom Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-custom { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }

.animate-fadeInUp { animation: fadeInUp 0.8s ease-out; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.8s ease-out; }
.animate-slideInRight { animation: slideInRight 0.8s ease-out; }
.animate-pulse-custom { animation: pulse-custom 2s infinite; }

/* Lazy Loading Placeholder */
img[loading="lazy"] { 
  opacity: 1; 
  transition: opacity 0.3s ease-in;
}
img { 
  max-width: 100%; 
  height: auto; 
  display: block;
}
.lazyload, .lazyloading { opacity: 0; }
.lazyloaded { opacity: 1; transition: opacity 0.3s; }

/* Custom Gradient Backgrounds */
.gradient-orange { background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%); }
.gradient-orange-light { background: linear-gradient(135deg, var(--primary-orange-light) 0%, var(--accent-orange) 100%); }
.gradient-dark { background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%); }

/* Glass Morphism Effect */
.glass-effect { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); }
.glass-dark { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); }

/* Custom Button Styles */
.btn-primary { background: var(--primary-orange); color: white; padding: 12px 32px; border-radius: 8px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-orange-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3); }
.btn-secondary { background: transparent; color: var(--primary-orange); padding: 12px 32px; border-radius: 8px; font-weight: 600; border: 2px solid var(--primary-orange); transition: all 0.3s; cursor: pointer; }
.btn-secondary:hover { background: var(--primary-orange); color: white; }

/* Mobile Button Position Fix - Raise buttons to avoid slider dots overlap */
@media (max-width: 768px) {
  .slide-carousel .relative .container .max-w-3xl .flex {
    margin-bottom: 60px;
  }
}

/* Card Styles */
.card-modern { background: white; border-radius: 16px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); transition: all 0.3s; overflow: hidden; }
.card-modern:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.card-overlay { position: relative; overflow: hidden; }
.card-overlay::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%); opacity: 0; transition: opacity 0.3s; z-index: 1; }
.card-overlay:hover::before { opacity: 1; }

/* Navigation Styles */
.navbar-modern { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); transition: all 0.3s; }
.navbar-scrolled { background: rgba(255, 255, 255, 1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.nav-link { color: var(--text-primary); font-weight: 500; transition: color 0.3s; padding: 8px 16px; }
.nav-link:hover, .nav-link.active { color: var(--primary-orange); }

/* Top Bar Social Icons */
.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  transition: all 0.3s;
}
.top-bar-social a:hover {
  transform: scale(1.2);
}
.top-bar-social i {
  font-size: 18px !important;
  line-height: 1;
  display: block !important;
  visibility: visible !important;
}

/* Ensure Font Awesome icons display */
.fa, .fab, .fas, .far, .fal {
  display: inline-block !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Footer Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
  font-size: 18px;
}
.social-icon:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}
.social-icon i {
  color: white !important;
  font-size: 18px !important;
}

/* WhatsApp Floating Button */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25D366; color: white; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* Scroll to Top Button */
.scroll-top { position: fixed; bottom: 100px; right: 30px; width: 45px; height: 45px; background: var(--primary-orange); color: white; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 999; }
.scroll-top i { font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.scroll-top:hover { background: var(--primary-orange-dark); transform: translateY(-3px); }
.scroll-top.show { display: flex; }

/* Section Styles */
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 4px; background: var(--primary-orange); border-radius: 2px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }

/* Hero Section */
.hero-section { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(255, 165, 89, 0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; }

/* Image Hover Effects */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.5s ease; }
.img-zoom:hover img { transform: scale(1.1); }

/* Badge Styles */
.badge-orange { background: var(--primary-orange); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; }
.badge-outline { border: 2px solid var(--primary-orange); color: var(--primary-orange); padding: 4px 12px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; }

/* Loading Spinner */
.spinner { border: 3px solid rgba(255, 107, 53, 0.1); border-radius: 50%; border-top: 3px solid var(--primary-orange); width: 40px; height: 40px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Responsive Typography */
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .hero-section { min-height: 70vh; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
  .scroll-top { bottom: 80px; right: 20px; }
}

/* Text Utilities */
.text-gradient-orange { background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Box Shadow Utilities */
.shadow-orange { box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2); }
.shadow-orange-lg { box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3); }

/* Border Utilities */
.border-orange { border-color: var(--primary-orange); }

/* Skeleton Loading */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s ease-in-out infinite; }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Modal Improvements */
.modal-overlay { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); }

/* Form Styles */
.form-input { width: 100%; padding: 12px 16px; border: 2px solid #E2E8F0; border-radius: 8px; transition: all 0.3s; font-size: 1rem; }
.form-input:focus { border-color: var(--primary-orange); outline: none; box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1); }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-primary); }

/* Service Card Icon */
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; margin-bottom: 1rem; }

/* Testimonial Styles */
.testimonial-card { background: white; padding: 2rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: -20px; left: 20px; font-size: 80px; color: var(--primary-orange); opacity: 0.2; font-family: Georgia, serif; }

/* Stats Counter */
.stats-number { font-size: 3rem; font-weight: 700; color: var(--primary-orange); line-height: 1; }
.stats-label { font-size: 1rem; color: var(--text-secondary); margin-top: 0.5rem; }

/* Footer Styles */
.footer-modern { background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%); color: white; }
.footer-link { color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.footer-link:hover { color: var(--primary-orange); }

/* Social Icons */
.social-icon { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; transition: all 0.3s; margin: 0 5px; }
.social-icon:hover { background: var(--primary-orange); transform: translateY(-3px); }

/* Breadcrumb */
.breadcrumb-item { display: inline-block; color: var(--text-secondary); }
.breadcrumb-item::after { content: '/'; margin: 0 8px; }
.breadcrumb-item:last-child::after { content: ''; }
.breadcrumb-item.active { color: var(--primary-orange); font-weight: 600; }

/* Price Tag */
.price-tag { font-size: 2rem; font-weight: 700; color: var(--primary-orange); }
.price-old { text-decoration: line-through; color: var(--text-secondary); font-size: 1.2rem; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; } }

/* Utility Classes */
.text-shadow { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
.hover-scale { transition: transform 0.3s; }
.hover-scale:hover { transform: scale(1.05); }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }

/* =========================================
   OWL CAROUSEL CUSTOM NAVIGATION
   ========================================= */
.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.9) !important;
  color: white !important;
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.3s;
  pointer-events: auto;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-carousel .owl-nav button.owl-prev {
  left: 20px;
}

.owl-carousel .owl-nav button.owl-next {
  right: 20px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: var(--primary-orange-dark) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span {
  font-size: 28px;
  line-height: 1;
}

/* Owl Dots */
.owl-carousel .owl-dots {
  text-align: center;
  padding-top: 15px;
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 10;
}

.owl-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s;
}

.owl-carousel .owl-dot.active {
  background: var(--primary-orange);
  width: 30px;
  border-radius: 10px;
}

.owl-carousel .owl-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .owl-carousel .owl-nav button.owl-prev {
    left: 10px;
  }
  
  .owl-carousel .owl-nav button.owl-next {
    right: 10px;
  }
}
