/* NPCC Cyber Alarm - Custom Styles */

/* Root variables */
:root {
    --npcc-primary: #0d6efd;
    --npcc-secondary: #6c757d;
    --npcc-success: #198754;
    --npcc-danger: #dc3545;
    --npcc-warning: #ffc107;
    --npcc-info: #0dcaf0;
}

/* Global styles */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Hero section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-primary:focus,
.hero-primary:focus-visible {
    outline: none;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

/* Navbar customization */
.navbar-brand img {
    max-height: 40px;
    width: auto;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Blazor error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* CTA sections */
.cta-section {
    border-radius: 0;
}

/* Content section */
.content-section img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}
