/* ========================================
    HOME PAGE SPECIFIC STYLES
   ======================================== */
section.main {
  background: url("/static/home/Imagen3.webp") 60% 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--awa-primary-dark);
  color: var(--awa-text-light);
  font-size: var(--fs-base);
}

/* Fallback for browsers without WebP support */
@supports not (background-image: url("/static/home/Imagen3.webp")) {
  section.main {
    background-image: url("/static/home/Imagen3.png");
  }
}

/* Background-attachment scroll for mobile, fixed for desktop */
section.main {
  background-attachment: scroll;
}

@media (min-width: 769px) {
  section.main {
    background-attachment: fixed;
  }
}

.main-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: var(--fs-4xl);
}

/* ========================================
   REUSABLE CLASSES FOR SECTIONS
   ======================================== */

/* Section with light blue background (for alternate sections) */
.section-blue {
  background-color: var(--awa-bg-blue);
}

/* Section with white background (for even sections) */
.section-white {
  background-color: var(--awa-bg-white);
}

/* Section titles in primary color - use in any section */
.section-title {
  color: var(--awa-primary);
  font-size: var(--fs-4xl);
  font-weight: 500;
}

.section-subtitle {
  color: var(--awa-primary);
  font-size: var(--fs-xl);
  font-weight: 400;
}

/* Base text styles for sections */
.section-text {
  font-size: var(--fs-base);
  line-height: 1.6;
}

.section-text-lg {
  font-size: var(--fs-lg);
  line-height: 1.6;
}

/* ========================================
    CONTACT SECTION
   ======================================== */

ul.contact {
  list-style-type: square;
}

section.contact a {
  color: var(--bs-body-color);
}

/* ========================================
   GENERAL TEXT STYLES
   ======================================== */
section {
  font-size: var(--fs-base);
}

section h1 {
  font-size: var(--fs-3xl);
}

section h2 {
  font-size: var(--fs-2xl);
}

section h3,
section h4,
section h5 {
  font-size: var(--fs-xl);
}

section p,
section li {
  font-size: var(--fs-base);
}

/* Utility classes for text sizes */
.text-responsive-sm {
  font-size: var(--fs-sm);
}

.text-responsive-base {
  font-size: var(--fs-base);
}

.text-responsive-lg {
  font-size: var(--fs-lg);
}

.text-responsive-xl {
  font-size: var(--fs-xl);
}

.text-responsive-2xl {
  font-size: var(--fs-2xl);
}

/* ========================================
   VIDEO THUMBNAILS AND LITE-YOUTUBE
   ======================================== */
lite-youtube {
  max-width: 100%;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.video-thumb-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.video-thumb-link:hover {
  transform: scale(1.02);
}

.video-thumb-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.video-thumb-wrapper img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.video-thumb-link:hover .play-icon {
  color: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
  text-align: center;
  font-size: var(--fs-base);
  padding-top: 0.75rem;
  color: var(--bs-body-color);
}

/* ========================================
    VIDEO MODAL
   ======================================== */
#videoModal .modal-body {
  padding: 0;
  background: #000;
}

#videoModal lite-youtube {
  width: 100%;
  max-width: 100%;
}

/* ========================================
    PREFER-REDUCED-MOTION SUPPORT
   ======================================== */
@media (prefers-reduced-motion: reduce) {

  .video-thumb-link,
  .play-icon {
    transition: none;
  }

  .video-thumb-link:hover {
    transform: none;
  }

  .video-thumb-link:hover .play-icon {
    transform: translate(-50%, -50%);
  }
}