/* Navbar tagline */
.navbar .tagline {
  font-size: 12px;
  font-weight: normal;
  color: #bbb;
  display: block;
  line-height: 14px;
}

/* Default navbar (transparent) */
#mainNavbar {
  transition: all 0.3s ease-in-out;
}

/* Saat di-scroll */
#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

#mainNavbar.scrolled .nav-link {
  color: #000 !important;
}

#mainNavbar.scrolled .navbar-brand,
#mainNavbar.scrolled .tagline {
  color: #000 !important;
}

#mainNavbar.scrolled .bi {
  color: #000 !important;
}


/* Hero Section */
.hero {
  height: 100vh;
  background: url('https://www.agencontainer.co.id/jasa-web/fitness-gym/assets/images/banner10.jpg') no-repeat center center/cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.tagline-btn {
  background: #e3002a;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 15px;
  color: white;
}

/* Buttons */
.btn-danger {
  background-color: #e3002a !important;
  border: none;
}
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section .about-img {
  position: relative;
  z-index: 1; /* gambar utama tetap di atas dekorasi */
}

.dots-bg {
  position: absolute;
  bottom: -30px;   /* atur posisi sesuai kebutuhan */
  left: -30px;
  width: 180px;
  z-index: 0;      /* di belakang */
  opacity: 0.5;    /* transparan supaya tidak ganggu */
}

.about-2 {
  position: absolute;
  bottom: -40px;   /* atur posisi sesuai kebutuhan */
  right: -40px;
  width: 200px;
  z-index: 0;      /* dekorasi di belakang */
  opacity: 0.5;
}

/* Pastikan konten tetap di atas dots */
.about-content, 
.about-content h2, 
.about-content p, 
.stat-item {
  position: relative;
  z-index: 1;
}

.services-section h3 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.services-section .col-md-4 {
  margin-bottom: 20px;
}

.services-section img {
  border-radius: 10px;
  width: 100%;
  display: block;
}

/* Overlay Style */
.card-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.card-text-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  padding: 20px;
}

.card-overlay:hover .card-text-overlay {
  opacity: 1;
}

.card-text-overlay h4 {
  font-size: 1.4rem;
  font-weight: bold;
}

.card-text-overlay .overlay-desc {
  font-size: 0.9rem;
  margin: 10px 0;
}


.team-section {
  background: #111;
  color: #fff;
}
.team-section h2 {
  color: #fff;
}
.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}
.team-img {
  background: #f5f5f5;
  text-align: center;
  padding: 20px;
}
.team-img img {
  max-height: 280px;
  object-fit: contain;
}
.team-info h5 {
  margin-bottom: 5px;
  color: #000;
}
.team-info p {
  margin: 0;
}
.social-links a {
  color: #000;
  margin: 0 8px;
  font-size: 18px;
  transition: 0.3s;
}
.social-links a:hover {
  color: #dc3545;
}
.schedule-section {
  background: #f7f7f7;
}
.nav-link {
  border-radius: 25px;
  margin: 0 5px;
  color: grey;
 
  font-weight: 500;
}

.nav-link.active {
  background: #e60023 !important;
  color: #fff !important;
}

.schedule-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.schedule-row {
  padding: 20px;
  border-bottom: 1px solid #eee;
}
.schedule-row:last-child {
  border-bottom: none;
}
.btn-dark {
  background: #444;
  border: none;
  font-weight: 500;
}
.btn-dark:hover {
  background: #000;
}


.banner-section {
  background: #111 url('https://www.agencontainer.co.id/jasa-web/fitness-gym/assets/images/banner-2.jpg') no-repeat center center/cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Discount Badge */
.discount-badge {
  background: #e60023;
  color: #fff;
  padding: 20px 25px;
  display: inline-block;
  text-align: center;
  border-radius: 0 0 5px 5px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.discount-badge h2 {
  font-size: 2rem;
  line-height: 1.2;
}
.discount-badge h2 span {
  font-size: 1.5rem;
  font-weight: 600;
}
.discount-badge p {
  font-size: 0.9rem;
}

/* Red Circle Background */
.red-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(220, 0, 40, 0.9);
  z-index: 0;
}
.banner-section img {
  position: relative;
  z-index: 1;
  max-height: 400px;
}

.pricing-badge {
  background: #ff1e46;
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 25px;
}

.pricing-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pricing-card h5 {
  text-transform: uppercase;
}

.pricing-card ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

.btn-danger {
  background: #ff1e46;
  border: none;
  font-weight: bold;
  padding: 12px;
  border-radius: 5px;
  transition: 0.3s;
}
.btn-danger:hover {
  background: #e60039;
}

.pricing-badge {
  background: #ff1e46;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 25px;
}
.pricing-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
}
.btn-purchase {
  background: #ff1e46;
  border: none;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255,30,70,0.4);
}
.btn-purchase:hover {
  background: #e2143c;
}

/* Geser teks lebih ke kanan */
.banner-section .col-lg-6.text-white {
  padding-right: 60px; /* tambahkan ruang kanan */
  margin-left: 40px;   /* dorong sedikit ke kanan */
}

@media (min-width: 992px) {
  .banner-section .col-lg-6.text-white {
    margin-left: 60px; /* di layar besar lebih maju lagi */
  }
}
