/* ==========================================================================
   AFI Tour and Travels Private Limited - Luxury Brand Stylesheet
   Brand Colors: Dark Emerald Green (#083E30) & Royal Gold (#C59B27)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --brand-green-darker: #041f17;
  --brand-green-dark: #083e30;
  --brand-green: #0f5946;
  --brand-green-light: #167a60;
  --brand-green-subtle: #eef7f4;
  
  --brand-gold-dark: #9a7416;
  --brand-gold: #c59b27;
  --brand-gold-light: #dfb743;
  --brand-gold-bright: #f0cc66;
  --brand-gold-subtle: #fcf8ec;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Prevent horizontal scroll on all viewports */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: #1e293b;
  background-color: #fdfdfd;
  -webkit-tap-highlight-color: transparent;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

.font-serif-luxury {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #083e30;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c59b27;
}

/* Luxury Gradients */
.bg-gold-gradient {
  background: linear-gradient(135deg, #dfb743 0%, #c59b27 50%, #9a7416 100%);
}

.bg-gold-gradient-hover:hover {
  background: linear-gradient(135deg, #e8c65e 0%, #d4aa33 50%, #ad831c 100%);
}

.bg-emerald-gradient {
  background: linear-gradient(135deg, #0f5946 0%, #083e30 60%, #041f17 100%);
}

.bg-emerald-gradient-subtle {
  background: linear-gradient(180deg, rgba(8, 62, 48, 0.04) 0%, rgba(197, 155, 39, 0.04) 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #dfb743 0%, #c59b27 50%, #9a7416 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card-dark {
  background: rgba(8, 62, 48, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 155, 39, 0.25);
}

.glass-card-white {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Shadows */
.shadow-luxury {
  box-shadow: 0 10px 30px -5px rgba(8, 62, 48, 0.08), 0 4px 6px -2px rgba(8, 62, 48, 0.04);
}

.shadow-luxury-hover:hover {
  box-shadow: 0 20px 35px -5px rgba(8, 62, 48, 0.15), 0 10px 10px -5px rgba(197, 155, 39, 0.08);
  transform: translateY(-4px);
}

.shadow-gold-glow {
  box-shadow: 0 0 25px rgba(197, 155, 39, 0.35);
}

/* Hover Zoom Utilities */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.img-zoom-container:hover .img-zoom {
  transform: scale(1.08);
}

/* Slider Custom Styles */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
  transform: scale(1.04);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* Mobile drawer menu transitions */
#mobile-menu {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

#mobile-menu.menu-open {
  transform: translateX(0);
  opacity: 1;
}

#mobile-menu.menu-closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

/* Lightbox Modal */
#gallery-lightbox {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Line Clamp helper */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Floating WhatsApp Button - Luxury Pulse & Perfect Mobile Fit
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45), 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.55), 0 5px 12px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.15;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .floating-whatsapp-container {
    bottom: 18px;
    right: 18px;
  }
  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 26px;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.5);
  }
}
