@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');

* {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 80vw;
  font-family: 'Ubuntu', sans-serif;
}

.navbar {
  display: flex;
  height: 67px;
}

.navbar li {
  list-style: none;
  margin: 0 12px;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}

.navbar li:hover {
  background-color: rgb(227, 74, 56);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.topleft {
  width: 50%;
}

.topright {
  width: 50%;
}

.section1 {
  max-height: 100vh;
  color: #711e15;
}

.section1 h1 {
  color: #37110d;
  font-size: 2rem;
}

.logo {
  font-size: 1.3rem;
}

.dumbellimg {
  width: 289px;
}

.topright .gymimg {
  width: 466px;
}

.section2 {
  padding: 73px;
}

.section2 h1 {
  font-size: 2.3rem;
}

.section2 p {
  padding: 0 8vw;
  text-align: center;
}

.box {
  padding: 8px 0;
  margin: 12px 22px;
  min-width: 20vw;
  border: 2px solid rgb(120, 54, 16);
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.box:hover {
  transform: scale(1.05);
  border-color: #e34a38;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 74, 56, 0.05), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box:hover::before {
  opacity: 1;
}

.box button.btn:hover {
  background-color: white;
  color: #e34a38;
  border-color: #e34a38;
  transform: scale(1.05);
  transition: 0.3s ease;
}

.box h2 {
  font-size: 2rem;
  padding: 15px 0;
}

.highlighted {
  font-size: 1.2rem;
  font-weight: bolder;
}

.box ul {
  list-style-type: none;
}

.box ul li {
  margin: 12px 2px;
}

.plantable {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section3 table {
  width: 100%;
  margin-bottom: 140px;
  margin-top: 20px;
  border-collapse: collapse;
}

.section3 table th {
  width: 23vw;
  border-bottom: 2px solid black;
  padding: 15px 0;
}

.section3 table td {
  border-bottom: 2px solid black;
}

.section3 h1 {
  font-size: 2.3rem;
}

.section3 {
  padding: 6px;
}

footer {
  padding: 23px;
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px;
}

.deal {
  font-size: 1.2rem;
  font-weight: bolder;
  margin: 12px 0;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    gap: 10px;
    text-align: center;
  }

  .navbar li {
    margin: 8px 0;
  }

  .flex {
    flex-direction: column;
  }

  .topleft,
  .topright {
    width: 100%;
    text-align: center;
  }

  .dumbellimg,
  .topright .gymimg {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .section2 {
    padding: 40px 20px;
  }

  .section2 p {
    padding: 0;
  }

  .boxes {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 90%;
    margin: 12px 0;
  }

  .plantable {
    overflow-x: auto;
  }

  .section3 table {
    font-size: 14px;
    width: 700px; /* fixed width to scroll */
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
    margin-top: 10px;
  }

  .navbar li {
    margin: 10px 0;
  }

  .section1 .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topleft, .topright {
    width: 100%;
    padding: 10px;
  }

  .topright .gymimg {
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
  }

  .box {
    width: 90%;
    margin: 20px auto;
  }

  .boxes {
    flex-direction: column;
    align-items: center;
  }

  .section2 p {
    padding: 0 20px;
  }

  .section3 table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section3 h1 {
    font-size: 1.8rem;
  }
}
