/* =============================
   Global Reset
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================
   Header
============================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 20px;
  border-bottom: 3px solid #e50914;
}

.logo-container {
  max-width: 180px;
}

.site-logo {
  width: 100%;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e50914;
  text-shadow: 0 0 5px #e50914;
}

/* =============================
   Homepage Layout Grid
============================= */
.homepage-grid {
   display: grid;
  grid-template-columns: 2.5fr 1.5fr 1fr;
  gap: 80px;
  padding: 80px clamp(2rem, 5vw, 100px);
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  align-items: start;
  align-content: start;
}
.story-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.story-link:hover {
  color: #e50914;
  text-shadow: 0 0 5px #e50914;
}

/* =============================
   Hero Section
============================= */
.hero {
  background-color: #1a1a1a;
  padding: 40px;
  border: 1px solid #e50914;
  border-radius: 4px;
  grid-column: 1 / 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: start;
}

.hero:hover {
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.hero h1 {
  font-size: 2.8rem;
  color: #e50914;
  margin-bottom: 10px;
  text-align: left;
}

.hero p {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 20px;
  text-align: left;
}

.hero video {
  width: 100%;
  max-width: 100%;
  border: 3px solid #e50914;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.hero video:hover {
  transform: scale(1.02);
}

/* =============================
   Main Content Area
============================= */
.main-content {
  grid-column: 2 / 3;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.main-content article {
  margin-bottom: 40px;
  transition: background-color 0.3s, transform 0.3s;
}

.main-content article:hover {
  background-color: #1f1f1f;
  transform: translateY(-3px);
}

.main-content h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.main-content p {
  color: #bbb;
  font-size: 1.1rem;
}

/* =============================
   Sidebar
============================= */
.sidebar {
  background-color: #1a1a1a;
  padding: 25px;
  border-left: 2px solid #e50914;
  border-radius: 4px;
  grid-column: 3 / 4;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-self: start;
}

.sidebar:hover {
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.sidebar h3 {
  font-size: 1.4rem;
  color: #e50914;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.sidebar a:hover {
  color: #e50914;
  text-shadow: 0 0 5px #e50914;
}

.cta {
  background-color: #262626;
  padding: 18px;
  margin-top: 25px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.cta:hover {
  transform: scale(1.02);
}

.cta h4 {
  color: #fff;
  margin-bottom: 10px;
}

.cta p {
  color: #ccc;
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  background-color: #e50914;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
  background-color: #c20811;
  transform: translateY(-2px);
}

/* =============================
   Footer
============================= */
footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 2px solid #333;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* =============================
   Responsive
============================= */
@media (max-width: 960px) {
  .homepage-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .main-content,
  .sidebar {
    grid-column: 1 / -1;
  }

  .main-content,
  .sidebar {
    margin-top: 30px;
  }
}
