/* FitForce Boot Camp - Main CSS */

/* CSS Custom Properties (Color Palette) */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --warning-color: #f1c40f;
    
    /* Light/Dark Variants */
    --primary-light: #ff6b6b;
    --primary-dark: #c0392b;
    --secondary-light: #34495e;
    --secondary-dark: #1a252f;
    --accent-light: #ffc300;
    --accent-dark: #d68910;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-weight-normal: 400;
    --font-weight-bold: 600;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --border-radius: 0.5rem;
}

/* Base Styles */
body {
  overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--secondary-dark);
    margin-bottom: 1rem;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: var(--font-weight-bold);
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Navbar */
.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-dark {
    background: var(--gradient-secondary) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../WEA_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Cards */
.feature-card,
.service-card,
.price-card,
.blog-card,
.case-study-card,
.equipment-card,
.tracking-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.price-card:hover,
.blog-card:hover,
.case-study-card:hover,
.equipment-card:hover,
.tracking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Service Cards */
.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Price Cards */
.price-card.bg-primary {
    background: var(--gradient-primary) !important;
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Reviews Swiper */
.reviews-swiper {
    padding: 2rem 0;
}

.review-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Process Steps */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Forms */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Gallery */
#gallery img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--gradient-secondary);
    color: white;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--gradient-accent) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: none;
}

/* Contact Info Icons */
.contact-info i {
    color: var(--primary-color);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Space Page */
#space {
    background: var(--gradient-secondary);
    color: white;
    padding-top: 80px;
}

/* Methodology Cards */
.methodology-card,
.nutrition-card {
    background: white;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.methodology-card:hover,
.nutrition-card:hover {
    transform: translateY(-5px);
}

/* Equipment Grid */
.equipment-card img,
.tracking-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #d32f2f;
        --secondary-color: #1a1a1a;
        --accent-color: #ff9800;
    }
    
    .hero-section::before {
        opacity: 0.05;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
} 