/* ===== BASE STYLES ===== */
:root {
  --primary-red: #e50914;
  --dark-bg: #141414;
  --light-text: #fff;
  --gray-text: #8c8c8c;
  --bg-opacity: 0.85;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  overflow: hidden; /* Disable scrolling */
  width: 100%;
  height: 100%;
}

body {
  background-color: var(--dark-bg);
  color: var(--light-text);
  position: fixed; /* Prevent scrolling */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 1.6;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-red);
  color: white;
  padding: 8px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-btn, .get-started-btn {
  background-color: var(--primary-red);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-btn {
  padding: 8px 15px;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background-color: #f40612;
  transform: scale(1.05);
}

/* ===== HERO SECTION ===== */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 80px; /* Space for footer */
  background: 
    linear-gradient(rgba(0, 0, 0, var(--bg-opacity))), 
    url("../images/Bg_image.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background-color: #000; /* Fallback */
  overflow: hidden; /* Prevent any internal scrolling */
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 7rem;
  background: linear-gradient(to top, var(--dark-bg), transparent);
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  max-height: 100%;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.cta-button {
  margin-top: 2rem;
}

.get-started-btn {
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.get-started-btn:hover {
  background-color: #f40612;
  transform: scale(1.05);
}

.get-started-btn i {
  transition: transform 0.3s ease;
}

.get-started-btn:hover i {
  transform: translateX(5px);
}

/* ===== FOOTER ===== */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 15px 4%;
  background-color: rgba(20, 20, 20, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* Added for positioning */
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.footer-links a:hover {
  color: var(--light-text);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-content p {
    position: static;
    transform: none;
    order: 2; /* Moves copyright below links */
  }
  
  .footer-links {
    gap: 15px;
    order: 1;
  }
}

