* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue-color: #007bff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --map-size: max(25vw, 100px);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #333;
    font-family: var(--font-stack);
}

body.top {
    background: linear-gradient(rgba(85, 85, 85, 0.5), rgba(0, 0, 0, 0.1)), url('images/datareparation_bakgrund.webp') no-repeat center center/cover fixed;
}

/* General styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.oxelosund {
    color: var(--primary-blue-color);
    padding: 0;
    margin: 0;
    display: block;
}

.day-highlight {
    font-weight: bold;
    color: #004d99;
}

.bi {
    color: var(--primary-blue-color);
}

.hidden {
    display: none !important;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 10px;
    font-weight: 700;
    color: #004d99; /* Dark blue for titles */
}

p {
    margin-bottom: 15px;
}

/* CTA-buttons (Call to Action) */
.cta-button {
    display: inline-block;
    background-color: #ff6600;
    /* Orange to stick out */
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-shadow: 1px 1px gray;
    transition: background-color 0.3s;
}

.cta-button:hover,
.cta-primary:hover {
    background-color: #e65c00;
}

.cta-primary {
    display: inline-block;
    background-color: var(--primary-blue-color);
    /* Primary blue */
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 20px;
    transition: background-color 0.3s;
    text-shadow: none;
}

/* Header */
header .bi {
    color: white;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(256, 256, 256, 0.0));
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    pointer-events: none;
    text-shadow: 1px 1px black;
    transition: top 0.7s;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-image: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
                                  rgba(0, 123, 256, 0.5) 50%,
                                  rgba(0,0,0,0) 100%
    ) 100% 1;
}

header .title {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
}

header .icon {
    display: inline-block;
    width: 32px;
    height: 32px;
}

header .container h1,
header .container nav {
    pointer-events: all;
}

header .container nav ul li a {
    color: white;
}

.header-darken h1,
.header-darken .container nav ul .jumper a,
.header-darken .container nav ul li i {
    color: black;
    text-shadow: 1px 1px white;
}

.header-darken .container nav ul .jumper a:hover {
    color: #666 !important;
}

.header-darken .container nav ul .jumper a:active {
    color: black;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #fff;
    transition: color 0.5s;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li {
    margin-left: 20px;
    vertical-align: middle;
}

nav ul li a {
    text-decoration: underline 2px;
    color: #333;
    transition: color 0.3s;
    font-weight: bold;
    font-size: 1.2em;
}

nav ul li a:hover {
    color: #eee !important;
}

nav ul li.jumper {
/*     border-right: 2px solid #28629f; */
/*     padding-right: 15px; */
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(85, 85, 85, 0.5), rgba(0, 0, 0, 0.5)), url('images/datareparation_bakgrund.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    text-shadow: 2px 2px black;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 1px 1px black;
    color: white;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px black;
}

/* Sections (General) */
section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e9e9e9;
}

section:nth-of-type(odd) {
    background-color: #fdfdfd;
}

.hours,
.services {
    background-color: #ffffff;
}

.hours ul {
    list-style: none;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hours ul li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
}

.hours ul li:last-child {
    border-bottom: none;
}

.hours ul li {
    text-align: center;
}

.prices {
    background-color: #ffffff;
}

.prices ul {
    list-style: none;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prices ul li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
}

.prices ul li:last-child {
    border-bottom: none;
}

.contact {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    height: calc(100% + var(--map-size));
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .container {
    padding: 20px 40px;
    max-width: 600px;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#map {
    position: relative;
    padding: 20px;
    flex-shrink: 0;
    width: var(--map-size); 
    height: var(--map-size);
    margin-left: calc(var(--map-size) * -1);
}

#map iframe {
    display: block;
    float: right;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: grow 0.5s alternate, fadeIn 0.5s ease-out;
}

/* Service card */
.service-card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    text-align: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
    color: var(--primary-blue-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-card .bi {
    background: rgb(0, 159, 255, 0.2);
    font-size: 24px;
    border-radius: 9999px;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact ul {
    list-style: none;
    align-items: center;
}

.contact ul li {
    margin-left: 20px;
    vertical-align: middle;
    margin-top: 30px;
    text-align: center;
}

.contact ul li a {
    text-decoration: none;
    color: #004d99;
    transition: color 0.3s;
}

.contact ul li a:hover {
    text-decoration: underline;
}

.contact ul li a:hover {
    color: var(--primary-blue-color);
}

.contact-info li {
    font-size: 1.1em;
}

/* Sidefooter */
footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
    position: sticky;
    width: 100%;
}

footer p {
    margin: 0;
}

.jumped {
    animation: highlightFade 2s ease-out 1;
}

@keyframes highlightFade {
    0% {
        background-color: #e6f0ff;
    }

    100% {
        background-color: white;
    }
}

@keyframes grow {
    0% {
        width: 0;
    }
    
    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0.0;
    }
    
    100% {
        opacity: 1.0;
    }
}

@media (pointer: coarse), (pointer: none) {
    .mouse {
        display: none;
    }
}

@media (max-width: 734px) {
    .cta-button {
        display: none !important;
    }
}

@media (max-width: 795px) {
    header .container {
        display: block;
    }

    header .container .title {
        justify-content: center;
    }

    nav ul li:last-child {
        position: absolute;
        right: 5px;
        top: 5px;
    }
}

@media (max-width: 1024px) {
    header {
        text-shadow: 1px 1px black;
    }

    header .container {
        padding: 0;
        margin: 5px 10px;
        width: 100%;
    }

    header h1 {
        font-size: 2em;
        text-align: center;
    }

    header .title {

    }

    .oxelosund {
        display: revert;
    }

    nav ul {
        justify-content: space-evenly;
    }

    nav ul li {
        margin: 0 20px 0 0;
    }

    nav ul li.jumper {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    nav ul li a {
        text-decoration: underline 2px;
        font-size: 1.2em;
    }

    nav ul li .cta-button {
        padding: 5px 10px;
    }
}
