/* ============================================
   IRON EMPIRE GYM - PREMIUM TYPOGRAPHY
   Enhanced text design and visual treatments
   ============================================ */

/* === PREMIUM FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* === ENHANCED TYPOGRAPHY SYSTEM === */

/* Premium Display Text */
.display-text {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    word-spacing: 0.5em;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #c0c5ce 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
    position: relative;
}

/* Metallic Text Effect */
.text-metallic {
    background: linear-gradient(180deg,
            #f5f5f5 0%,
            #c0c5ce 25%,
            #8a8f98 50%,
            #c0c5ce 75%,
            #f5f5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Glowing Red Text */
.text-glow-red {
    color: #c41e3a;
    text-shadow:
        0 0 10px rgba(196, 30, 58, 0.8),
        0 0 20px rgba(196, 30, 58, 0.6),
        0 0 30px rgba(196, 30, 58, 0.4),
        0 0 40px rgba(196, 30, 58, 0.2);
    animation: textGlowPulse 3s ease-in-out infinite;
}

@keyframes textGlowPulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(196, 30, 58, 0.8),
            0 0 20px rgba(196, 30, 58, 0.6),
            0 0 30px rgba(196, 30, 58, 0.4);
    }

    50% {
        text-shadow:
            0 0 20px rgba(196, 30, 58, 1),
            0 0 40px rgba(196, 30, 58, 0.8),
            0 0 60px rgba(196, 30, 58, 0.6),
            0 0 80px rgba(196, 30, 58, 0.4);
    }
}

/* 3D Text Effect */
.text-3d {
    text-shadow:
        1px 1px 0 #1a1d24,
        2px 2px 0 #1a1d24,
        3px 3px 0 #1a1d24,
        4px 4px 0 #1a1d24,
        5px 5px 0 #1a1d24,
        6px 6px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(196, 30, 58, 0.4);
}

/* Outlined Text */
/* stylelint-disable-next-line property-no-unknown */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px #c41e3a;
    text-stroke: 2px #c41e3a;
    /* Non-standard but intentional for outline effect */
    font-weight: 700;
    letter-spacing: 0.1em;
    word-spacing: 0.3em;
}

/* stylelint-disable-next-line property-no-unknown */
.text-outline-white {
    color: transparent;
    -webkit-text-stroke: 2px #f5f5f5;
    text-stroke: 2px #f5f5f5;
    /* Non-standard but intentional for outline effect */
    word-spacing: 0.3em;
}

/* Split Color Text */
.text-split {
    background: linear-gradient(90deg, #c41e3a 50%, #f5f5f5 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ENHANCED HERO TYPOGRAPHY === */
.hero-title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    word-spacing: 0.6em !important;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(196, 30, 58, 0.5);
    position: relative;
    margin-bottom: var(--space-lg);
    opacity: 1 !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Removed decorative line above title
.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, transparent);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.8);
}
*/


.hero-subtitle {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    word-spacing: 0.3em;
    text-transform: uppercase;
    color: #c0c5ce !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: relative;
    padding: var(--space-md) 0;
    opacity: 1 !important;
}

/* Removed decorative line below subtitle
.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #c41e3a;
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.8);
}
*/


/* === SECTION TITLES === */
.section-title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    word-spacing: 0.6em !important;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0;
    margin-bottom: var(--space-lg);
}

/* Removed decorative lines - cleaner look
.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c41e3a);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.6);
}

.section-title::before {
    left: -100px;
    background: linear-gradient(90deg, transparent, #c41e3a);
}

.section-title::after {
    right: -100px;
    background: linear-gradient(90deg, #c41e3a, transparent);
}
*/

/* Alternate section title style */
.section-title-alt {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    word-spacing: 0.4em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c41e3a 0%, #ff4757 50%, #c41e3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.5);
}

/* === CARD TITLES === */
.card-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    word-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5f5f5;
    margin-bottom: var(--space-sm);
    position: relative;
    padding-bottom: var(--space-sm);
}




.card:hover .card-title::after {
    width: 100%;
}

/* === DESCRIPTION TEXT === */
.card-description,
.section-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    line-height: 1.7;
    color: #c0c5ce;
    letter-spacing: 0.02em;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    color: #a8adb6;
}

/* === QUOTE STYLES === */
.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    color: #c0c5ce;
    position: relative;
    padding-left: var(--space-xl);
    border-left: 4px solid #c41e3a;
    box-shadow: -5px 0 15px rgba(196, 30, 58, 0.2);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    font-family: 'Bebas Neue', serif;
    color: rgba(196, 30, 58, 0.3);
    line-height: 1;
}

/* === STAT NUMBERS === */
.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #c41e3a 0%, #ff4757 50%, #c41e3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    display: block;
    line-height: 1;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 20px rgba(196, 30, 58, 0.6));
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8a8f98;
}

/* === ACCENT TEXT === */
.text-accent {
    color: #c41e3a;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.4);
}

.text-highlight {
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.2), transparent);
    padding: 0.2em 0.5em;
    border-left: 3px solid #c41e3a;
    display: inline-block;
}

/* === PREMIUM LABELS === */
.tier-badge,
.cert-badge {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4em 1em;
    background: linear-gradient(135deg, #c41e3a, #a01828);
    color: #ffffff;
    border-radius: 2px;
    box-shadow:
        0 4px 10px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.tier-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

/* === NAVBAR LOGO === */
.navbar-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    word-spacing: 0.3em;
    text-transform: uppercase;
    color: #f5f5f5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3em;
    transition: all 0.3s ease;
}

.navbar-logo span {
    color: #c41e3a;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.8);
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(196, 30, 58, 0.6));
}

/* === FOOTER TEXT === */
.footer h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5f5f5;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}




/* === ENHANCED READABILITY === */
p {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

strong {
    font-weight: 600;
    color: #f5f5f5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* === DECORATIVE ELEMENTS === */
.text-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--space-xl) 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a8f98;
}




.text-divider::before {
    margin-right: var(--space-md);
}

.text-divider::after {
    margin-left: var(--space-md);
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 768px) {

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .section-title {
        padding: 0;
    }

    .testimonial-quote {
        padding-left: var(--space-md);
    }

    .hero-title::before {
        width: 60px;
    }
}

/* === TEXT SELECTION === */
::selection {
    background: rgba(196, 30, 58, 0.8);
    color: #ffffff;
    text-shadow: none;
}

::-moz-selection {
    background: rgba(196, 30, 58, 0.8);
    color: #ffffff;
    text-shadow: none;
}

/* === LINK ENHANCEMENTS === */
a {
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.6);
}

/* === PREMIUM HEADINGS === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    word-spacing: 0.5em !important;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    word-spacing: 0.7em !important;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    word-spacing: 0.6em !important;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    word-spacing: 0.5em !important;
}

h4 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    word-spacing: 0.4em !important;
}

h5 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    word-spacing: 0.3em !important;
}

h6 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    word-spacing: 0.3em !important;
}