/* =============================================
   Foss Elektro AS – site.css
   ============================================= */

/* --- Brand colour tokens --- */
:root {
    --foss-dark:   #2c2c2c;
    --foss-accent: #4a9a1f;   /* Elfag green */
    --foss-light:  #f5f5f5;
    --foss-text:   #111111;
}

/* --- Bootstrap overrides & utilities --- */
.bg-foss {
    background-color: var(--foss-dark) !important;
}

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

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.btn-accent {
    background-color: var(--foss-accent);
    color: #ffffff;
    font-weight: 600;
    border: none;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #3a7a18;
    color: #ffffff;
}

/* --- Typography --- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    color: var(--foss-text);
    background-color: #ffffff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --- Navbar --- */
.navbar-logo {
    height: 48px;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 32px;
    }
}

.footer-logo {
    height: 28px;
    width: auto;
}

.elfag-badge {
    display: block;
    background-color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
}

.service-icon {
    width: 80px;
    height: 80px;
}

.border-accent {
    border-color: var(--foss-accent) !important;
}

.navbar .nav-link {
    font-weight: 500;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

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

/* --- Footer --- */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--foss-accent);
    text-decoration: none;
}

/* --- Focus ring --- */
.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 154, 31, 0.4);
}

/* --- Section spacing --- */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-light {
    background-color: var(--foss-light);
}
