/* ===== CSS Custom Properties: Default Amber/Gold Theme ===== */
:root {
  --accent-50: #fffbeb;
  --accent-100: #fef3c7;
  --accent-200: #fde68a;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-700: #b45309;
  --accent-800: #92400e;
  --accent-900: #78350f;
  --accent-rgb: 212, 168, 67;
  --pagination-bg: #d4a843;
  --text-gradient: linear-gradient(135deg, #f5d060 0%, #d4a843 30%, #f0c040 60%, #b8860b 80%, #f5d060 100%);
  --btn-gradient: linear-gradient(135deg, #b8860b, #d4a843);
  --btn-shadow: rgba(212, 168, 67, 0.5);
  --btn-shadow-hover: rgba(212, 168, 67, 0.7);
  --pulse-color: rgba(212, 168, 67, 0.7);
}

/* ===== Body & Global ===== */
body {
  font-family: 'Tajawal', sans-serif;
  opacity: 1;
  overflow-x: hidden;
  position: relative;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

/* ===== Unified Navbar ===== */
.unified-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nav-scrolled {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
}

/* ===== Hero ===== */
.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide,
.innerHeroSwiper,
.innerHeroSwiper .swiper-wrapper,
.innerHeroSwiper .swiper-slide {
  height: 100% !important;

  
  
}

.heroImgSwiper,
.heroImgSwiper .swiper-wrapper,
.heroImgSwiper .swiper-slide,
.heroImgSwiper2,
.heroImgSwiper2 .swiper-wrapper,
.heroImgSwiper2 .swiper-slide {
  width: 100%;
  height: 100%;
}

.hero-slider-img {
  transform: scale(1.12);
  transition: transform 12s ease-out;
}

.swiper-slide-active .hero-slider-img {
  transform: scale(1);
  
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.4;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 32px;
  border-radius: 4px;
  background: var(--pagination-bg);
}

.hero-grid-overlay {
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ؟؟؟؟؟؟؟؟؟؟؟؟؟؟ */


.heroSwiper,
.innerHeroSwiper {
    position: absolute !important;
    inset: 0;
    z-index: 0;
}

.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide,
.innerHeroSwiper .swiper-wrapper,
.innerHeroSwiper .swiper-slide {
    height: 100% !important;
}

.heroSwiper .swiper-slide,
.innerHeroSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.heroSwiper img,
.innerHeroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ */

/* ===== Text Gradient Animation ===== */
.text-gradient-anim {
  background: var(--text-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Glowing Button ===== */
.btn-glow {
  position: relative;
  overflow: hidden;
  background: var(--btn-gradient);
  box-shadow: 0 0 20px var(--btn-shadow), 0 8px 32px var(--btn-shadow);
  transition: all 0.4s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -60%; }
  100% { left: 130%; }
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px var(--btn-shadow-hover), 0 16px 48px var(--btn-shadow-hover);
}

.btn-outline-anim {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: all 0.4s ease;
}

.btn-outline-anim:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* ===== Floating Cards ===== */
.float-card {
  animation: floatY 4s ease-in-out infinite;
}

.float-card-delay {
  animation: floatY 4s ease-in-out infinite 2s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== Ring Spins ===== */
.ring-spin-1 {
  animation: spinRing 20s linear infinite;
}

.ring-spin-2 {
  animation: spinRing 14s linear infinite reverse;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Pulse Dot ===== */
.pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
}

/* ===== Stat Card ===== */
.stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-4px);
}

/* ===== Card Hover ===== */
.card-hover {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ===== Blob Animation ===== */
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ===== Marquee Swiper ===== */
.marquee-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ===== Hero Animate (GSAP initial hidden) ===== */
.hero-animate {
  opacity: 0;
}

#heroBadge, #heroTitle, #heroSubtitle, #heroStats, #heroBtns, #heroVisual {
  opacity: 0;
}

/* ===== Floating WhatsApp & Call Buttons ===== */
.floating-wa {
  animation: floatWa 3s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes floatWa {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { transform: translateY(-10px); box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
}

.floating-call {
  animation: floatCall 3s ease-in-out infinite 1.5s;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
}

@keyframes floatCall {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); }
  50% { transform: translateY(-10px); box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
}

/* ===== Desktop Navbar Spacing ===== */
@media (min-width: 1024px) {
  .navbar-desktop-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .navbar-brand-text {
    font-size: 1.15rem;
    white-space: nowrap;
    letter-spacing: -0.3px;
  }
  .nav-cta-button {
    margin-right: 0.25rem;
  }
}

@media (min-width: 640px) {
  .btn-full-mobile {
    width: auto;
  }
}

/* ===== Floating Cards Visibility Fix ===== */
@media (max-width: 640px) {
  .floating-card-left {
    left: 4px !important;
    top: 5% !important;
  }
  .floating-card-right {
    right: 4px !important;
    top: 40% !important;
  }
  .floating-card-bottom {
    bottom: -20px !important;
  }
}

/* ===== Global Mobile Buttons Fix ===== */
@media (max-width: 639px) {
  a.btn-glow, a.btn-outline-anim,
  section a[class*="px-"][class*="py-"]:not(.unified-nav a) {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .btn-full-mobile {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ===== Gallery ===== */
.infinite-scale {
  animation: infiniteScale 8s ease-in-out infinite alternate;
}

@keyframes infiniteScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* ===== Booking Form ===== */
.booking-card {
  transition: all 0.4s ease;
}
.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(212, 168, 67, 0.15);
}
.booking-input {
  transition: all 0.3s ease;
}
.booking-input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
  background: white;
}
.booking-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
button.booking-btn {
  background: var(--btn-gradient) !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  cursor: pointer;
  color: white;
}
button.booking-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--btn-shadow), 0 8px 32px var(--btn-shadow) !important;
}
button.booking-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.booking-btn .btn-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  animation: bookingShine 3s ease-in-out infinite;
}
@keyframes bookingShine {
  0% { left: -60%; }
  100% { left: 130%; }
}
.booking-message {
  animation: bookingFade 0.4s ease;
}
@keyframes bookingFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.booking-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: bookingSpin 0.6s linear infinite;
  display: inline-block;
}
@keyframes bookingSpin {
  to { transform: rotate(360deg); }
}
