/* TimeTracker Pro - Main CSS */
:root {
    /* Primary Color Palette - Pastel High-Contrast Colors */
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4338ca;
    --secondary-color: #ec4899;
    --secondary-light: #f9a8d4;
    --secondary-dark: #be185d;
    --accent-color: #10b981;
    --accent-light: #6ee7b7;
    --accent-dark: #047857;
    --warning-color: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    --info-color: #3b82f6;
    --info-light: #93c5fd;
    --info-dark: #1d4ed8;
    
    /* Neutral Colors */
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --muted-text: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --line-height-base: 1.5;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max-width: 1200px;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-text);
    background-color: #ffffff;
}

/* Respect reduced motion preferences */
@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: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.display-1 { font-size: 3.5rem; }
.display-2 { font-size: 3rem; }
.display-3 { font-size: 2.5rem; }
.display-4 { font-size: 2.25rem; }
.display-5 { font-size: 2rem; }

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--muted-text);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 300;
}

/* Bootstrap Overrides - Conservative Typography */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Custom Button Styles */
.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

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

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

/* Header */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
    display: block; /* Ensure block display */
    opacity: 1 !important; /* Override any JS that might set opacity to 0 */
    visibility: visible !important; /* Ensure visibility */
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

/* Background Variations */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Icon Styles */
.fa-3x {
    font-size: 3rem;
}

.fa-2x {
    font-size: 2rem;
}

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

/* Team Section */
.rounded-circle {
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-text) !important;
}

footer h5, footer h6 {
    color: white;
    font-weight: 600;
}

footer p, footer li {
    color: #cbd5e1;
}

footer a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Pricing Cards */
.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* Animation classes for Sal.js */
[data-sal] {
    transition-duration: 0.5s;
}

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

.text-success {
    color: var(--accent-color) !important;
}

.text-muted {
    color: var(--muted-text) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Space Page Styles */
#space {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

/* Custom Gradient Backgrounds (Used Sparingly) */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

/* Star Rating */
.text-warning .fas.fa-star {
    color: #fbbf24;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    opacity: 1 !important; /* Ensure images are always visible */
    transition: transform 0.3s ease !important; /* Only transition transform, not opacity */
}

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

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

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

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

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
