/* -------------- HEADER N FOOTER ---------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* === HEADER === */
header {
  position: sticky; 
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(217, 217, 217, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 100px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-top: -62px;
}

header .logo img {
  height: 40px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 80px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #006400;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 180%;
  left: 0;
  background: rgba(217, 217, 217, 0.5);
  padding: 10px 0;
  min-width: 160px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 4px 7px rgba(0,0,0,0.15);
}

nav ul li:focus ul {
  display: block;
}

nav ul li ul li {
  padding: 8px 20px;
}

nav ul li ul li a {
  color: #000;
  font-size: 15px;
}

@media (max-width: 768px) {
  header {
    padding: 8px 20px;
    gap: 10px;
  }

  nav ul {
    gap: 30px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
    text-align: center;
  }

  .card {
    flex: 0 0 auto; 
  } 
}

/* -------------- HALAMAN BADMINTON, MINISOCCER, SEKARASA DLL ---------------- */

/* Hero slider */
.hero {
  width: 100%;
  height: 100vh;      
  overflow: hidden;
  position: relative;
  transition: height 0.6s ease;
}

.hero-slider.shrink {
  height: 35vh; 
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
  
}

.slides:active{
  cursor: grabbing;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.dots span.active {
  background: #808284; 
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

/* SECTION UMUM */
section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  color: black;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden; 
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('image/logo ssk.png') no-repeat center;
  background-size: 800px auto;
  filter: blur(2px);
  opacity: 0.3; 
  z-index: 0;
}

section * {
  position: relative;
  z-index: 1;
}


.overlay h1 {
  font-size: 50px;
  color: #074430;
  margin-bottom: 10px;
  font-weight: bold;
  -webkit-text-stroke: 1px #074430; 
  text-shadow: 
    1px 1px 0 #074430,
   -1px -1px 0 #074430,
    4px 4px 4px rgba(0,0,0,0.2); 
}

.overlay h2 {
  font-size: 24px;
  color: #074430;
  margin-top: 35px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  border-left: 6px solid #0a6a47;
  padding-left: 12px;
}

.overlay p {
  font-size: 16px;
  color: #3A3333;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 15px;
}

.overlay a {
  font-size: 16px;
  color: #3A3333;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 15px;
}

/* BOOKING BUTTON */
.booking-container {
  text-align: center;
  margin: 5px 0;
}

.button-booking {
  display: inline-block;
  background: linear-gradient(135deg, #0a6a47, #0f9b5c);
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.button-booking:hover {
  background: linear-gradient(135deg, #0f9b5c, #0a6a47);
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* --- Tombol WhatsApp --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  border: none;
  margin: 0 15px;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp img {
  height: 24px;
}


/* --- Tombol Instagram --- */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  border: none;
  margin: 0 15px;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-instagram img {
  height: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero{
    height: auto;
  }

  .slides img {
    width: 100%;
    height: 50vh;        /* setengah tinggi layar */
    object-fit: cover;   /* biar gambarnya tetep proporsional */
    user-select: none;
    -webkit-user-drag: none;
  }

  section {
    max-width: 95%;
    margin: 40px auto;
    padding: 15px;
  }

  section::before{
     background-size: 350px auto;
  }

  .overlay h1 {
    font-size: 26px;
    text-align: center;
    color: #074430;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2); 

  }

  .overlay h2 {
    font-size: 18px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
  }

  .overlay p {
    font-size: 12px;
    color: #3A3333;
  }
  .overlay a {
    font-size: 12px;
    color: #3A3333;
}

  .button-booking {
    font-size: 14px;
    padding: 10px 20px;
  }

  .dots {
    bottom: 10px;
  }

  .footer{
    margin-top: 35px;
  }

  .btn-instagram{
      margin: 20px 0px;
  }
}
/* -------------- JADWAL MINI SOCCER ---------------- */
.harga-desktop {
  font-size: 16px;
  color: #3A3333;
  width: 98%;
  margin: 20px auto;
  border-collapse: collapse;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(1,1,1,0.2);
}

.harga-desktop th {
  background-color: #e4e3e3;
  color:#3A3333;
  padding: 12px;
  text-align: center;
}

.harga-desktop td{
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.harga-mobile {
  font-size: 12px;
  color: #3A3333;
  display: none; 
}

.harga-mobile table {
  width: 80%;
  margin: 20px auto;
  margin-bottom: 20px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.harga-mobile th{
  color:#3A3333;
  padding: 10px;
}

.harga-mobile td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.harga-mobile table:nth-child(1) th { background-color: #e4e3e3; } /* Weekday */
.harga-mobile table:nth-child(2) th { background-color: #e4e3e3; } /* Jumat */
.harga-mobile table:nth-child(3) th { background-color: #e4e3e3; } /* Sabtu */
.harga-mobile table:nth-child(4) th { background-color: #e4e3e3; } /* Minggu */

@media (max-width: 768px) {
  .harga-desktop {
    display: none;
  }
  .harga-mobile {
    display: block;
  }
}

/* ======== GYM CENTER ========= */
/* Popup background */
.popup {
  display: none; 
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

/* Popup image */
.popup-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* Caption */
#caption {
  margin: 15px auto;
  text-align: center;
  color: #f1f1f1;
  font-size: 16px;
}

/* ======== HALAMAN KONTAK ========= */

    /* Banner full */
    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Intro box */
    .intro {
      width: 100%;
      text-align: center;
      background: #fff;
      padding: 40px 20px;
      box-sizing: border-box;
      box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    }

    .intro h1 {
      font-size: 45px;
      color: #074430;
      margin-bottom: 10px;
      font-weight: bold;
      -webkit-text-stroke: 1px #074430; 
      text-shadow: 4px 4px 4px rgba(0,0,0,0.2); 
    }

    .intro p {
      font-size: 18px;
      line-height: 1.8;
      color: #3A3333;
      max-width: 800px;
      margin: 0 auto;
    }
    
    /* MAPS */
    .maps iframe {
      width: 100%;
      height: 450px;
      border: none;
      display: block;
    }

    .address p{
      font-size: 18px;
      line-height: 1.8;
      color: #3A3333;
      max-width: 900px;
      margin: 0 auto;
    }

    /* Address */
    .address {
      text-align: center;
      padding: 40px 20px;
      line-height: 1.6;
      background: #fff;
      position: relative;
      z-index: 2;
    }

    .address strong {
      display: block;
      margin: 8px 0;
    }

    .address .highlight {
      font-weight: bold;
      text-decoration: underline;
    }

    .address a {
    color: #333;        /* ganti warna, bisa hitam/abu sesuai kebutuhan */
    text-decoration: none; /* hilangin underline */
    font-weight: bold;     /* biar agak menonjol */
    }

    .address a:hover {
    color: #074430;     /* warna pas hover (opsional, hijau tua misalnya) */
    text-decoration:underline; /* bisa dikasih underline lagi kalau hover */
    }

    /* Garis separator */
    .separator {
      width: 60%;
      height: 2px;
      border-radius: 2px;
      background: #3A3333;
      margin: 20px auto;
    }

    /* ====== CONTACT CARDS ====== */
    .contact-cards {
      display: flex;
      justify-content: center;
      gap: 25px;
      flex-wrap: wrap;
      margin: 0 150px;
    }

    .contact-cards .card {
      background: #fff;
      border-radius: 12px;
      padding: 25px 20px;
      width: 260px;
      text-align: center;
      color: #2e7d32;
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }

    .contact-cards .card:hover {
      background: #f0f0f0;
      color: #3A3333;
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .contact-cards .icon img {
      width: 80px;
      height: 50px;
      object-fit: contain;
      margin-bottom: 10px;
      transition: transform 0.3s ease;
    }

    .contact-cards .card:hover .icon img {
      transform: scale(1.1);
    }

    .contact-cards h3 {
      font-size: 18px;
      margin-bottom: 8px;
      font-weight: bold;
    }

    .contact-cards p {
      font-size: 12px;
    }

    .contact-cards a {
      color: inherit;
      text-decoration: none;
      font-weight: 600;
    }

    .contact-cards a:hover {
      text-decoration: underline;
    }

    .hours {
      text-align: center;
      padding: 40px 20px;
    }

    .hours h2 {
      font-size: 30px;
      color: #074430;
      margin-top: 35px;
      margin-bottom: 10px;
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
      font-weight: 600;
    }
    
    .hours table {
      margin: 0 auto;
      border-collapse: collapse;
      width: 70%;
      max-width: 600px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border-radius: 12px;
      overflow: hidden;
    }

    .hours th, 
    .hours td {
      padding: 15px;
      border-bottom: 1px solid #ddd;
      text-align: left;
      font-size: 15px;
    }

    .hours th {
      background: #f8f8f8;
      font-weight: bold;
      color: #333;
      width: 40%;
    }

    .hours td {
      background: #fff;
      color: #444;
    }

    /* Efek hover baris */
    .hours tr:hover td {
      background: #eaf7ea;
      transition: 0.3s;
    }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .contact-cards {
    margin: 0 100px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-cards {
    margin: 0 40px;
    flex-direction: column;
    align-items: center;
  }

  .contact-cards .card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .intro h1 {
      font-size: 26px;
      color: #074430;
      margin-bottom: 10px;
      -webkit-text-stroke: 1px #074430; 
      text-shadow: 2px 1px 1px rgba(0,0,0,0.2); 
    }

  .intro p {
      font-size: 12px;
      line-height: 1.8;
      color: #3A3333;
      max-width: 800px;
      margin: 0 auto;
  }

    .address p{
  font-size: 12px;
  line-height: 1.8;
  color: #3A3333;
  max-width: 900px;
  margin: 0 auto;
  }

  
  .contact-cards {
    margin: 0 15px;
    gap: 15px;
  }

  .contact-cards .card {
    padding: 20px 15px;
  }

  .contact-cards h3 {
    font-size: 16px;
  }

  .contact-cards p {
    font-size: 14px;
  }

  .contact-cards .icon img {
    width: 40px;
    height: 40px;
  }

    .hours h2 {
    font-size: 25px;
    color: #074430;
    margin-top: 20px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    font-weight: 600;
  }
  
  .hours table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
  }

  .hours th, 
  .hours td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 12px;
  }

  .hours th {
    background: #f8f8f8;
    font-weight: bold;
    color: #333;
    width: 40%;
  }

  .hours td {
    background: #fff;
    color: #444;
  }

.contact-cards h3 {
      font-size: 15px;
      margin-bottom: 8px;
      font-weight: bold;
    }

    .contact-cards p {
      font-size: 10px;
    }

    .contact-cards a {
      color: inherit;
      text-decoration: none;
      font-size: 10px;
    }
}

a, button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; 
}

a:focus, a:active,
button:focus, button:active {
  outline: none;
  background: none; /* biar ga ada efek bawaan */
}

li a {
  -webkit-tap-highlight-color: transparent;
}





