* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Shared Full Page Background */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* Page Background Base */
body.news-page,
body.contact-page {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 80px;
}

/* Specific Backgrounds */
body.news-page {
  background-image: url("assets/news-bg.jpg");
}

body.contact-page {
  background-image: url("assets/contact-bg.jpg");
}

body.news-page::before,
body.contact-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1rem;
  text-decoration: none;
  color: white;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo span {
  color: #e10600;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: 0.3s;
}

nav a:hover {
  color: #e10600;
}

.hero {
  position: relative;
  height: 100vh;
  padding-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  opacity: 0.7;
  margin-bottom: 30px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
}

body.home-page {
  background-image: url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Background Layer */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.bg-layer img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.2s ease-out;
}

.btn {
  background: #e10600;
  padding: 12px 30px;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #b00500;
}

.btn-outline {
  border: 2px solid #e10600;
  padding: 10px 25px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #e10600;
}

.about, .cta, .page {
  padding: 50px 10%;
  text-align: center;
}

.about h2,
.cta h2,
.page h1 {
  margin-bottom: 20px;
}

.sponsor {
  padding: 50px 10%;
  text-align: center;
}

.sponsor h2 {
  margin-bottom: 40px;
  letter-spacing: 2px;
  font-weight: 400;
}

.sponsor-logo img {
  max-width: 500px;
  width: 100%;
  opacity: 0.85;
  opacity: 0.8;
  transition: 0.3s ease;
}

.sponsor-logo img:hover {
  transform: scale(1.02);
  opacity: 1;
}

.news-placeholder {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #111;
  padding: 20px;
  width: 250px;
  border: 1px solid #222;
}

form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

form input,
form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: none;
  background: #111;
  color: #fff;
}

footer {
  text-align: center;
  padding: 30px;
  background: #111;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .news-placeholder {
    flex-direction: column;
    align-items: center;
  }
}