/* =====================================================
   NutriCoach Pro - Main Stylesheet
   Modern Nutrition Coaching Template 2025
   ===================================================== */

/* CSS Variables - Color Palette */
:root {
    /* Primary Color Palette (5 colors + shades) */
    --primary-green: #24bf64;
    --primary-green-light: #6ae09e;
    --primary-green-dark: #13a534;
    
    --secondary-orange: #e84c00;
    --secondary-orange-light: #ea9e72;
    --secondary-orange-dark: #e46613;
    
    --accent-blue: #3e6eff;
    --accent-blue-light: #76bdea;
    --accent-blue-dark: #2848e4;
    
    --warm-yellow: #e8a104;
    --warm-yellow-light: #eec14d;
    --warm-yellow-dark: #e17e04;
    
    --neutral-purple: #7d69f7;
    --neutral-purple-light: #bfb0f9;
    --neutral-purple-dark: #9226ff;
    
    /* Additional Utility Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #6c798a;
    --dark-gray: #3c4a6a;
    --black: #111d3e;
    
    /* Text Colors */
    --text-primary: #1f3042;
    --text-secondary: #6e8aa0;
    --text-muted: #909cae;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-orange) 0%, var(--warm-yellow) 100%);
    --gradient-accent: linear-gradient(135deg, var(--neutral-purple) 0%, var(--primary-green) 100%);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--text-secondary);
}

/* Navbar Customization */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: 800;
    color: var(--primary-green) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../LOJ_images/hero-nutrition.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
    filter: brightness(1.05);
}

/* Cards and Components */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid #d8e7fa;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green-light);
}

.service-card {
    transition: all 0.3s ease;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
}

.pricing-card.bg-primary {
    background: var(--gradient-primary) !important;
    color: white;
    position: relative;
}

.pricing-card.bg-primary::before {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--secondary-orange);
    color: white;
    padding: 5px 30px;
    font-size: 0.82rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
}

/* Team Cards */
.team-card img {
    transition: all 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Review Cards */
.review-card {
    border-radius: var(--radius-lg) !important;
    transition: all 0.3s ease;
    border: 1px solid #f6f9fc;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--primary-green-light);
}

.stars .fa-star {
    margin-right: 2px;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid #f7f7f7 !important;
    margin-bottom: 0.60rem;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--light-gray) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green-light) !important;
    color: var(--primary-green-dark) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(36, 217, 109, 0.25) !important;
}

/* Gallery */
.gallery img {
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Contact Form */
.form-control {
    border: 2px solid #dadde3;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(26, 202, 71, 0.25);
    outline: 0;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.70rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--accent-blue-dark) 0%, var(--dark-gray) 100%) !important;
}

footer a:hover {
    color: var(--primary-green-light) !important;
    text-decoration: none !important;
}

/* Gradients for Special Elements */
.bg-gradient {
    background: var(--gradient-primary) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Additional Page Specific Styles */
.wellness-card,
.age-card,
.metabolic-card,
.tech-card {
    transition: all 0.3s ease;
    border: 1px solid #dae7f8;
}

.wellness-card:hover,
.age-card:hover,
.metabolic-card:hover,
.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green-light);
}

/* New Sections Styles */
.case-study-card,
.career-card,
.core-info-card,
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #bcc6d9;
}

.case-study-card:hover,
.career-card:hover,
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green-light);
}

.process-step {
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--gradient-primary) !important;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green-light);
    z-index: 1;
}

.corporate-feature i {
    color: var(--primary-green);
}

.feature-box {
    border: 1px solid #ccd5f0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green-light);
}

.tech-feature.bg-gradient {
    background: var(--gradient-accent) !important;
}

/* Utility Classes */
.text-primary { color: var(--primary-green) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-light { background-color: var(--light-gray) !important; }

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(45deg, #f1f5f9, #d8d8d8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
