/* Cấu trúc chung */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2em;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Tìm kiếm phim */
#search {
    padding: 20px 0;
    background-color: #fff;
    margin-top: 20px;
}

#search input {
    padding: 10px;
    width: 80%;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* Danh sách phim */
.movie-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.movie-card {
  background-color: #fff;
  width: 23%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.movie-card h3 {
  font-size: 1.2em;
  margin: 15px 10px 5px;
}

.movie-card p {
  margin: 5px 10px;
}

.ticket-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
}

.buy-ticket {
  flex: 1;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-ticket:hover {
  background-color: #218838;
}



/* Footer */
#footer {
  background: linear-gradient(
    135deg,
    #000000,
    #fdfdfd
  ); /* Nền gradient đẹp mắt */
  color: #fff;
  padding: 60px 0;
  font-family: "Arial", sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Footer-top */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-contact-info h3,
.footer-customer-service h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #fff; /* Màu trắng cho tiêu đề */
}

.footer-contact-info p,
.footer-customer-service li {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Liên kết mạng xã hội */
.social-links {
  margin-top: 20px;
}

.social-links a {
  font-size: 1.6em;
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.2); /* Hiệu ứng hover tăng kích thước */
}

/* Liên hệ */
.footer-contact-info i {
  color: #fff;
  margin-right: 10px;
}

/* Dịch vụ khách hàng */
.footer-customer-service {
  flex: 1;
  min-width: 250px;
}

.footer-customer-service .service-links {
  list-style: none;
  padding-left: 0;
  font-size: 1em;
}

.footer-customer-service .service-links li {
  margin-bottom: 10px;
}

.footer-customer-service .service-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-customer-service .service-links li a:hover {
  color: #f8f9fa; /* Màu trắng khi hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-contact-info,
  .footer-customer-service {
    text-align: center;
    min-width: 100%;
  }
}
