/* Reset and base styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #c8102e;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #9c0e24;
}

/* Header Section */
.header-block {
  background-color: #0d2235;
  padding: 10px 40px;
  border-bottom: 5px solid #d21f3c;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.left-side {
  flex: 1;
}
.giant-logo {
  height: 200px;
  max-width: 100%;
}
.right-side {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 15px;
}
.main-nav .call-btn {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
  padding: 10px 15px;
}

/* Selector Buttons */
.selectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  padding: 1rem;
  gap: 1rem;
}
.selectors button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #c8102e;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}
.selectors button:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.selectors button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Trailer Cards */
.trailers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}
.trailer-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  padding-bottom: 60px; /* Space for button footer */
}
.trailer-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.trailer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 0;
}
.trailer-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  color: #c8102e;
  z-index: 2;
  position: relative;
}
.trailer-card p {
  margin: 0 1rem 1rem;
  color: #555;
  z-index: 2;
  position: relative;
}
.trailer-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #002f6c;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid #001c4f;
  z-index: 2;
}
.trailer-footer .view-details {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: block;
}
.trailer-footer .view-details:hover {
  text-decoration: underline;
}

/* Full-card overlay link */
.card-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Testimonial Ticker */
.testimonial-ticker {
  background-color: #f1f1f1;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #c8102e;
  border-bottom: 2px solid #c8102e;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #001f3f;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-track span {
  display: inline-block;
  margin-right: 3rem;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Footer */
footer {
  background: #001f3f;
  color: white;
  padding: 2rem;
  text-align: center;
}
footer a {
  color: #0fdbff;
  text-decoration: underline;
  margin: 0 0.3rem;
}
.footer-nav {
  margin: 1rem 0;
}

/* Main large image */
.main-trailer-img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border: 2px solid #ccc;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
}

/* Thumbnail row container */
.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Individual thumbnails */
.thumb-row img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* Hover effect for thumbnail */
.thumb-row img:hover {
  border-color: #4CAF50;
  transform: scale(1.05);
  opacity: 0.9;
}

/* FAQ Pages */
.faq-subtitle {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 0;
}
.faq-banner {
  width: 60%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }
  .right-side {
    justify-content: center;
  }
  .giant-logo {
    height: 140px;
    margin-bottom: 20px;
  }
  .main-nav {
    justify-content: center;
  }
  .trailer-card {
    padding-bottom: 70px;
  }
}
.trailer-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.trailer-card .trailer-footer {
  margin-top: auto;
  z-index: 2;
  position: relative;
}

.trailer-card .view-details {
  display: inline-block;
  background: #002f6c;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.card-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-decoration: none;
}
