/* Font */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');


/* Main Code */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #ECFEE8;
    font-family: "comic-neue",cursive;
}

.Navbar{
    padding: 10px;
    height: 70px;

    background-color: #2E294E;
    color: white;

    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* .Logo{
    margin: 10px;

    font-size: 25px;
    font-weight: bolder;
    
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}
.Logo a{
  text-decoration: none;
  color: #C2EFEB;
}
.Logo:hover{
  transform: scale(1.05); 
  color: white; 
} */
.Logo {
  margin: 10px;
  font-size: 25px;
  font-weight: bolder;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.Logo a {
  text-decoration: none;
  color: #C2EFEB;
  transition: color 0.3s ease;
}

/* Hover effects */
.Logo:hover {
  transform: scale(1.05); 
}

.Logo:hover a {
  color: white;
}

.Tabs{
    margin: 10px;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px
}

.Tabs a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 8px;

    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.Tabs a:hover {
    color: #4795bc; 
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px); 
}
.Tabs a.active {
    color: #4795bc;
    background-color: rgba(46, 204, 113, 0.15);
}
/* underline effect */
.Tabs a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #00CEC9;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease-in-out;
}
.Tabs a:hover::after {
  transform: scaleX(1);
}

.Tagline{
    margin: 10px auto;
    width: 90%;
    max-width: 360px;

    font-weight: bold;

    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: #331E36;
    border: 2px solid #331E36;
    border-radius: 20px;
}

/* AUDIO PLAYER CONTAINER */
.audio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px auto 5px auto;
}

.audio-container audio {
  border: 2px solid #331E36;
  border-radius: 30px;
  outline: none;
}

/* Overrides default inner gray background in Chrome/Edge */
.audio-container audio::-webkit-media-controls-panel {
  background-color: #ECFEE8; 
}

/* Changes control icon colors (play, volume) to light for contrast */
.audio-container audio::-webkit-media-controls-play-button,
.audio-container audio::-webkit-media-controls-panel {
  color: #FFFFFF;
}

/* MAIN CONTAINER & PAGE LAYOUT */
.main-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 25px; 
  color: #2D3436;
}

/* HERO HEADER SECTION */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  border-radius: 16px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-blend-mode: overlay;
  background-color: rgba(45, 52, 54, 0.65); 
}

.hero-section h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-section .subtitle {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* Individual page background image overrides */
.hero-home {
  background-image: linear-gradient(rgba(45, 52, 54, 0.65), rgba(45, 52, 54, 0.65)), url('Images/Home.jpg');
}

.hero-eats {
  background-image: linear-gradient(rgba(45, 52, 54, 0.65), rgba(45, 52, 54, 0.65)), url('Images/Eats-Hydration.jpg');
}

.hero-moving {
  background-image: linear-gradient(rgba(45, 52, 54, 0.65), rgba(45, 52, 54, 0.65)), url('Images/Get-Moving.jpg');
}

.hero-mind {
  background-image: linear-gradient(rgba(45, 52, 54, 0.65), rgba(45, 52, 54, 0.65)), url('Images/Mind-Sleep.jpg');
}

/* CONTENT CARDS (Welcome, Why It Matters, Topics) */
.content-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border-top: 8px solid #2E294E; 
}

.content-card h2 {
  color: #2D3436;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.content-card p {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 1rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #331E36;
  font-weight: bold;
  font-size: 1.1rem;
}

/* TOPICS GRID (3 Core Cards)*/
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.topic-box {
  background-color: #F0F4F8;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle lift effect on hover */
.topic-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.topic-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2D3436;
  font-size: 1.25rem;
}

.topic-box p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
}

.topic-link {
  display: inline-block;
  color: #41337A;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.topic-link:hover {
  color: #331E36;
  text-decoration: underline;
}

/* TIP BOX CALLOUT */
.tip-box {
  background-color: #E8FAEF;
  border: 2px dashed #331E36;
  padding: 20px 25px;
  border-radius: 12px;
}

.tip-box h3 {
  color: #331E36;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tip-box p {
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
}

/* RESPONSIVE ADJUSTMENTS (Mobile View) */
@media (max-width: 768px) {
  .Navbar {
    flex-direction: column; 
    padding: 12px;
    height: auto; 
    gap: 8px;
  }

  .Logo {
    margin: 5px 0;
    font-size: 22px;
  }

  .Tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 8px;
  }

  .Tabs a {
    padding: 6px 10px;
    font-size: 0.85rem; 
  }

  .Tagline {
    margin: 6px auto;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section .subtitle {
    font-size: 1rem;
  }

  .content-card {
    padding: 20px;
  }
}

/* SITE FOOTER STYLES */
.site-footer {
  background-color: #2E294E; 
  color: #F0F4F8;
  padding: 40px 20px 20px;
  margin-top: 50px;
  border-top: 4px solid #331E36;
}

/* FOOTER CONTAINER & GRID LAYOUT */
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns on desktop */
  gap: 30px;
}

/* COLUMN STYLING */
.footer-column h4 {
  color: #00CEC9; 
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #D1D8E0;
}

.footer-column p strong {
  color: #FFFFFF;
}

/* NAVIGATION LINKS LIST */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #D1D8E0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

/* LINK HOVER EFFECT */
.footer-column ul li a:hover {
  color: #00CEC9; 
  padding-left: 5px; 
}

/* COPYRIGHT BAR AT BOTTOM */
.footer-bottom {
  max-width: 1000px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #A4B0BE;
  margin: 0;
}

/* RESPONSIVE BREAKPOINT (Mobile & Tablet) */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 15px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr; /* Stacks all 3 columns vertically */
    gap: 25px;
    text-align: center;
  }

  /* Slide animation moves upward instead of right on mobile */
  .footer-column ul li a:hover {
    padding-left: 0;
    transform: translateY(-2px);
  }
}