/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #2b2b2b;
  font-family: "Open Sans", sans-serif;
}

/* FONT PAIRING - TYPOGRAPHY */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600&display=swap");

/* ROOT */
:root {
  --anthracite: #2c2c2c;
  --lime: #b4f000;
  --warm-gray: #d6d2cd;
  --white: #ffffff;
  --font-heading: "Raleway", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

/* MAIN WEBSITE CONTAINER */
.website_container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-bottom: 1.5rem;
}

/* NAVIGATION */
.nav_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
}

/* LOGO */
.nav_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.nav_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* DESKTOP NAV ITEMS */
.nav_items {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav_items li a {
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  color: #c7ea46;
  transition: color 0.3s ease;
}

.nav_items li a:hover {
  color: #ffffff;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 99999;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #c7ea46;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* FULLSCREEN MOBILE MENU */
.mobile_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(20, 20, 20);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 20;
}

.mobile_menu.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile_menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile_menu ul li {
  margin: 1.5rem 0;
}

.mobile_menu ul li a {
  font-family: "Raleway", sans-serif;
  font-size: 2rem;
  color: #c7ea46;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile_menu ul li a:hover {
  color: #ffffff;
}

/* SHOW HAMBURGER ON MOBILE */
@media (max-width: 768px) {
  .nav_items {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Default transparent navbar */
.mainNavBar {
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
    transform 0.3s ease;
}

/* When user scrolls */
.mainNavBar.scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transform: translateY(0);
}

.mainNavBar.scrolled {
  transform: translateY(-2px);
}

.hero {
  background: url("/images/hero-coach.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 10rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  background: rgba(44, 44, 44, 0.6);
  padding: 2rem;
  border-radius: 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--lime);
  color: var(--anthracite);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  transition: 0.3s;
}

.cta-btn:hover {
  background: var(--anthracite);
  color: var(--lime);
}

/* BIO */
.bio {
  padding: 6rem 2rem;
  background: var(--warm-gray);
}

.bio-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.bio-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bio-subtitle {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.bio-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.bio-highlights li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 500;
}

.bio-highlights i {
  font-size: 1.5rem;
  color: var(--lime-green);
  margin-right: 0.75rem;
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid #2b2b2b;
  color: var(--lime-green);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: 0.3s ease;
}

.cta-btn.secondary:hover {
  background: #c7ea46;
  color: #fff;
  border: 2px solid #2b2b2b00;
}

/* Responsive */
@media (max-width: 768px) {
  .bio-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bio-highlights li {
    justify-content: center;
  }
}

/* CERTIFICATES */
.certificates {
  background: var(--warm-gray);
  text-align: center;
  padding: 3rem 1rem;
}

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

.badge-container img {
  height: 300px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.badge-container img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* APPROACH */
.approach {
  padding: 5rem 10%;
  text-align: center;
}

.approach_heading {
  color: #b4f000;
}

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

.approach-card {
  border: 1px solid var(--warm-gray);
  border-radius: 1rem;
  padding: 2rem;
  background: var(--white);
  transition: 0.3s;
}

.approach-card:hover {
  border-color: var(--lime);
  transform: translateY(-5px);
}

/* CTA SECTION */
.cta-section {
  background: var(--anthracite);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section .cta-btn {
  margin-top: 1.5rem;
}

.footer {
  background-color: #1e1e1e;
  color: #e6e6e6;
  padding: 4rem 2rem 2rem;
  font-family: "Open Sans", sans-serif;
}

.footer-content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.footer .brand img {
  width: 120px;
  margin-bottom: 1rem;
}

.footer .brand p {
  font-size: 0.95rem;
  color: #cfcfcf;
  line-height: 1.5;
}

.footer h4 {
  font-family: "Raleway", sans-serif;
  color: #c7ea46;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #dcdcdc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #c7ea46;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #c7ea46;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #c7ea46;
  color: #1e1e1e;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

/*CERTIFICATE IMAGE OVERLAY*/

.img-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  overflow: hidden;
  animation: fadeIn 0.3s ease forwards;
}

.img-overlay.active {
  display: flex;
}

.img-overlay img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  animation: zoomIn 0.3s ease forwards;
  transition: transform 0.3s ease;
}

.img-overlay img:hover {
  transform: scale(1.03);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Adjust image size for mobile */
@media (max-width: 768px) {
  .img-overlay img {
    max-width: 95vw;
    max-height: 70vh;
    border-radius: 0.75rem;
  }
}
