* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-gray: #0a0a0a;
    --blue: #0b3d91;
    --blue-dark: #082d6b;
    --blue-darker: #061f49;
    --blue-deep: #03122b;
    --silver-light: #7a7a7a;
    --silver-mid: #5f5f5f;
    --silver-dark: #4a4a4a;
    --silver-deep: #3c3c3c;
    --silver: #c0c0c0;
    --light-silver: #e5e5e5;
    --white: #ffffff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom, #000000, #0a0a0a 50%, #111111);
    color: var(--light-silver);
    line-height: 1.6;
}

.site-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* HEADER */

.top-header {
    position: relative;
    padding: 12px 10px 10px;
    text-align: center;
    background: #000000;
    border-bottom: 1px solid #222;
    overflow: hidden;
}

/* Stäng av gamla effekter i toppen */
.metal-glow,
.silver-wave,
.silver-wave-one,
.silver-wave-two,
.silver-wave-three {
    display: none;
}

/* LOGGA */

.logo-container {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: auto;
}

.logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: -8px auto 0;

    /* Vit logga
    filter: brightness(0) invert(1);

     */
}

/* BILDSPEL */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 38vh;
    min-height: 260px;
    max-height: 420px;
    overflow: hidden;
    background: #000;
}

.slides {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slides.active {
    display: block;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.65)),
            linear-gradient(to right, rgba(0,31,92,0.15), rgba(0,0,0,0));
}

/* TEXT PÅ BILD */

.hero-text {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.hero-text p {
    font-size: 1rem;
    color: #d0d0d0;
}

/* INNEHÅLL */

main {
    padding: 30px 15px 40px;
    max-width: 1100px;
    margin: auto;
}

/* INFO SECTION */

.info-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
    padding: 25px 25px 70px;
    background: linear-gradient(
            to bottom,
            var(--blue) 0%,
            var(--blue-dark) 40%,
            var(--blue-darker) 65%,
            var(--blue-deep) 100%
    );
    border-radius: 14px;
    border: 1px solid rgba(192,192,192,0.18);
    box-shadow:
            inset 0 2px 4px rgba(255,255,255,0.12),
            inset 0 -4px 6px rgba(0,0,0,0.35),
            0 8px 18px rgba(0,0,0,0.35);
}

.info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 42%;
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0.20) 0%,
            rgba(255,255,255,0.08) 45%,
            rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.info-section h2,
.info-section p {
    position: relative;
    z-index: 2;
}

.info-section h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.info-section p {
    color: #e5e5e5;
}

/* SERVICE SECTION */

.service-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

/* SERVICE BOXAR */

.service-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
            to bottom,
            var(--silver-light) 0%,
            var(--silver-mid) 40%,
            var(--silver-dark) 60%,
            var(--silver-deep) 100%
    );
    border: 1px solid #2f2f2f;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 14px;
    padding: 20px;
    box-shadow:
            inset 0 2px 4px rgba(255,255,255,0.18),
            inset 0 -3px 6px rgba(0,0,0,0.35),
            0 8px 18px rgba(0,0,0,0.35);
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44%;
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0.28) 0%,
            rgba(255,255,255,0.10) 45%,
            rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.service-box:hover{

    transform: translateY(-6px);

    box-shadow:
            inset 0 2px 4px rgba(255,255,255,0.18),
            inset 0 -3px 6px rgba(0,0,0,0.35),
            0 14px 26px rgba(0,0,0,0.45);

}

.service-header,
.service-box p {
    position: relative;
    z-index: 2;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.service-box h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

.service-box p {
    color: #e5e5e5;
}

.service-icon {
    font-size: 20px;
    line-height: 1;
    filter: grayscale(1) brightness(2.2);
}

/* FOOTER */

.site-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(192,192,192,0.2);
    background: #050505;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.contact-row a{
    color:#ffffff;
    text-decoration:none;
    transition:all 0.25s ease;
}

.contact-row a:hover{
    color:#4da3ff;
}

.contact-row a:hover .contact-icon{
    color:#4da3ff;
    transform:scale(1.15);

}

.contact-row a:hover {
    color: white;
}
.contact-icon{
    color:white;
    margin-right:8px;
    font-size:16px;
    transition:all 0.25s ease;
}

.copyright {
    font-size: 0.85rem;
    color: #8b949f;
}

/* ANIMATION */

.fade {
    animation: fadeEffect 1.2s;
}

@keyframes fadeEffect {
    from { opacity: 0.35; }
    to { opacity: 1; }
}

/* MOBIL */

@media (min-width:768px){
    .service-section {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-slideshow{
        height: calc(100vh - 90px);
        min-height: 450px;
        max-height: 900px;
    }
}

/* DESKTOP */

