/* =========================
   MODERN + LUXURY HOME CSS
   Put in: css/home.css (or global.css)
   ========================= */

/* If you already have :root, you can keep yours and remove this */
:root{
  --brand:#0a8cff;
  --ink:#0f172a;
  --muted:#64748b;

  --card:#ffffff;
  --stroke:rgba(15,23,42,.08);

  --shadow: 0 18px 60px rgba(2,6,23,.08);
  --shadow-soft: 0 10px 26px rgba(2,6,23,.06);

  --radius: 22px;
}

.home-lux{
  position: relative;
}

/* ===== Welcome block (luxury, clean) ===== */
.lux-welcome{
  text-align: center;
  padding: 10px 0 14px;
}

.lux-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;

  color: var(--brand);
  background: rgba(10,140,255,.10);
  border: 1px solid rgba(10,140,255,.18);

  margin-bottom: 12px;
}

.lux-title{
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
}

.lux-subtitle{
  margin: 0 auto 14px;
  max-width: 740px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* buttons */
.lux-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lux-btn{
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.lux-btn-outline{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
}

/* ===== Full image slideshow card ===== */
.lux-slider{
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

/* full images */
.lux-img{
  height: clamp(420px, 52vw, 640px);
  width: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

/* Controls: small + premium */
.lux-ctrl{
  width: 12%;
}

/* Dots: tiny + subtle */
.lux-dots{
  margin-bottom: 12px;
}

.lux-dots [data-bs-target]{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  margin: 0 4px;
  opacity: .32;
}

.lux-dots .active{
  opacity: 1;
}

/* Mobile tune */
@media (max-width: 576px){
  .lux-img{ height: 360px; }
}


/* soft blue ambient background behind the welcome */
.lux-welcome{
  position: relative;
  padding: 18px 0 16px;
}

.lux-welcome::before{
  content:"";
  position:absolute;
  inset: -40px -20px auto -20px;
  height: 190px;
  pointer-events:none;
  background:
    radial-gradient(520px 170px at 50% 30%,
      rgba(10,140,255,.18),
      rgba(10,140,255,0) 65%);
  filter: blur(2px);
}

.lux-subtitle{
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.lux-subtitle::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 150px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(10,140,255,0),
    rgba(10,140,255,.95),
    rgba(10,140,255,0));
}

.activities-stage {
  position: relative;
  overflow: hidden;
}

.activities-media {
  width: 100%;
  object-fit: cover;
}

.hero-title {
  font-weight: 700;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.05);
}

.lux-welcome{
  position: relative;
  text-align: center;
  padding: 40px 30px;
  margin: 30px auto;

  background: #ffffff;
  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(2, 6, 23, 0.05),
    0 30px 80px rgba(2, 6, 23, 0.08);

  max-width: 1000px;
}

/* ===== Float Up Animation ===== */
.home-lux .contact-title{
  position: relative;
  display: inline-block;

  animation: floatUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(24px);
}

/* Subtitle slightly delayed */
.home-lux .contact-subtitle{
  animation: floatUp 1s ease forwards;
  opacity: 0;
  transform: translateY(24px);
  animation-delay: 0.15s;
}

/* Smooth float animation */
@keyframes floatUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.home-lux .contact-header{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-lux .lux-pill{
  display: inline-block;
  margin: 0 auto 18px;
}


/* =========================
   ACTIVITIES SLIDESHOW (Premium Fade)
   ========================= */

   .activities-slider{
    position: relative;
  }
  
  /* stage = the "frame" */
  .activities-stage{
    position: relative;
    overflow: hidden;
    border-radius: 16px; /* keep your rounded feel */
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 18px 60px rgba(2,6,23,.08);
  }
  
  /* each slide overlays each other */
  .activities-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .65s ease;
  }
  
  /* active slide shows */
  .activities-slide.is-active{
    opacity: 1;
    pointer-events: auto;
    position: relative; /* keeps layout height stable */
  }
  
  /* image sizing */
  .activities-media{
    width: 100%;
    height: clamp(320px, 42vw, 520px);
    object-fit: cover;
    display: block;
    transform: scale(1.01);
  }
  
  /* Arrows: floating premium buttons */
  .activities-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
  
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(8px);
  
    display: grid;
    place-items: center;
  
    box-shadow: 0 10px 26px rgba(2,6,23,.10);
    cursor: pointer;
  
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    opacity: .92;
  }
  
  .activities-arrow:hover{
    transform: translateY(-50%) scale(1.04);
    opacity: 1;
    box-shadow: 0 16px 38px rgba(2,6,23,.14);
  }
  
  .activities-arrow--left{ left: 14px; }
  .activities-arrow--right{ right: 14px; }
  
  /* Make arrows smaller on mobile */
  @media (max-width: 576px){
    .activities-arrow{
      width: 40px;
      height: 40px;
    }
    .activities-arrow--left{ left: 10px; }
    .activities-arrow--right{ right: 10px; }
  
    .activities-media{
      height: 340px;
    }
  }
