/* style/index.css */

/* Base styles for the page content */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

/* General container for content sections */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section styling for visual separation and contrast */
.page-index__dark-bg {
  background-color: var(--dark-bg-2, #1a1a1a); /* A slightly lighter dark for contrast */
  color: #ffffff;
}

.page-index__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Headings */
.page-index h1,
.page-index h2,
.page-index h3 {
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index h1 {
  font-size: 48px;
  color: #FFD700; /* Primary color for main title */
  text-align: center;
}

.page-index h2 {
  font-size: 36px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #FFD700; /* Primary color for section titles */
}

.page-index h3 {
  font-size: 24px;
  color: #000080; /* Secondary color for sub-titles in light sections */
}

.page-index__dark-bg h3 {
  color: #FFD700; /* Primary color for sub-titles in dark sections */
}

/* Paragraphs and lists */
.page-index p {
  margin-bottom: 15px;
}

.page-index ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-index li {
  margin-bottom: 8px;
}

/* --- Video Section --- */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: var(--dark-bg-1); /* Ensure it's dark for contrast */
}

.page-index__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-index__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5); /* Darker overlay for better contrast */
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary color */
  color: #000080; /* Dark blue text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  min-width: 180px; /* Ensure button has a minimum size */
}

.page-index__play-now-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section (H1 Title + CTA) --- */
.page-index__hero-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--dark-bg-2, #1a1a1a); /* Dark background for this section */
  color: #ffffff;
}

.page-index__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: 52px;
  margin-bottom: 25px;
  color: #FFD700; /* Bright gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  border: 2px solid transparent;
}

.page-index__btn-primary {
  background: #FFD700; /* Primary color */
  color: #000080; /* Dark blue text for contrast */
}

.page-index__btn-primary:hover {
  background: #e6c200;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.page-index__btn-secondary {
  background: #000080; /* Secondary color */
  color: #FFD700; /* Bright gold text for contrast */
  border-color: #FFD700;
}

.page-index__btn-secondary:hover {
  background: #000066; /* Slightly darker blue */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}


/* --- FAQ Section --- */
.page-index__faq-section {
  padding: 80px 20px;
}

.page-index__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-main-title {
  color: #000080; /* Dark blue for title in light section */
}

.page-index__faq-list {
  margin-top: 40px;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Sufficiently large max-height */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index__faq-question:active {
  background: #eeeeee;
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}