/* =====================================
   GLOBAL STYLES — LUX ISLAND DESIGNS
   ===================================== */

/* Smooth scrolling for navigation */
html, body {
  scroll-behavior: smooth;
  background-color: #000;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Brand gold utility */
.text-gold { color: #d4af37; }
.bg-gold { background-color: #d4af37; }

/* Section layout consistency */
section {
  position: relative;
  overflow: hidden;
}

/* =====================================
   HERO SECTION — FADE + KEN BURNS EFFECT
   ===================================== */

/* Multi-image fade animation (5-second cycle for 6 images) */
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeHero 42s infinite;
  background-size: cover;
  background-position: center;
  transition: opacity 6s ease-in-out, transform 10s ease-in-out;
}





/* Add a subtle zoom (Ken Burns motion) */
.hero-bg.fade1 { animation-delay: 0s; }
.hero-bg.fade2 { animation-delay: 5s; }
.hero-bg.fade3 { animation-delay: 10s; }
.hero-bg.fade4 { animation-delay: 15s; }
.hero-bg.fade5 { animation-delay: 20s; }
.hero-bg.fade6 { animation-delay: 25s; }

@keyframes fadeHero {
  /* slower fade-in/out for smoother blending */
  0%, 16.66%, 100%   { opacity: 0; transform: scale(1); }
  2.5%, 14.16%       { opacity: 1; transform: scale(1.1); }
}



/* Optional Ken Burns classes (for static hero variants) */
.kenburns {
  transform: scale(1);
  transition: transform 10s ease-in-out;
}

.kenburns.active {
  transform: scale(1.35);
}

.kenburns[data-dir="left"].active {
  transform: scale(1.35) translateX(-2%);
}

.kenburns[data-dir="right"].active {
  transform: scale(1.35) translateX(2%);
}

.kenburns[data-dir="up"].active {
  transform: scale(1.35) translateY(-2%);
}

.kenburns[data-dir="down"].active {
  transform: scale(1.35) translateY(2%);
}

/* =====================================
   SWIPER COMPONENT STYLING
   ===================================== */
.swiper-pagination-bullet {
  background-color: #d4af37 !important;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ffffff !important;
  opacity: 1;
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  color: #d4af37 !important;
  transition: transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.15);
}

/* =====================================
   BUTTON STYLING
   ===================================== */
.btn-gold {
  background-color: #d4af37;
  color: #000;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-gold:hover {
  transform: scale(1.05);
  background-color: #e5c65a;
}

/* =====================================
   GENERAL UTILITIES
   ===================================== */
img {
  user-select: none;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

p {
  line-height: 1.7;
  color: #ccc;
}

a {
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: #d4af37;
}

/* =====================================
   GALLERY HOVER EFFECT
   ===================================== */
.gallery-item img {
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* =====================================
   RESPONSIVE FIXES
   ===================================== */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  .btn-gold {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero-bg {
    animation: fadeHeroMobile 30s infinite;
  }
}

@keyframes fadeHeroMobile {
  0%, 16.66%, 100% { opacity: 0; transform: scale(1); }
  3.33%, 13.33% { opacity: 1; transform: scale(1.05); }
}

/* =====================================
   FOOTER STYLING
   ===================================== */
footer {
  background: #0a0a0a;
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #222;
}

footer a {
  color: #d4af37;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}
