/* Custom Styles for BusyWork.info */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6610f2;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand small {
    font-size: 0.75rem;
    display: block;
    margin-top: -3px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.card-title {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-lg {
    padding: 1rem 2.5rem;
}

/* Typography */
.display-4 {
    font-weight: 800;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

/* Footer */
footer {
    background: #212529 !important;
}

footer a:hover {
    color: #ddd !important;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -15px;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .timeline-item {
    animation: fadeIn 0.6s ease-out;
}

/* Gradient backgrounds */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

/* Sticky purchase card */
.sticky-top {
    z-index: 1020;
}

/* Alert customization */
.alert {
    border: none;
    border-radius: 10px;
}

.alert-info {
    background-color: #e7f1ff;
    color: #0a58ca;
}

.alert-warning {
    background-color: #fff3cd;
    color: #664d03;
}

/* List styling */
.list-group-item {
    border: none;
    padding: 0.75rem 0;
}

/* Hover effects */
.btn:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Section spacing */
section {
    margin-bottom: 4rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Custom width utilities */
.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

/* Border radius utilities */
.rounded-3 {
    border-radius: 1rem !important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* Custom primary color variations */
.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.text-primary-dark {
    color: #0b5ed7 !important;
}

/* Spacing helpers */
.mt-6 {
    margin-top: 4rem !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}