/* style.css - Demo Padel Arifin Germany */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}

h1, h2, h3 {
  font-family: 'Kickout', 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 1px;
}
h1 { font-size: 38px; }
h2 { font-size: 34px; font-family: 'Oswald', sans-serif; font-weight: 700; }
h3 { font-size: 28px; font-family: 'Oswald', sans-serif; font-weight: 700; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
  flex-wrap: wrap;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  font-size: 28px;
  color: #2b6c4e;
}
.business-name {
  font-weight: 500;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hotline a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
.lang-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}
.flag-icon {
  width: 28px;
  height: auto;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
  border-radius: 4px;
}
.flag-icon.active {
  opacity: 1;
  transform: scale(1.1);
}

/* navigation - Sticky, dengan hamburger */
.nav-menu {
  background: #f5f5f5;
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  justify-content: center;
}
.nav-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #2d2d2d;
  transition: height 0.2s ease-out;
  z-index: -1;
}
.nav-menu a:hover::before {
  height: 100%;
}
.nav-menu a:hover {
  color: white;
  transform: scale(0.95);
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    text-align: center;
  }
  .nav-menu ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 10px 0;
  }
  .menu-toggle:checked + .hamburger + ul {
    display: flex;
  }
  .nav-menu {
    padding: 10px;
    text-align: center;
  }
  .nav-menu a {
    display: block;
    width: 100%;
  }
}

/* Hero Slideshow */
.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.3);
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  z-index: 10;
  text-align: center;
}

/* Section backgrounds */
.section-dark {
  background: #2d2d2d;
  color: #f0f0f0;
  padding: 60px 0;
}
.section-light {
  background: #fff;
  color: #222;
  padding: 60px 0;
}
/* Section Reviews dengan background gambar */
.section-reviews {
  background: linear-gradient(rgba(45,45,45,0.8), rgba(45,45,45,0.8)), url('imags/padel1c.jpg') center/cover no-repeat fixed;
  color: #f0f0f0;
  padding: 60px 0;
}
/* Section Contact dengan background gambar */
.section-contact {
  background: linear-gradient(rgba(45,45,45,0.7), rgba(45,45,45,0.7)), url('imags/padel1d.jpg') center/cover no-repeat fixed;
  color: white;
  padding: 60px 0;
}
.section-contact .container {
  background: rgba(0,0,0,0.2);
  padding: 30px;
  border-radius: 12px;
}
.contact-info {
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 1.2rem;
}

/* two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* profile & reviews */
.profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.profile-img {
  flex: 1 1 200px;
  max-width: 300px;
}
.profile-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.reviews-grid {
  flex: 3 1 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.review-card {
  background: rgba(255,255,255,0.1);
  padding: 18px;
  border-radius: 12px;
  border-left: 4px solid #ffb703;
}
.review-card.light {
  background: #f9f9f9;
  color: #222;
  border-left-color: #2b6c4e;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.review-author i {
  color: gold;
}
.response {
  background: #e9e9e9;
  padding: 8px;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
}

/* form */
.booking-form input,
.booking-form select,
.booking-form button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.booking-form button {
  background: #2b6c4e;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.booking-form button:hover {
  background: #1f523a;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 16px;
}
.faq-item {
  background: #f1f1f1;
  border-radius: 6px;
  margin-bottom: 10px;
}
.faq-question {
  font-weight: 700;
  padding: 16px;
  cursor: pointer;
  position: relative;
  background: #e0e0e0;
  border-radius: 6px;
  transition: background 0.3s;
}
.faq-question:hover {
  background: #d0d0d0;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  font-size: 20px;
}
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 16px;
  background: #f9f9f9;
  border-radius: 0 0 6px 6px;
}
.faq-item.active .faq-answer {
  max-height: 200px; /* cukup untuk jawaban */
  padding: 16px;
}

/* map */
.map-container {
  width: 100%;
  height: 350px;
  margin-top: 30px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* footer */
footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 30px 20px 70px;
}

/* sticky buttons */
.sticky-btn-left,
.sticky-btn-right {
  position: fixed;
  bottom: 30px;
  background: #2b6c4e;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 999;
  font-size: 26px;
  transition: 0.2s;
  border: 2px solid white;
}
.sticky-btn-left {
  left: 30px;
}
.sticky-btn-right {
  right: 30px;
}
.sticky-btn-left:hover,
.sticky-btn-right:hover {
  background: #1f523a;
  transform: scale(1.1);
}
.sticky-btn-right a {
  color: white;
  text-decoration: none;
}

/* Bagian Reviews */
.profile-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.profile-img {
    flex: 0 0 35%;
    min-height: 350px; /* sesuaikan dengan tinggi rata-rata konten review */
    border-radius: 12px;
    overflow: hidden; /* agar gambar tidak meluber */
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* atau 'top' jika ingin bagian atas tetap terlihat */
}

.reviews-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Jika ada card review, pastikan tingginya proporsional */
.review-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /* tinggi akan mengikuti konten */
}

.profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.profile-img {
  flex: 1 1 200px;
  max-width: 300px;
  height: auto;
}

.profile-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;  /* rasio portrait 2:3 (lebar:tinggi) */
  object-fit: cover;
  border-radius: 12px;
}

/* Pastikan di mobile tingginya menyesuaikan */
@media (max-width: 768px) {
  .profile-img img {
    height: 300px;       /* Lebih pendek di mobile */
  }
}