/* Global Styling & Overrides for Bootstrap 5 */

:root {
    --fakturo-primary: #003366;
    --fakturo-secondary: #28a745;
    --fakturo-accent: #007bff;
    --fakturo-bg-light: #f8f9fa;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--fakturo-primary);
    font-weight: 700;
}

/* Custom Component Styles */

.btn-primary-custom {
    background-color: var(--fakturo-secondary);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary-custom:hover {
    background-color: #218838;
    color: white;
    transform: translateY(-1px);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

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

/* Page Specific Animations & Enhancements */

.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Card Styling */
.card {
    border-radius: 1rem;
    overflow: hidden;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Breadcrumb Styling */
.breadcrumb-item a {
    color: #64748b;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--fakturo-primary);
    font-weight: 600;
}

/* Content Styling */
.content p {
    margin-bottom: 1.5rem;
}

.content h2, .content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .nav-link {
        padding-left: 0.5rem !important;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .navbar-nav .ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
}
