* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #1f1f1f;
}

nav h1 {
  font-size: 1.8rem;
  color: #facc15;
}

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

nav ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #facc15;
}

header {
  background-image: url('https://images.unsplash.com/photo-1600508771370-019d5d0c4944?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

header .hero-content {
  position: relative;
  max-width: 800px;
  padding: 20px;
}

header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.btn {
  background-color: #facc15;
  color: #000;
  padding: 0.8rem 1.5rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #eab308;
}

section {
  padding: 4rem 2rem;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.movies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.movie-card {
  background-color: #1f1f1f;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.movie-card:hover {
  transform: scale(1.02);
}

.movie-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.movie-card .info {
  padding: 1rem;
}

.movie-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.movie-card p {
  font-size: 0.9rem;
  color: #aaa;
}

footer {
  background-color: #1f1f1f;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 600px) {
  header h2 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
}

.movie-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.movie-btn {
  display: inline-block;
  background-color: #facc15;
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s;
}

.movie-btn:hover {
  background-color: #eab308;
}

