/* Custom styles for CPATrackMaster */

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* General styles */
html {
    scroll-behavior: smooth;
}

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

/* Header styles */
header {
    animation: fadeIn 0.5s ease-in-out;
}

/* Hero section styles */
.hero-content {
    animation: slideInUp 0.8s ease-out;
}

/* Custom button hover effects */
.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Custom gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0056b3 0%, #00a0e9 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #ff6b00 0%, #ff9d00 100%);
}

/* Custom section dividers */
.section-divider {
    height: 5px;
    background: linear-gradient(90deg, #0056b3, #00a0e9, #ff6b00);
    margin: 0 auto;
    width: 100px;
    border-radius: 5px;
}

/* Custom form styles */
input:focus, textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

/* Custom list styles */
.custom-list li {
    position: relative;
    padding-left: 1.5rem;
}

.custom-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #0056b3;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00a0e9;
}

/* Accessibility focus styles */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

/* Custom tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Custom badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-primary {
    color: #fff;
    background-color: #0056b3;
}

.badge-secondary {
    color: #fff;
    background-color: #00a0e9;
}

.badge-accent {
    color: #fff;
    background-color: #ff6b00;
}

/* Custom image styles */
.img-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.img-rounded {
    border-radius: 0.5rem;
}

/* Custom text selection */
::selection {
    background-color: #0056b3;
    color: white;
}