/* Reset & basics */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #1a202c; /* gray-900 */
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #FFC700; /* yellow */
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu li a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #FFC700;
}

/* Burger menu toggle button */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: 0.3s ease;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: underline;
}

/* Utility Colors */
.yellow {
  color: #FFC700;
}
.yellow-bg {
  background-color: #FFF8E1;
}
.grey-bg {
  background-color: #888484;
}

/* Header / Hero */
header {
  position: relative;
  height: 100vh;
  background-image: url('backLand.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}
header > div {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFC700;
}
header p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
header a.button {
  background-color: #FFC700;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}
header a.button:hover {
  background-color: #e6b800;
}

/* Subscription Section */
#subscription {
  margin-top: -6rem; /* negative margin to overlap hero */
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  min-height: 70vh;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

#subscription > div {
  border: solid 1px #FFC700;
  max-height: fit-content;
}


#subscription > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

#subscription h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
  font-weight: 700;
}

#subscription p {
  font-size: 2rem;
  font-weight: 700;
  color: #FFC700; /* nice bright yellow */
  margin-bottom: 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#subscription button {
  background-color: #FFC700;
  color: black;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

#subscription button:hover {
  background-color: #e6b800;
}

/* Responsive for smaller screens */
@media (max-width: 600px) {
  #subscription {
    justify-content: center;
  }
  #subscription > div {
    max-width: 90%;
    flex: 1 1 90%;
  }

  .nav-menu {
    position: fixed;
    top: 60px; /* navbar height */
    right: 0;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 220px;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }
}


.services-section {
  display: flex;
  flex-direction: row;
  height: 60vh;
  min-width: 1400px;
}

.service {
  flex: 1;
  color: white;
  display: flex;
  align-items:center;
  justify-content:last baseline;
  text-align: start;
  padding: 40px;
  position: relative;
}

.fitkit {
  background: #0c1818;
}

.trainer {
  background: url('confident-sportswoman-with-dumbbell-dark.jpg') no-repeat center center/cover;
}

.service .content {
  z-index: 1;
}

.service h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.service-btn {
  padding: 10px ;
  background-color: #000;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 15px;
  transition: 0.3s ease;
}

.service-btn:hover {
  background-color: #e6c200;
}

.trainer-cards-section {
  padding: 60px 20px;
  background: #fff8e1; /* light yellow background */
  text-align: center;
}

.trainer-cards-section h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 40px;
}

.trainer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
 
}

.trainer-card {
  background-color: #0c1818;
  border-radius: 0px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: 0.3s ease;
}

.trainer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.trainer-card img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  border-radius: 5px;
}

.trainer-card h3 {
  margin: 15px 0 10px;
  color: #ffcc00; /* Yellow heading */
  font-size: 1.5rem;
}

.trainer-card p {
  font-size: 1rem;
  color: #fff;
}



@media(min-width: 768px) {
  #subscription {
    grid-template-columns: repeat(3, 1fr);
  }

 
}
#subscription > div {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  text-align: center;
}
#subscription h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
#subscription p {
  font-size: 1.75rem;
  font-weight: 600;
  color: #e6b800; /* yellow-600 */
  margin-bottom: 1.25rem;
}
#subscription button {
  background-color: #e6b800;
  border: none;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#subscription button:hover {
  background-color: #e6b800dc;
}

/* Services Section */
#services {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}
#services h2.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111827;
}
.services-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media(min-width: 640px) {
  .services-container {
    flex-direction: row;
    justify-content: center;
  }
}
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  max-width: 400px;
  position: relative;
  text-align: left;
  color: #1f2937; /* gray-800 */
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFC700;
}
.service-card p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.service-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  color: #4b5563; /* gray-600 */
}
.service-card ul li {
  margin-bottom: 0.5rem;
}
.service-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #FFC700;
  color: black;
  font-weight: 700;
  font-size: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.service-btn:hover {
  background-color: #e6b800;
  text-decoration: none;
}

/* Contact Section */
#contact {
  background-color: #060c0c; /* gray-900 */
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}
#contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#contact p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
#contact a {
  color: #FFC700;
  font-weight: 600;
  text-decoration: none;
}
#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #000; /* gray-800 */
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}
