/* -------------------------------
   Global Styles
--------------------------------- */
:root {
  --brand: #2b6cb0;
  --brand-light: #63b3ed;
  --border: #e2e8f0;
  --radius: 0.5rem;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8fafc;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* -------------------------------
   Header + Navigation
--------------------------------- */
.site-header {
  background-color: var(--brand);
  color: white;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.logo {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  display: inline-block;
  margin: 0 10px;
}

.primary-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
}

/* -------------------------------
   Main Content
--------------------------------- */
main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: var(--brand);
}

p {
  margin-bottom: 1rem;
}

/* -------------------------------
   Cards and Sections
--------------------------------- */
section {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

/* -------------------------------
   Footer
--------------------------------- */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #edf2f7;
  color: #555;
  font-size: 0.9rem;
}

/* -------------------------------
   Links
--------------------------------- */
a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------------------
   Collapsible Fitness Tips
--------------------------------- */
details {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

details[open] {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

details summary {
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  outline: none;
  transition: color 0.3s ease;
}

details summary:hover {
  color: var(--brand-light);
}

details p {
  margin-top: 0.5rem;
  color: #333;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

/* Smooth fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------
   Image Styling (Media Page)
--------------------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.media-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .media-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.media-gallery img {
  width: 90%;
  max-width: 400px;
}

/* ------------------------------
   Product Page Styling
------------------------------ */
.products {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

.product {
  max-width: 350px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

.product h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.product p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.product .button {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.product .button:hover {
  background-color: #00509e;
}



