/* ====================================================================
   Hamdana FC — About Page Custom Styles
   Layered on top of main.css without modifying it.
   Theme colour: #e41b23
   ==================================================================== */

/* ------------------------------------------------------------------
   0. Google Font import (if not already loaded by main.css)
   ------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* ------------------------------------------------------------------
   1. CSS custom properties (complement variable1.css)
   ------------------------------------------------------------------ */
:root {
  --hfc-red:        #e41b23;
  --hfc-red-dark:   #b01219;
  --hfc-dark:       #111111;
  --hfc-dark-2:     #1a1a1a;
  --hfc-border:     rgba(228, 27, 35, 0.25);
  --hfc-text-muted: #aaaaaa;
  --hfc-transition: 0.35s ease;
  --hfc-radius:     6px;
}

/* ------------------------------------------------------------------
   2. About Hero — "Northern Star" intro section
   ------------------------------------------------------------------ */

/* Italic tagline above the main paragraph */
.rts-about-section .contents .tagline-italic {
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: var(--hfc-red);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* Stats bar (Corporate ID / FIFA Status / Regional Focus) */
.rts-about-section .contents ul li.player {
  position: relative;
  padding-right: 30px;
  border-right: 1px solid var(--hfc-border);
  transition: transform var(--hfc-transition);
}
.rts-about-section .contents ul li.player:last-child {
  border-right: none;
  padding-right: 0;
}
.rts-about-section .contents ul li.player:hover {
  transform: translateY(-3px);
}
.rts-about-section .contents ul li.player .sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hfc-text-muted);
  margin-bottom: 4px;
}
.rts-about-section .contents ul li.player .title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hfc-red);
  line-height: 1.2;
}

/* ------------------------------------------------------------------
   3. "The Hamdana Advantage" — champion section override
   ------------------------------------------------------------------ */

/* Inline pretitle inside champion section */
.rts-champion-section .champion-details .contents .pretitle-inline {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hfc-red);
  margin-bottom: 12px;
}

/* Coloured strong tags inside the copy */
.rts-champion-section .champion-details .contents strong {
  color: #fff;
  font-weight: 700;
}
.rts-champion-section .champion-details .contents em {
  color: var(--hfc-red);
  font-style: normal;
  font-weight: 600;
}

/* Animated red left-border accent on the details block */
.rts-champion-section .champion-details .contents::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--hfc-red);
  margin-bottom: 18px;
  border-radius: 2px;
  transform-origin: left;
  animation: hfc-bar-grow 0.7s ease forwards;
}

@keyframes hfc-bar-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ------------------------------------------------------------------
   4. Strategic Pillars — three-column card grid
   ------------------------------------------------------------------ */

.hfc-pillars-section {
  background: var(--hfc-dark-2);
  padding: 100px 0;
}

@media (max-width: 768px) {
  .hfc-pillars-section {
    padding: 60px 0;
  }
}

/* Card base */
.hfc-pillar-card {
  background: var(--hfc-dark);
  border: 1px solid transparent;
  border-radius: var(--hfc-radius);
  padding: 44px 32px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--hfc-transition),
              transform var(--hfc-transition),
              box-shadow var(--hfc-transition);
}

/* Glow edge on hover */
.hfc-pillar-card:hover {
  border-color: var(--hfc-red);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(228, 27, 35, 0.18);
}

/* Decorative red corner accent */
.hfc-pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--hfc-red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0;
  transition: opacity var(--hfc-transition);
}
.hfc-pillar-card:hover::after {
  opacity: 1;
}

/* Icon circle */
.hfc-pillar-card .pillar-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(228, 27, 35, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background var(--hfc-transition), transform var(--hfc-transition);
}
.hfc-pillar-card:hover .pillar-icon {
  background: rgba(228, 27, 35, 0.28);
  transform: scale(1.1);
}
.hfc-pillar-card .pillar-icon i {
  font-size: 34px;
  color: var(--hfc-red);
}

/* Pillar title */
.hfc-pillar-card .pillar-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Pillar subtitle / designation */
.hfc-pillar-card .pillar-sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hfc-red);
  margin-bottom: 18px;
  display: block;
}

/* Pillar body text */
.hfc-pillar-card .pillar-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--hfc-text-muted);
}
.hfc-pillar-card .pillar-body strong {
  color: #fff;
  font-weight: 600;
}
.hfc-pillar-card .pillar-body em {
  color: var(--hfc-red);
  font-style: normal;
}

/* Section title inside pillars section */
.hfc-pillars-section .section-title-area .section-title {
  color: #fff;
}
.hfc-pillars-section .section-title-area p {
  color: var(--hfc-text-muted);
}
.hfc-pillars-section .section-title-area .pretitle {
  color: var(--hfc-red);
}

/* ------------------------------------------------------------------
   5. Scouts & Partners section — feature list
   ------------------------------------------------------------------ */

.hfc-scouts-section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .hfc-scouts-section {
    padding: 60px 0;
  }
}

/* Feature list item wrapper */
.hfc-feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
}

.hfc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px 22px;
  background: var(--hfc-dark);
  border-left: 3px solid transparent;
  border-radius: var(--hfc-radius);
  transition: border-color var(--hfc-transition), transform var(--hfc-transition);
}
.hfc-feature-item:last-child {
  margin-bottom: 0;
}
.hfc-feature-item:hover {
  border-left-color: var(--hfc-red);
  transform: translateX(4px);
}

/* Icon circle */
.hfc-feature-item .fi-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(228, 27, 35, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hfc-transition);
}
.hfc-feature-item:hover .fi-icon {
  background: rgba(228, 27, 35, 0.25);
}
.hfc-feature-item .fi-icon i {
  font-size: 18px;
  color: var(--hfc-red);
}

/* Feature text block */
.hfc-feature-item .fi-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
}
.hfc-feature-item .fi-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hfc-text-muted);
  margin: 0;
}

/* ------------------------------------------------------------------
   6. Club Quick Facts — icon stat cards
   ------------------------------------------------------------------ */

.hfc-facts-section {
  background: var(--hfc-dark-2);
  padding: 100px 0;
}
@media (max-width: 768px) {
  .hfc-facts-section {
    padding: 60px 0;
  }
}

.hfc-fact-card {
  background: var(--hfc-dark);
  border: 1px solid var(--hfc-border);
  border-radius: var(--hfc-radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--hfc-transition),
              transform var(--hfc-transition),
              box-shadow var(--hfc-transition);
}
.hfc-fact-card:hover {
  border-color: var(--hfc-red);
  transform: translateY(-5px);
  box-shadow: 0 12px 34px rgba(228, 27, 35, 0.15);
}

/* Icon inside fact card */
.hfc-fact-card .fact-icon {
  font-size: 38px;
  color: var(--hfc-red);
  margin-bottom: 16px;
  display: block;
  transition: transform var(--hfc-transition);
}
.hfc-fact-card:hover .fact-icon {
  transform: scale(1.15) rotate(-5deg);
}

.hfc-fact-card .fact-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hfc-text-muted);
  margin-bottom: 8px;
}
.hfc-fact-card .fact-value {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

/* Motto is styled a little smaller */
.hfc-fact-card.fact-motto .fact-value {
  font-size: 16px;
  color: var(--hfc-red);
}

/* Section title */
.hfc-facts-section .section-title-area .section-title {
  color: #fff;
}
.hfc-facts-section .section-title-area .pretitle {
  color: var(--hfc-red);
}

/* The closing club quote */
.hfc-club-quote {
  margin-top: 56px;
  padding: 28px 40px;
  border-top: 1px solid var(--hfc-border);
  text-align: center;
  animation: hfc-fade-up 0.8s ease both;
}
.hfc-club-quote p {
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.hfc-club-quote p span {
  color: var(--hfc-red);
}

/* ------------------------------------------------------------------
   7. Shared micro-animations
   ------------------------------------------------------------------ */

@keyframes hfc-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered class added by JS (or WOW.js) */
.hfc-animate {
  animation: hfc-fade-up 0.7s ease both;
}

/* Stagger delay helpers */
.hfc-delay-1 { animation-delay: 0.1s; }
.hfc-delay-2 { animation-delay: 0.2s; }
.hfc-delay-3 { animation-delay: 0.3s; }
.hfc-delay-4 { animation-delay: 0.4s; }
.hfc-delay-5 { animation-delay: 0.5s; }

/* ------------------------------------------------------------------
   8. Responsive overrides
   ------------------------------------------------------------------ */
@media (max-width: 991px) {
  .hfc-pillar-card  { padding: 36px 22px; }
  .hfc-feature-item { padding: 16px 18px; }
  .hfc-fact-card    { padding: 28px 20px; }
  .hfc-club-quote p { font-size: 17px; }
}

@media (max-width: 576px) {
  .hfc-pillar-card .pillar-icon { width: 64px; height: 64px; }
  .hfc-pillar-card .pillar-icon i { font-size: 26px; }
  .hfc-pillar-card .pillar-title { font-size: 14px; }
  .hfc-fact-card .fact-value { font-size: 16px; }
  .hfc-club-quote { padding: 20px 16px; }
  .hfc-club-quote p { font-size: 15px; }
}
