/* ============================================
   IRONFORGE GYM - MAIN STYLES
   ============================================ */

/* ---------- ROOT VARIABLES ---------- */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #f1948a;
    --secondary: #2c3e50;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-primary: 'Oswald', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--gray-900);
    background: var(--light);
    overflow-x: hidden;
    padding-top: 0;
    width: 100%;
}
.navbar-brand{
    width: 200px;
    height: 30px;
    padding-top: 0%;
}
.logo{
    padding-left: 10px;
    padding-top: 0px;
    height: 100px;
    width:100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

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

/* ---------- UTILITY CLASSES ---------- */
.section-padding {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: rgba(231, 76, 60, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary);
}

/* ---------- BUTTONS ---------- */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 36px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.35);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.25);
}

.btn-outline-light {
    color: var(--light);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--light);
    border-color: var(--light);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 44px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ---------- NAVBAR ---------- */
#mainNav {
    padding: 12px 0;
    transition: var(--transition);
    /*background: transparent;*/
    background: rgba(13, 13, 13, 0.95);
}

#mainNav.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
}

#mainNav .navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 0.05em;
}

#mainNav .navbar-brand .brand-icon {
    color: var(--primary);
    margin-right: 8px;
}

#mainNav .navbar-brand .brand-text span {
    color: var(--primary);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    transition: var(--transition);
    position: relative;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 60%;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--light);
}

.btn-join {
    padding: 10px 28px !important;
    font-size: 0.85rem !important;
    margin-left: 8px;
}

.btn-join:hover {
    transform: translateY(-2px) !important;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--darker);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.4) 100%),
        url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&h=1080&fit=crop&crop=center') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.hero-text {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    background: rgba(231, 76, 60, 0.2);
    color: var(--primary-light);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--light);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    display: block;
    font-size: 1.2rem;
    margin-top: 4px;
}

/* ---------- INTRODUCTION SECTION ---------- */
.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.intro-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--light);
    padding: 24px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.intro-experience-badge .years {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.intro-experience-badge span:last-child {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.intro-content {
    padding: 20px 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ---------- PROGRAMS SECTION ---------- */
.program-card {
    background: var(--gray-900);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.program-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-duration {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.program-content {
    padding: 24px;
}

.program-content h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.program-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.program-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.program-meta i {
    margin-right: 4px;
}

/* ---------- FEATURES SECTION ---------- */
.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--light);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- PRICING CARDS ---------- */
.pricing-card {
    background: var(--gray-900);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--light);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.pricing-price {
    color: var(--light);
    margin-bottom: 24px;
}

.pricing-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-price .period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.pricing-features .fa-times {
    color: var(--gray-500);
}

/* ---------- TRAINER CARDS ---------- */
.trainer-card {
    background: var(--gray-900);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.trainer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.trainer-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.05);
}

.trainer-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
    transition: var(--transition);
}

.trainer-card:hover .trainer-social {
    bottom: 0;
}

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

.trainer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.trainer-content {
    padding: 24px;
    text-align: center;
}

.trainer-content h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.trainer-specialty {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.trainer-experience {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.trainer-experience i {
    color: #f1c40f;
    margin-right: 4px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--primary);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    font-size: 1.1rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-name {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---------- FAQ PREVIEW ---------- */
.accordion-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--light);
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 18px 24px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(231, 76, 60, 0.1);
    color: var(--light);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(10);
}

.accordion-body {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 24px 20px;
    line-height: 1.7;
}

/* ---------- CONTACT PREVIEW ---------- */
.contact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 0;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 0.05em;
}

.footer-logo i {
    color: var(--primary);
    margin-right: 8px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-brand p {
    margin: 16px 0 20px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* ---------- BACK TO TOP ---------- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.4);
    transition: var(--transition);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.5);
}

#backToTop.show {
    display: flex;
}

/* ---------- ANIMATIONS ---------- */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ---------- DARK BACKGROUND UTILITIES ---------- */
.bg-dark {
    background: var(--dark) !important;
}

.bg-darker {
    background: var(--darker) !important;
}