/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #0e0e0e;
  color: #f5f5f5;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: #e50914;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
.site-header, .site-footer {
  background-color: #111;
  padding: 1rem 2rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.9rem;
  color: #888;
}

/* Navigation */
.nav-bar ul {
  list-style: none;
  display: flex;           /* makes them horizontal */
  justify-content: center; /* centers them */
  align-items: center;
  gap: 2rem;               /* space between links */
  padding: 0;
  margin: 0;
}

.nav-bar li {
  display: inline; /* ensures list items behave inline */
}

.nav-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.nav-link {
  color: #ccc;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-bottom: 2px solid #e50914;
}

/* Hero Section */
.hero {
  background: url('https://source.unsplash.com/1600x900/?cinema,studio') no-repeat center center/cover;
  padding: 6rem 2rem;
  text-align: center;
  color: #fff;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px #000;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px #000;
}

/* Page Banners */
.page-banner {
  padding: 4rem 2rem 2rem;
  text-align: center;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
}
.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: #aaa;
  font-size: 1.1rem;
}

/* About Section */
.about {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about p {
  font-size: 1.05rem;
  color: #ddd;
}

/* Projects Section */
.projects-section {
  padding: 3rem 2rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-card {
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.project-card:hover {
  transform: scale(1.03);
}
.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.project-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.project-card p {
  color: #bbb;
}

/* Contact Section */
.contact-section {
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}
.contact-wrapper {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-info h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.contact-info p {
  margin: 0.5rem 0;
  color: #ccc;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin-bottom: 0.3rem;
  color: #ddd;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  background-color: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
  border-radius: 5px;
}
.contact-form button {
  background-color: #e50914;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  background-color: #c40812;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-bar ul {
    flex-direction: column;
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .page-banner h1 {
    font-size: 2rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
