/* BizPerformer Consult — Shared Styles
   Brand: Montserrat, 8px grid, Navy CTA
   Colors defined in Tailwind CDN config per page */

/* ========== Base ========== */
body {
    font-family: 'Montserrat', sans-serif;
}

/* ========== Buttons ========== */
.btn-primary {
    display: inline-block;
    background-color: #162e54;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #2b68b0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 46, 84, 0.2);
}

.btn-secondary {
    display: inline-block;
    border: 1px solid #162e54;
    color: #162e54;
    padding: 16px 40px;
    border-radius: 8px;
    background: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #162e54;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-white {
    display: inline-block;
    border: 1px solid white;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    background: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ========== Cards ========== */
.service-card {
    transition: all 0.3s ease;
}

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

.case-card {
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.tech-badge {
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.05);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #525252;
    padding: 1rem 0;
}

.breadcrumb a {
    color: #2b68b0;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #162e54;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #525252;
}

.breadcrumb .current {
    color: #162e54;
    font-weight: 500;
}

/* ========== Navigation Dropdown ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 280px;
    padding: 8px 0;
    z-index: 60;
    margin-top: 0;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.show {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #162e54;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: background-color 0.2s;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background-color: #faf9f6;
}

/* ========== Animations ========== */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* ========== CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, #162e54 0%, #1b406c 50%, #2b68b0 100%);
}

/* ========== Tags ========== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid #2b68b0;
    color: #2b68b0;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: #2b68b0;
    color: white;
}

.tag-green {
    border-color: #5cb85c;
    color: #5cb85c;
}

.tag-green:hover {
    background: #5cb85c;
    color: white;
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .service-card,
    .case-card,
    .tech-badge,
    .btn-primary,
    .btn-secondary {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
