/* Custom Styles for Pseudo-CMS */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    padding-top: 0;
}

html {
    scroll-behavior: smooth;
}

/* Navbar adjustments */
.navbar-brand {
    font-weight: 700;
}

.navbar {
    min-height: 96px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.site-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 6px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1050;
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: rgba(33, 37, 41, 0.97);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-notice__text {
    font-size: 0.92rem;
    line-height: 1.45;
}

.cookie-notice__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

/* Hero section */
.hero-section {
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.feature-card-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.card-body {
    padding: 1.5rem;
}

.card-body .feature-card-title {
    display: block;
    width: 100%;
    text-align: center !important;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #0a58ca;
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

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

/* Responsive tweaks */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1.1rem;
    }

    .cookie-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}