/* BarbellManual.com Custom Styles */

:root {
    /* Primary Colors */
    --primary-color: #1a365d;      /* Deep Navy Blue */
    --secondary-color: #4a5568;     /* Steel Gray */
    --accent-color: #ed8936;        /* Burnt Orange */
    
    /* Background Colors */
    --bg-primary: #ffffff;          /* Clean White */
    --bg-secondary: #f7fafc;        /* Light Gray */
    --bg-dark: #2d3748;             /* Dark Gray */
    
    /* Text Colors */
    --text-primary: #2d3748;        /* Dark Gray */
    --text-secondary: #4a5568;      /* Medium Gray */
    --text-light: #718096;          /* Light Gray */
    --text-white: #ffffff;          /* White */
    
    /* Interactive Colors */
    --link-color: #ed8936;          /* Burnt Orange */
    --link-hover: #dd6b20;          /* Darker Orange */
    --button-primary: #1a365d;      /* Navy Blue */
    --button-hover: #2c5282;        /* Lighter Navy */
    
    /* Status Colors */
    --success-color: #38a169;       /* Green */
    --warning-color: #d69e2e;       /* Yellow */
    --error-color: #e53e3e;         /* Red */
    --info-color: #3182ce;          /* Blue */
    
    /* Legacy Support */
    --dark-color: #2d3748;
    --light-color: #f7fafc;
}

/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%) !important;
    position: relative;
    overflow: hidden;
    color: var(--text-white) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(237, 137, 54, 0.1) 0%, rgba(26, 54, 93, 0.1) 100%);
    opacity: 0.3;
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-dark {
    background-color: var(--primary-color) !important;
}

/* Card Enhancements */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-body {
    padding: 2rem;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--button-hover);
    border-color: var(--button-hover);
    transform: translateY(-2px);
}

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

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

.btn-outline-light:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-white);
}

/* Icon Enhancements */
.fa-3x {
    transition: transform 0.3s ease;
}

.card:hover .fa-3x {
    transform: scale(1.1);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

footer .text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .text-white {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Enhancement */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* Dropdown Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Image Enhancements */
.img-fluid {
    border-radius: 8px;
}

/* Text Enhancements */
.display-4 {
    font-weight: 700;
}

.lead {
    font-weight: 400;
    font-size: 1.25rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Newsletter Signup */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%) !important;
    color: var(--text-white) !important;
}

.newsletter-section h3,
.newsletter-section p {
    color: var(--text-white) !important;
} 