:root {
  --brand-yellow: #ffd800;
  --brand-rose: #8c2a57;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9fb;
  color: #333;
  line-height: 1.6;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 2px;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand-rose);
  border-bottom: 3px solid var(--brand-yellow);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

nav .logo img {
  height: 50px;
}

/* Menu */
nav .menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

nav .menu li a {
  text-decoration: none;
  color: var(--brand-yellow);
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav .menu li a:hover,
nav .menu li a:focus {
  color: #fff;
}

nav .menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-yellow);
  transition: width 0.3s ease;
}

nav .menu li a:hover::after,
nav .menu li a:focus::after {
  width: 100%;
}

/* Active link */
nav ul li.active a {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-yellow);
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--brand-yellow);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--brand-rose);
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }

  nav .menu.show {
    max-height: 300px;
    opacity: 1;
    padding: 1rem 0;
  }

  nav .menu li {
    margin: 10px 0;
  }
}

/* Background wrapper */
.page-bg {
  position: relative;
  min-height: 100vh;
}

.page-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/static/images/PHOTO-2024-07-02-20-47-43-1.jpg') center/cover no-repeat;
  z-index: -1;
}

/* Hero */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: none !important;
  margin-top: 70px; /* prevents navbar overlap */
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1200px;
  width: 100%;
}

.hero-text-container {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.hero-text-container h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--brand-yellow);
}

.hero-text-container p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 450px;
  color: #f0f0f0;
}

.btn-read-more {
  display: inline-block;
  background: var(--brand-yellow);
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-read-more:hover {
  background-color: var(--brand-rose);
  color: #fff;
  transform: scale(1.05);
}

.hero-video-container {
  flex: 1;
  padding-left: 20px;
  display: flex;
  justify-content: center;
}
.hero-video-container video {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: 4px solid var(--brand-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure no gradient on small screens */
@media (max-width: 768px) {
  .hero-section {
    background: none !important;
  }
}

/* Footer */
.inclusifit-footer {
  font-family: Arial, sans-serif;
}

/* Top Section */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brand-yellow);
  padding: 20px 50px;
  color: #000;
}

.footer-nav a {
  margin-right: 20px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--brand-rose);
}

.footer-mission {
  flex-grow: 1;
  text-align: center;
  max-width: 500px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  margin-left: 20px;
  text-decoration: none;
  color: #000;
}

.social-icon img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

/* Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brand-rose);
  color: #fff;
  padding: 15px 50px;
  position: relative;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-copyright {
  flex-grow: 1;
  text-align: center;
}

.scroll-to-top {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: var(--brand-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.scroll-to-top a {
  color: var(--brand-rose);
  text-decoration: none;
  font-size: 24px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }

  .footer-nav a,
  .footer-social,
  .footer-mission {
    margin: 10px 0;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom .footer-links,
  .footer-bottom .footer-copyright {
    margin: 5px 0;
  }

  .scroll-to-top {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
}
