*, *::before, *::after {
  box-sizing: border-box;
}

/* Global Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Navbar */
#navbar {
  position: sticky;
  top: 0;
  background-color: #800000; /* Maroon banner */
  z-index: 1000;
}

#navbar nav {
  padding: 1.75rem 0;
  transition: padding 0.3s ease;
}

#navbar nav .logo img {
  transition: max-height 0.3s ease;
  max-height: 50px;
}

#navbar.shrink nav .logo img {
  max-height: 35px;
}

#navbar.shrink nav {
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.logo img {
  height: 40px; /* smaller */
  max-width: 150px;
  object-fit: contain;
}

.top-banner {
  background-color: #800000;
  padding: 0rem 1.25rem;
  align-items: center;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.top-banner.shrink {
  padding: 0.25rem 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff !important;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.85;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.menu-toggle i {
  color: white;
}

.menu-toggle.open i::before {
  content: "\f00d";
}


/* Responsive Navigation */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px;
    right: 20px;
    background-color: #800000;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1001;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: right;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
  }
}

/* Footer */
.footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer .social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  text-decoration: none;
}

.footer p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer .social-icons i {
  font-size: 1.8rem;
  margin: 0 0.5rem;
  color: #800000;
  transition: color 0.3s ease;
}

.footer .social-icons i:hover {
  color: #a10000;
}

/* Play Button Styling */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: auto;
}

.play-button img.play-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.95;
  box-shadow: 0 0 15px rgba(128, 0, 0, 0.5);
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.play-button img.play-icon:hover {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 20px rgba(128, 0, 0, 0.8);
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #800000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background-color: #a10000;
  transform: translateY(-4px);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}
.back-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid #800000;
  color: #800000;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background-color: #800000;
  color: #fff;
}
