body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  min-height: 100vh;
  background: url('Bulkycut.png') no-repeat center top;
  background-size: contain; /* Changed from cover to contain */
  background-color: #f15a24; /* Matches your orange background */
  position: relative;
  overflow-x: hidden;
}
.page-header h1 {
  margin-bottom: 1rem; /* Or adjust as needed */
}
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Darken the image a bit */
  z-index: -1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #61dafb;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #61dafb;
}

header {
  text-align: center;
  padding: 8rem 2rem;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.start-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #61dafb;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.start-button:hover {
  background-color: #21a1f1;
}

footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  margin-top: 2rem; /* Add margin */
  position: static; /* Remove absolute positioning */
  width: 100%;
  
  
}

footer a:hover {
  color: #61dafb; /* Or any accent color you use */
}

.calculator-container {
  max-width: 600px;
  margin: 5rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input, select {
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.result {
  margin-top: 2rem;
  background: rgba(97, 218, 251, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
}
.foods-container {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.section-table {
  margin-bottom: 4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid white;
  padding: 0.8rem;
  text-align: center;
}

th {
  background-color: rgba(97, 218, 251, 0.3);
}

h2, h3 {
  margin-top: 2rem;
  color: #61dafb;
}
.bodybuilding-container {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.section-article {
  margin-bottom: 3rem;
}

.section-article ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
}

.section-article ul li {
  margin-bottom: 0.7rem;
}

h2, h3 {
  color: #61dafb;
  margin-bottom: 1rem;
}
.homepage-header {
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.homepage-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.homepage-header p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #ddd;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.home-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #61dafb;
  border-radius: 20px;
  padding: 2rem;
  width: 250px;
  height: 250px;
  text-align: center;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
  position: relative;
}

.home-card i {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 2s infinite ease-in-out;
}

.home-card:hover {
  transform: scale(1.1);
  background: rgba(97, 218, 251, 0.2);
  box-shadow: 0 0 20px rgba(97, 218, 251, 0.8);
}

.home-card h2 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

/* Floating icon animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.diets-container {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 2rem;
  text-align: center;
}

.diet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.diet-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s, background 0.3s;
}

.diet-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.diet-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.header-icon {
  width: 60px;
  height: 60px;
  animation: float 2s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.music-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
}

#music-button {
  background-color: #20232a;
  border: none;
  color: white;
  padding: 0.6rem;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

#music-button:hover {
  background-color: #61dafb;
  color: black;
}

.diet-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap; /* Makes it responsive */
}

.diet-section-text {
  flex: 1 1 50%;
  min-width: 280px;
}

.diet-section-image {
  flex: 1 1 40%;
  min-width: 200px;
  max-width: 400px;
}

.diet-section-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
