/*
Theme Name: American Raiders
Theme URI: https://americanraiders.com
Author: NG2A
Author URI: https://ng2a.com
Description: Custom theme for American Raiders — an adult amateur football team representing the United States in international competition and the CSIT Amateur Olympics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-raiders
Tags: sports, football, athletic, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  --ar-navy: #041E42;
  --ar-red: #A6192E;
  --ar-silver: #8A8D8F;
  --ar-white: #FFFFFF;
  --ar-black: #000000;
  --ar-navy-90: rgba(4, 30, 66, 0.9);
  --ar-red-dark: #8a1425;
  --ar-red-light: #c42040;
  --ar-gray-light: #f4f4f4;
  --ar-gray-medium: #e0e0e0;
  --ar-font-heading: 'Oswald', sans-serif;
  --ar-font-body: 'Open Sans', sans-serif;
  --ar-container: 1200px;
  --ar-container-wide: 1400px;
  --ar-transition: 0.3s ease;
  --ar-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --ar-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --ar-radius: 4px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ar-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ar-black);
  background-color: var(--ar-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ar-red);
  text-decoration: none;
  transition: color var(--ar-transition);
}

a:hover {
  color: var(--ar-red-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ar-font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ar-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.5rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.ar-container {
  max-width: var(--ar-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ar-container--wide {
  max-width: var(--ar-container-wide);
}

.ar-section {
  padding: 5rem 0;
}

.ar-section--dark {
  background-color: var(--ar-navy);
  color: var(--ar-white);
}

.ar-section--dark h2,
.ar-section--dark h3,
.ar-section--dark h4 {
  color: var(--ar-white);
}

.ar-section--gray {
  background-color: var(--ar-gray-light);
}

.ar-section--red {
  background-color: var(--ar-red);
  color: var(--ar-white);
}

.ar-section--red h2,
.ar-section--red h3 {
  color: var(--ar-white);
}

.ar-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.ar-section__header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.ar-section__header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--ar-red);
}

.ar-section--dark .ar-section__header h2::after,
.ar-section--red .ar-section__header h2::after {
  background-color: var(--ar-white);
}

.ar-section__header p {
  font-size: 1.125rem;
  color: var(--ar-silver);
  max-width: 700px;
  margin: 1rem auto 0;
}

.ar-grid {
  display: grid;
  gap: 2rem;
}

.ar-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ar-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ar-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.ar-btn {
  display: inline-block;
  font-family: var(--ar-font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--ar-radius);
  cursor: pointer;
  transition: all var(--ar-transition);
  text-align: center;
  line-height: 1.2;
}

.ar-btn--primary {
  background-color: var(--ar-red);
  color: var(--ar-white);
  border-color: var(--ar-red);
}

.ar-btn--primary:hover {
  background-color: var(--ar-red-dark);
  border-color: var(--ar-red-dark);
  color: var(--ar-white);
  transform: translateY(-2px);
  box-shadow: var(--ar-shadow);
}

.ar-btn--secondary {
  background-color: transparent;
  color: var(--ar-white);
  border-color: var(--ar-white);
}

.ar-btn--secondary:hover {
  background-color: var(--ar-white);
  color: var(--ar-navy);
  transform: translateY(-2px);
}

.ar-btn--navy {
  background-color: var(--ar-navy);
  color: var(--ar-white);
  border-color: var(--ar-navy);
}

.ar-btn--navy:hover {
  background-color: #062a5a;
  border-color: #062a5a;
  color: var(--ar-white);
  transform: translateY(-2px);
  box-shadow: var(--ar-shadow);
}

.ar-btn--outline {
  background-color: transparent;
  color: var(--ar-navy);
  border-color: var(--ar-navy);
}

.ar-btn--outline:hover {
  background-color: var(--ar-navy);
  color: var(--ar-white);
  transform: translateY(-2px);
}

.ar-btn--lg {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.ar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--ar-navy-90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--ar-transition), box-shadow var(--ar-transition);
}

.ar-header--scrolled {
  background-color: var(--ar-navy);
  box-shadow: var(--ar-shadow);
}

.ar-header__inner {
  max-width: var(--ar-container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.ar-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ar-header__logo img {
  height: 55px;
  width: auto;
}

.ar-header__logo-text {
  font-family: var(--ar-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ar-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.ar-header__logo-text span {
  display: block;
  color: var(--ar-red);
}

.ar-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
}

.ar-nav__item {
  position: relative;
}

.ar-nav__link {
  display: block;
  font-family: var(--ar-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ar-white);
  padding: 0.5rem 0.75rem;
  transition: color var(--ar-transition);
}

.ar-nav__link:hover,
.ar-nav__link--active {
  color: var(--ar-red);
}

/* Dropdown */
.ar-nav__item:hover .ar-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ar-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--ar-navy);
  border-top: 3px solid var(--ar-red);
  box-shadow: var(--ar-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--ar-transition);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 100;
}

.ar-nav__dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--ar-font-body);
  font-size: 0.875rem;
  color: var(--ar-white);
  transition: all var(--ar-transition);
}

.ar-nav__dropdown a:hover {
  background-color: rgba(166, 25, 46, 0.2);
  color: var(--ar-red);
  padding-left: 1.5rem;
}

.ar-nav__cta {
  margin-left: 0.75rem;
}

/* Mobile Nav Toggle */
.ar-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.ar-nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--ar-white);
  transition: all var(--ar-transition);
  border-radius: 2px;
}

.ar-nav-toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.ar-nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.ar-nav-toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.ar-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ar-white);
  overflow: hidden;
}

.ar-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ar-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 30, 66, 0.7) 0%,
    rgba(4, 30, 66, 0.85) 100%
  );
}

.ar-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem 1.5rem;
}

.ar-hero__subtitle {
  font-family: var(--ar-font-heading);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ar-red);
  margin-bottom: 1rem;
  font-weight: 600;
}

.ar-hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--ar-white);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.ar-hero__title span {
  color: var(--ar-red);
}

.ar-hero__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.8;
}

.ar-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ar-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ar-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: ar-bounce 2s infinite;
}

.ar-hero__scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes ar-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page Hero (interior pages) */
.ar-page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  text-align: center;
  background-color: var(--ar-navy);
  color: var(--ar-white);
  overflow: hidden;
}

.ar-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.ar-page-hero h1 {
  color: var(--ar-white);
  position: relative;
  z-index: 2;
}

.ar-page-hero p {
  position: relative;
  z-index: 2;
  font-size: 1.125rem;
  color: var(--ar-silver);
  max-width: 600px;
  margin: 1rem auto 0;
}

.ar-breadcrumbs {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.ar-breadcrumbs a {
  color: var(--ar-silver);
}

.ar-breadcrumbs a:hover {
  color: var(--ar-red);
}

.ar-breadcrumbs span {
  color: var(--ar-red);
  margin: 0 0.5rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.ar-card {
  background-color: var(--ar-white);
  border-radius: var(--ar-radius);
  overflow: hidden;
  box-shadow: var(--ar-shadow);
  transition: transform var(--ar-transition), box-shadow var(--ar-transition);
}

.ar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ar-shadow-lg);
}

.ar-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.ar-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ar-transition);
}

.ar-card:hover .ar-card__image img {
  transform: scale(1.05);
}

.ar-card__body {
  padding: 1.5rem;
}

.ar-card__tag {
  display: inline-block;
  font-family: var(--ar-font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ar-red);
  margin-bottom: 0.5rem;
}

.ar-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ar-card__title a {
  color: var(--ar-navy);
}

.ar-card__title a:hover {
  color: var(--ar-red);
}

.ar-card__excerpt {
  color: var(--ar-silver);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.ar-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ar-silver);
}

/* Staff / Player Card */
.ar-staff-card {
  text-align: center;
}

.ar-staff-card .ar-card__image {
  aspect-ratio: 3/4;
}

.ar-staff-card .ar-card__image img {
  object-position: bottom;
}

.ar-staff-card .ar-card__body {
  padding: 1.25rem;
}

.ar-staff-card__name {
  font-family: var(--ar-font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--ar-navy);
  margin-bottom: 0.25rem;
}

.ar-staff-card__role {
  font-size: 0.875rem;
  color: var(--ar-red);
  font-weight: 600;
}

.ar-staff-card__number {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--ar-red);
  color: var(--ar-white);
  font-family: var(--ar-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.ar-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.ar-stat {
  text-align: center;
  padding: 3rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ar-stat:last-child {
  border-right: none;
}

.ar-stat__number {
  font-family: var(--ar-font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ar-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ar-stat__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ar-silver);
}

/* ==========================================================================
   Schedule / Events
   ========================================================================== */
.ar-schedule-item {
  display: flex;
  align-items: center;
  background-color: var(--ar-white);
  border-radius: var(--ar-radius);
  overflow: hidden;
  box-shadow: var(--ar-shadow);
  margin-bottom: 1rem;
  transition: transform var(--ar-transition);
}

.ar-schedule-item:hover {
  transform: translateX(5px);
}

.ar-schedule-item__date {
  flex-shrink: 0;
  width: 100px;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--ar-navy);
  color: var(--ar-white);
}

.ar-schedule-item__month {
  font-family: var(--ar-font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ar-red);
}

.ar-schedule-item__day {
  font-family: var(--ar-font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.ar-schedule-item__details {
  flex: 1;
  padding: 1.25rem 1.5rem;
}

.ar-schedule-item__title {
  font-family: var(--ar-font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--ar-navy);
  margin-bottom: 0.25rem;
}

.ar-schedule-item__info {
  font-size: 0.875rem;
  color: var(--ar-silver);
}

.ar-schedule-item__result {
  flex-shrink: 0;
  padding: 1.5rem;
  text-align: center;
}

.ar-schedule-item__score {
  font-family: var(--ar-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ar-navy);
}

.ar-schedule-item__status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ar-schedule-item__status--win { color: #28a745; }
.ar-schedule-item__status--loss { color: var(--ar-red); }
.ar-schedule-item__status--upcoming { color: var(--ar-silver); }

/* ==========================================================================
   Sponsors
   ========================================================================== */
.ar-sponsors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.ar-sponsors img {
  max-height: 60px;
  opacity: 0.6;
  transition: opacity var(--ar-transition);
  filter: grayscale(100%);
}

.ar-sponsors img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.ar-testimonial {
  background-color: var(--ar-white);
  border-radius: var(--ar-radius);
  padding: 2.5rem;
  box-shadow: var(--ar-shadow);
  position: relative;
}

.ar-testimonial::before {
  content: '\201C';
  font-family: var(--ar-font-heading);
  font-size: 5rem;
  color: var(--ar-red);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.ar-testimonial__text {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.ar-testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ar-testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.ar-testimonial__name {
  font-family: var(--ar-font-heading);
  font-size: 0.9375rem;
  text-transform: uppercase;
  color: var(--ar-navy);
}

.ar-testimonial__role {
  font-size: 0.8125rem;
  color: var(--ar-silver);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.ar-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.5rem;
}

.ar-gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.ar-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ar-gallery__item:hover img {
  transform: scale(1.1);
}

.ar-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 30, 66, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ar-transition);
}

.ar-gallery__item:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Uniforms Showcase
   ========================================================================== */
.ar-uniforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--ar-container);
  margin: 0 auto;
}

.ar-uniforms-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ar-uniforms-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ar-uniform-card {
  background: var(--ar-white);
  border-radius: var(--ar-radius);
  overflow: hidden;
  box-shadow: var(--ar-shadow);
  transition: transform var(--ar-transition), box-shadow var(--ar-transition);
}

.ar-uniform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ar-shadow-lg);
}

.ar-uniform-card__image {
  background: #2a2a2a;
  overflow: hidden;
  cursor: pointer;
}

.ar-uniform-card__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.ar-uniform-card:hover .ar-uniform-card__image img {
  transform: scale(1.03);
}

.ar-uniform-card__label {
  padding: 1rem 1.25rem;
  font-family: var(--ar-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ar-navy);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .ar-uniforms-grid {
    grid-template-columns: 1fr;
  }
  .ar-uniforms-grid--3,
  .ar-uniforms-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ar-uniforms-grid--3,
  .ar-uniforms-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.ar-form__group {
  margin-bottom: 1.5rem;
}

.ar-form__label {
  display: block;
  font-family: var(--ar-font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ar-navy);
  margin-bottom: 0.5rem;
}

.ar-form__input,
.ar-form__textarea,
.ar-form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--ar-font-body);
  font-size: 1rem;
  border: 2px solid var(--ar-gray-medium);
  border-radius: var(--ar-radius);
  background-color: var(--ar-white);
  transition: border-color var(--ar-transition);
  color: var(--ar-black);
}

.ar-form__input:focus,
.ar-form__textarea:focus,
.ar-form__select:focus {
  outline: none;
  border-color: var(--ar-navy);
}

.ar-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.ar-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.ar-form__checkbox input {
  margin-top: 0.25rem;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.ar-newsletter {
  text-align: center;
}

.ar-newsletter__form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
}

.ar-newsletter__form input {
  flex: 1;
  border-radius: var(--ar-radius) 0 0 var(--ar-radius);
  border-right: none;
}

.ar-newsletter__form button {
  border-radius: 0 var(--ar-radius) var(--ar-radius) 0;
  white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ar-footer {
  background-color: var(--ar-navy);
  color: var(--ar-white);
  padding: 4rem 0 0;
}

.ar-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ar-footer__brand p {
  color: var(--ar-silver);
  font-size: 0.9375rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.ar-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ar-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--ar-white);
  transition: all var(--ar-transition);
}

.ar-footer__social a:hover {
  background-color: var(--ar-red);
  color: var(--ar-white);
  transform: translateY(-3px);
}

.ar-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ar-footer h4 {
  color: var(--ar-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.ar-footer__links {
  list-style: none;
  padding: 0;
}

.ar-footer__links li {
  margin-bottom: 0.6rem;
}

.ar-footer__links a {
  color: var(--ar-silver);
  font-size: 0.9375rem;
  transition: all var(--ar-transition);
}

.ar-footer__links a:hover {
  color: var(--ar-red);
  padding-left: 5px;
}

.ar-footer__bottom {
  padding: 1.5rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ar-silver);
}

.ar-footer__bottom a {
  color: var(--ar-silver);
}

.ar-footer__bottom a:hover {
  color: var(--ar-red);
}

/* ==========================================================================
   Donation / CTA Banner
   ========================================================================== */
.ar-cta-banner {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

.ar-cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.ar-cta-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.9), rgba(166, 25, 46, 0.85));
}

.ar-cta-banner__content {
  position: relative;
  z-index: 2;
  color: var(--ar-white);
}

.ar-cta-banner__content h2 {
  color: var(--ar-white);
  margin-bottom: 1rem;
}

.ar-cta-banner__content p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.ar-faq__item {
  border-bottom: 1px solid var(--ar-gray-medium);
}

.ar-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ar-font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--ar-navy);
  text-align: left;
}

.ar-faq__question:hover {
  color: var(--ar-red);
}

.ar-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 1rem;
}

.ar-faq__icon::before,
.ar-faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--ar-navy);
  transition: transform var(--ar-transition);
}

.ar-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.ar-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.ar-faq__item--active .ar-faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.ar-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ar-faq__answer-inner {
  padding: 0 0 1.5rem;
  color: #555;
  line-height: 1.8;
}

/* ==========================================================================
   Sidebar / Blog
   ========================================================================== */
.ar-blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.ar-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.ar-widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--ar-gray-light);
  border-radius: var(--ar-radius);
}

.ar-widget h4 {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ar-red);
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */
.woocommerce .button,
.woocommerce input.button,
.woocommerce a.button {
  font-family: var(--ar-font-heading) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  background-color: var(--ar-red) !important;
  color: var(--ar-white) !important;
  border-radius: var(--ar-radius) !important;
}

.woocommerce .button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
  background-color: var(--ar-red-dark) !important;
}

.woocommerce .price {
  font-family: var(--ar-font-heading);
  color: var(--ar-navy) !important;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.ar-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ar-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.ar-fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ar-fade-in-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.ar-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ar-fade-in-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .ar-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ar-blog-layout {
    grid-template-columns: 1fr;
  }

  .ar-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .ar-nav-toggle {
    display: flex;
  }

  .ar-nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--ar-navy);
    padding: 5rem 1.5rem 2rem;
    transition: right var(--ar-transition);
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
  }

  .ar-nav__list--open {
    right: 0;
  }

  .ar-nav__link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ar-nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 1rem;
    display: none;
  }

  .ar-nav__item--open .ar-nav__dropdown {
    display: block;
  }

  .ar-nav__cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .ar-header__inner {
    height: 70px;
  }

  .ar-header__logo img {
    height: 45px;
  }

  .ar-section {
    padding: 3.5rem 0;
  }

  .ar-hero {
    min-height: 90vh;
  }

  .ar-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
  }

  .ar-stat:last-child {
    border-bottom: none;
  }

  .ar-schedule-item {
    flex-direction: column;
  }

  .ar-schedule-item__date {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem;
  }

  .ar-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ar-newsletter__form {
    flex-direction: column;
  }

  .ar-newsletter__form input {
    border-radius: var(--ar-radius);
    border-right: 2px solid var(--ar-gray-medium);
  }

  .ar-newsletter__form button {
    border-radius: var(--ar-radius);
  }
}

@media (max-width: 480px) {
  .ar-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .ar-btn {
    width: 100%;
    max-width: 300px;
  }
}
