/* =========================== Global Styles =========================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* =========================== Header =========================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .left {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.header .left h1 {
  font-size: 1.5rem;
  color: #e50914;
  margin: 0;
}

.header .my {
  width: 40px;
  height: auto;
}
.logo {
  font-size: 1.3rem;
  font-weight: bold;
}

.search {
  flex: 1;
  display: flex;
  margin: 0 2rem;
  max-width: 500px;
}

.searching {
  padding: 0.5rem;
  border-radius: 5px 0 0 5px;
  border: 1px solid #ccc;
}
.search input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search button {
  padding: 0.6rem 1rem;
  background: #e50914;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.search button:hover {
  background: #b20710;
}

.oh {
  padding: 0.5rem 1rem;
  border: none;
  background: #333;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  text-decoration: underline;
  color: #e50914;
}

/* =========================== Hero Section =========================== */
.hero {
  height: 10vh; /* full screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #e50914, #b20710);
  color: white;
  padding: 4rem 2rem;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.hero button {
  padding: 0.7rem 1.4rem;
  background: #fff;
  color: #e50914;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s, color 0.3s;
}

.hero button:hover {
  background: #b20710;
  color: #fff;
  transform: scale(1.05);
}

/* =========================== Welcome Section =========================== */
.welcome {
  height: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #f9f9f9; /* Light background */
  color: #333;
  padding: 3rem 2rem;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.welcome button {
  padding: 0.7rem 1.4rem;
  background: #e50914;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.welcome button:hover {
  background: #b20710;
  transform: scale(1.05);
}


/* =========================== Movies Section =========================== */
.movies {
  padding: 2rem;
}

.movies h2 {
  margin-bottom: 1rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Card */
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-details {
  padding: 1rem;
}

.card-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #222;
}

.rating {
  font-size: 0.9rem;
  color: #e50914;
  margin-bottom: 0.3rem;
}

.genre,
.timings {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4rem;
}

/* Book Button */
.book-btn {
  display: inline-block;
  background: #e50914;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.book-btn:hover {
  background: #b20710;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}
#footer .one {
  display: flex;
  flex-direction: column;   /* Stack content vertically */
  align-items: center;      /* Center horizontally */
  text-align: center;       /* Center text */
  gap: 1rem;                /* Space between text & button */
  padding: 1.5rem;
}

#footer .one p {
  font-size: 1rem;
  color: #333;
  max-width: 600px;         /* Optional: keeps text neat */
}

#footer .one button {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

#footer .one button:hover {
  background: #b20710;
}

/* Support Section */
.support {
  background: #f8f8f8;
  padding: 4rem 2rem;
  text-align: center;
}

.support-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: #222;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.support-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.icon-wrapper {
  background: #ffecec;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper img {
  width: 50px;
  height: 50px;
}

.support-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #e50914;
}

.support-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.support-btn {
  display: inline-block;
  background: #e50914;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.support-btn:hover {
  background: #b20710;
}

