/* Custom styles for Premier Accounting website */

:root {
    --primary-color: #183169;
    --accent-color: #22BABD;
}

/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Primary color overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

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

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

.btn-primary:hover {
    background-color: #142752;
    border-color: #142752;
}

/* Accent color overrides */
.btn-accent,
.bg-accent {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
}

.btn-accent:hover {
    background-color: #1b9ea0;
    border-color: #1b9ea0;
    color: white;
}

/* Navbar styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.25rem;
}

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

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

.nav-link i {
    font-size: 1.5rem;
}

#cartBadge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a8e 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2322BABD" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a8e 100%);
    padding: 100px 0 40px;
}

/* Feature icons */
.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, #20a8ab 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

/* Cart styles */
#emptyCart i {
    color: #dee2e6;
}

.table th {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Quantity controls */
.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.quantity-controls .btn {
    border: none;
    border-radius: 0;
    padding: 0.25rem 0.5rem;
}

.quantity-controls .btn:hover {
    background-color: #e9ecef;
}

.quantity-display {
    min-width: 2rem;
    display: inline-block;
    text-align: center;
}

/* Toast styles */
.toast {
    min-width: 300px;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .service-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeIn 0.5s ease-in;
}

/* Print styles */
@media print {
    nav, footer {
        display: none;
    }
}

