/* Global Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #333; /* Charcoal */
  color: #fff; /* White text for readability */
  line-height: 1.6;
}

body.light-mode {
  background: #fff;
  color: #333;
}

/* Header Styles */
header {
  background: #222;
  padding: 1rem;
  text-align: center;
}

body.light-mode header {
  background: #eee;
}

.header-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  color: #2ecc71; /* Emerald */
  margin: 0;
}

nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
}

body.light-mode nav a {
  color: #333;
}

/* Main Content Styles */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  text-align: center; /* Centers content, including CTA button */
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  color: #2ecc71; /* Emerald */
}

.cta-button {
  display: inline-block; /* Fits button width to text */
  background: #2ecc71; /* Emerald */
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  margin: 1rem auto; /* Centers button */
}

body.light-mode .cta-button {
  color: #fff;
}

.video {
  margin: 2rem 0;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 560px; /* Base width for widescreen (16:9) */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
}

.video-container-vertical {
  position: relative;
  width: 100%;
  max-width: 360px; /* Base width for vertical (9:16) */
  margin: 0 auto;
  padding-bottom: 177.78%; /* 9:16 aspect ratio (16/9 = 1.7778) */
}

.video-container iframe,
.video-container-vertical iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shop {
  text-align: center;
}

.shop img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.shop a {
  color: #2ecc71; /* Emerald */
  text-decoration: none;
}

body.light-mode .shop a {
  color: #2ecc71;
}

/* Footer Styles */
footer#socials {
  background: #222;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.light-mode footer#socials {
  background: #eee;
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem; /* Spacing between links */
  margin-bottom: 0.5rem;
}

.socials a {
  color: #fff;
  text-decoration: none;
}

body.light-mode .socials a {
  color: #333;
}

footer#socials p {
  margin: 0.5rem 0;
  text-align: center;
}

footer#socials a {
  color: #2ecc71; /* Emerald */
}

body.light-mode footer#socials a {
  color: #2ecc71;
}

/* Learning Hub Styles */
.learning-hub {
  text-align: center;
}

/* Category Titles for Learn Page */
.course-list h4 {
  font-family: 'Playfair Display', serif; /* Retains elegant font */
  font-size: 1.6rem; /* Larger than course titles for emphasis */
  font-weight: 700; /* Bolder for distinction */
  color: #f5e050; /* Gold for dark mode, Luciferian aesthetic */
  margin: 2rem 0 1rem; /* Extra spacing to separate from course titles */
  text-transform: uppercase; /* Authoritative look */
  letter-spacing: 1px; /* Improved readability */
}

/* Light mode adjustments for category titles */
.light-mode .course-list h4 {
  color: #2c3e50; /* Darker shade for contrast in light mode */
  border-bottom: 2px solid #2c3e50; /* Matching border for light mode */
}



.course-list ul {
  list-style: none;
  padding: 0;
}

.course-list li {
  margin: 0.5rem 0;
}

.course-list a {
  color: #2ecc71; /* Emerald */
  text-decoration: none;
}

body.light-mode .course-list a {
  color: #2ecc71;
}

/* Mode Toggle Button */
.mode-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #2ecc71; /* Emerald */
  color: #fff;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 5px;
}

body.light-mode .mode-toggle {
  background: #2ecc71;
  color: #fff;
}

/* Media Queries */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  /* Responsive adjustments */
@media (max-width: 600px) {
  .course-list h4 {
    font-size: 1.4rem; /* Slightly smaller for mobile */
  }

  .socials {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem; /* Tighter spacing for mobile */
  }

  .video-container {
    max-width: 100%; /* Full width on small screens */
    padding-bottom: 56.25%; /* 16:9 for widescreen */
  }

  .video-container-vertical {
    max-width: 100%; /* Full width on small screens */
    padding-bottom: 177.78%; /* 9:16 for vertical */
  }
}

@media (min-width: 601px) {
  .socials {
    justify-content: center; /* Ensure centering on larger screens */
  }
}


