/* HERO CONTAINER */
.hero {
  position: relative;
  height: 80vh;
  animation: floatHero 6s ease-in-out infinite;
  min-height: 480px;
  overflow: hidden;
  background-color: #000;
  margin: 3px; /* Adds space around the slider so you can see the curves */
    
    /* THE CURVES */
  border-radius: 40px; /* Adjust this number for more or less curve */
    
    /* Optional: Adds a professional shadow to the whole slider */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* FOREGROUND IMAGE */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: oopacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;    
  justify-content: center;
  text-align: center;
}

/* CONTENT */
.hero .container {
  position: relative;
  z-index: 2;
}

/* =========================
   HERO VISUAL POLISH (SAFE)
   ========================= */

/* Softer, professional overlay */
.hero-overlay {
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.65)
  );
}

/* Title refinement */
.hero h1 {
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero p.lead {
  max-width: 700px;
  margin: 10px auto 0;
  opacity: 0.95;
}

.btn-rect {
  background-color: #ffc107;
  color: #212529;
  border: none;
  box-shadow: none;
}

.btn-rect:hover {
  background-color: #ffca2c;
  color: #212529;
}

/* Subtitle refinement */
.hero p.lead {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Explore Services button – govt style */
.btn-rect {
  background-color: #ffc107;
  color: #212529;
  border: none;
}

.btn-rect:hover {
  background-color: #ffca2c;
  color: #212529;
  transform: none; /* no jump (GIGW friendly) */
}

/* Floor directory heading */
.hero-floor-links h5 {
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Floor buttons – cleaner look */
.floor-buttons .btn {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.floor-buttons .btn:hover,
.floor-buttons .btn:focus {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: none;
}

#floor-plans {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

#floor-plans h2 {
  font-size: 2rem;
  color: #2c3e50;
  letter-spacing: 1px;
  position: relative;
}

#floor-plans h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffc107;
  margin: 12px auto 0;
  border-radius: 2px;
}

.floor-btn {
  margin: 0 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  color: #2c3e50;
  background: #f1f1f1;
  transition: all 0.3s ease;
}

.floor-btn:hover,
.floor-btn.active {
  background: #ffc107;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hero dots – subtle */

.hero-dots span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0.7;
}

.hero-dots span.active {
  background: #0fff07;
  opacity: 1;
}


.floor-preview {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease;
}

.floor-preview img {
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floor-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#openPdfBtn, #zoomBtn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#openPdfBtn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

#zoomBtn:hover {
  border-color: #ffc107;
  color: #ffc107;
  transform: scale(1.05);
}

/* EXPLORE SERVICES BUTTON (RECTANGLE) */
.btn-rect {
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-rect:hover {
  background-color: #e0a800;
  color: #fff;
  transform: translateY(-2px);
}

/* FLOOR DIRECTORY BUTTONS */
.floor-buttons .btn {
  border-radius: 20px;
  padding: 6px 16px;
  min-width: 90px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.floor-buttons .btn:hover {
  background-color: #ffc107;
  color: #3b2f2f;
  border-color: #ffc107;
  transform: translateY(-2px);
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}

.hero-dots span {
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots span.active {
  background: #ffc107;
  transform: scale(1.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .floor-buttons .btn {
    min-width: 80px;
    font-size: 0.9rem;
  }
}


