/* GLOBAL & COLOR SCHEME */
:root {
  --bg-dark: #0B0B0B;
  --green-accent: #00e0c7;
  --white: #ffffff;
  --font-family: "Arial", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
}

/* Page fade-in/out transitions */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
}

body.loaded {
  opacity: 1;
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--green-accent);
}

.auth-buttons {
  display: flex;
  gap: 2rem;
}

.auth-btn {
  background-color: transparent;
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: color 0.3s, transform 0.2s;
}

.auth-btn:hover {
  color: #aaaaaa;
  transform: scale(1.05);
}

/* HERO SECTION (Full Screen with Background Video) */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: rgba(0,0,0,0.4);
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
  text-align: center;
}

.hero-overlay p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero-overlay .btn-primary {
  background-color: var(--green-accent);
  color: #000;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.hero-overlay .btn-primary:hover {
  background-color: #00c2aa;
  transform: scale(1.05);
}

/* FEATURES SECTION */
#features {
  padding: 3rem 2rem;
  background-color: #000;
  text-align: center;
}

#features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-link {
  text-decoration: none;
  color: inherit;
}

.feature-link:hover {
  text-decoration: none;
}

/* Increased gap between feature boxes */
.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem; /* from 1.5rem to 2.5rem */
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background-color: #1a1a1a;
  width: 250px;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--green-accent);
}

.feature-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.4rem 1rem;
  color: var(--green-accent);
}

.feature-box p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 1rem 1.2rem 1rem;
  color: var(--white);
}

.bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--green-accent);
  transition: box-shadow 0.3s;
}

.feature-box:hover .bottom-accent {
  box-shadow: 0 0 10px var(--green-accent);
}

/* ABOUT SECTION */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background-color: #000;
  gap: 2rem;
}

.about-img {
  flex: 1 1 300px;
}

.about-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
}

.about-content {
  flex: 1 1 300px;
}

.about-content .heading {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--green-accent);
}

.about-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.about-content .btn.about-btn {
  text-decoration: none;
  background-color: var(--green-accent);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  margin-top: 1rem;
}

.about-content .btn.about-btn:hover {
  background-color: #00c2aa;
  transform: scale(1.05);
}

/* OUR PLANS SECTION */
.plans {
  padding: 3rem 2rem;
  background-color: #000;
  text-align: center;
}

.plans .heading {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.plans .heading span {
  color: var(--green-accent);
}

/* Increased gap between plan boxes */
.plans-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem; /* from 2rem to 3rem */
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-box {
  background-color: #1a1a1a;
  width: 250px;
  min-height: 340px;
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.plan-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--green-accent);
}

.plan-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--green-accent);
  text-align: center;
}

.plan-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: center;
}

.plan-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  text-align: left;
}

.plan-box ul li {
  margin: 0.3rem 0;
}

.btn-plan {
  display: inline-block;
  background-color: var(--green-accent);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 1rem;
}

.btn-plan:hover {
  background-color: #00c2aa;
  transform: scale(1.05);
}

/* CONTACT SECTION */
#contact {
  padding: 2rem;
  text-align: center;
  background-color: #000;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#contact p {
  font-size: 1rem;
  color: var(--white);
}

#contact a {
  color: var(--green-accent);
  text-decoration: none;
}

/* FOOTER */
footer {
  background-color: #000;
  text-align: center;
  padding: 1rem;
  color: var(--white);
  font-size: 0.9rem;
}

footer p {
  margin: 0.2rem 0;
}

/* BUTTON CLICK ANIMATION */
button.clicked {
  animation: clickAnimation 0.3s;
}

@keyframes clickAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* FITNESS PAGE (fitness.html)*/
#fitness-page {
  padding: 3rem 2rem;
  background-color: #000;
  text-align: center;
}

#fitness-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: center;
}

.fitness-subheading {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.category {
  margin-bottom: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.category h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--green-accent);
}

.gif-row {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.gif-box {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  width: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.gif-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--green-accent);
}

.gif-box img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.gif-box p {
  font-size: 1rem;
  margin: 0;
  color: var(--white);
}

/* MEAL PAGE (meal.html) */
#meal-page {
  padding: 3rem 2rem;
  background-color: #000;
  text-align: center;
}

#meal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: center;
}

.meal-subheading {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.meal-category {
  margin-bottom: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.meal-category h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--green-accent);
}

.meal-row {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.meal-box {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  width: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.meal-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--green-accent);
}

.meal-box img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.meal-box p {
  font-size: 1rem;
  margin: 0;
  color: var(--white);
}

/* WELLNESS PAGE (wellness.html) */
#wellness-page {
  padding: 3rem 2rem;
  background-color: #000;
  text-align: center;
}

#wellness-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: center;
}

.wellness-subheading {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2rem;
}

/* Add bullet formatting for the wellness list */
.wellness-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  list-style-type: disc;
  padding-left: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.wellness-list li {
  margin-bottom: 1rem;
  color: var(--white);
}

/* BUTTON CLICK ANIMATION */
button.clicked {
  animation: clickAnimation 0.3s;
}

@keyframes clickAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.2rem;
  }
  .hero-overlay p {
    font-size: 1.1rem;
  }
  #features h2 {
    font-size: 1.6rem;
  }
  .feature-box {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    min-height: auto;
  }
  .about {
    flex-direction: column;
  }
}