/* ===== Vitvarufakta – Brand & Layout ===== */
:root {
    --vvf-bg: #0b1b2b; /* djup mörkblå till hero */
    --vvf-primary: #0f4c81; /* varmare mörkblå */
    --vvf-primary-600: #0d3e6a; /* hover */
    --vvf-accent: #0a66c2; /* länkar/accenter */
    --vvf-muted: #64748b; /* text-muted */
    --vvf-card: #ffffff; /* kortbakgrund */
    --vvf-ring: rgba(15,76,129,.25);
}

/* Globalt */

html, body {
    height: 100%;
}

body {
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a.vvf-link {
    text-decoration: none;
    color: inherit;
}

/* Navbar tweaks */
.navbar-vvf .nav-link.active {
    color: var(--vvf-primary) !important;
}

.search-mini {
    max-width: 340px;
}

.form-control:focus {
    box-shadow: 0 0 0 .2rem rgba(15,76,129,.15);
    border-color: #9ec1df;
}

/* Hero med bildoverlay */
.hero {
    background: url('/pics/hero-kitchen.jpg') center/cover no-repeat;
    color: #fff;
    position: relative;
    overflow: clip;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(1200px 600px at 10% 5%, rgba(255,255,255,.12), rgba(255,255,255,0)), linear-gradient(180deg, rgba(11,27,43,.50), rgba(11,27,43,.70));
    }

.hero-inner {
    position: relative;
    z-index: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    color: #cfe4ff;
}

.lead-xl {
    font-size: clamp(1.04rem, .6rem + .9vw, 1.25rem);
    color: #e6f0ff;
}

.search-wrap {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: saturate(140%) blur(6px);
    border-radius: 16px;
    padding: .75rem;
}

.ring-focus:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--vvf-ring);
}

.shadow-soft {
    box-shadow: 0 8px 24px rgba(15, 76, 129, .08);
}

/* Kort – bild överst, text under */
.vvf-card-img {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}

    .vvf-card-img:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        border-color: rgba(15,76,129,.35);
    }

    .vvf-card-img img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .vvf-card-img .info {
        padding: 1rem;
    }

/* Sektionstitlar */
.sec-header h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sec-header p {
    color: var(--vvf-muted);
}

/* Badges & textnyanser */
.text-muted-2 {
    color: var(--vvf-muted) !important;
}

.pill {
    border: 1px solid rgba(255,255,255,.22);
    color: #eaf3ff;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .84rem;
}

/* Knappfärger */
.btn-primary {
    background-color: var(--vvf-primary);
    border-color: var(--vvf-primary);
}

    .btn-primary:hover {
        background-color: var(--vvf-primary-600);
        border-color: var(--vvf-primary-600);
    }

/* Footer */
.vvf-footer, footer.footer {
    border-top: 1px solid #e5e7eb;
}
