/* style/index.css */

/* Custom Red Gold v1 Colors */
:root {
  --page-index-primary-color: #C61F1F;
  --page-index-secondary-color: #E53030;
  --page-index-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --page-index-card-bg: #2A1212;
  --page-index-background: #140C0C;
  --page-index-text-main: #FFF1E8;
  --page-index-border-color: #6A1E1E;
  --page-index-gold-color: #F3C54D;
  --page-index-deep-red: #7E0D0D;
}

/* General Page Styling (assuming body background is light from shared.css for text contrast) */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--page-index-background); /* Override for main content background */
}

.page-index p {
  margin-bottom: 1em;
  color: var(--page-index-text-main);
}

.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: var(--page-index-gold-color);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.page-index a {
  color: var(--page-index-gold-color);
  text-decoration: none;
}

.page-index a:hover {
  text-decoration: underline;
}

.page-index__quick-access-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--page-index-button-gradient);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-index__spacing-medium {
  margin-bottom: 30px;
}

/* Module 1: Hero Slider */
.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, relying on body padding from shared.css */
  overflow: hidden;
  max-width: 1920px; /* Ensure it doesn't get too wide on very large screens */
  margin: 0 auto;
}

.page-index__hero-slider-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-index__hero-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex; /* Ensure image centers if smaller than container */
  align-items: center;
  justify-content: center;
}

.page-index__hero-slider-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.page-index__hero-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  min-width: 200px; /* Minimum size requirement */
  min-height: 112.5px; /* Minimum size requirement (200 * 9/16) */
}