body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #1e1e1e;
  color: #f0f0f0;
}

.header {
  background: #2b2b2b;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}


.gallery-image-container {
  max-width: 300px;
  margin: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-image-container img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-image-container img:hover {
  transform: scale(1.05);
}


.nav-links li a:hover {
  color: #ffa500;
}

.main-content {
  padding: 2rem;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero a {
  color: #ffa500;
  text-decoration: none;
}

.cast-section {
  margin-top: 3rem;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.cast-card {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.cast-card img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.cast-card h3 {
  margin: 0.3rem 0;
}

.footer {
  text-align: center;
  padding: 1rem;
  background: #2b2b2b;
  margin-top: 4rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive fixes */
@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .cast-card img {
    height: 150px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
  
  .upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.upload-form label {
    font-weight: bold;
}

.upload-form input[type="text"],
.upload-form input[type="number"],
.upload-form input[type="file"] {
    padding: 0.5rem;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.upload-form button {
    background-color: #333;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.upload-form button:hover {
    background-color: #555;
}

.success {
    color: green;
    font-weight: bold;
    margin-bottom: 1rem;
}

.error {
    color: red;
    font-weight: bold;
    margin-bottom: 1rem;
}

}
