body.top {
    background: linear-gradient(rgba(0, 0, 0, 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 */
}

header .bi {
    color: var(--secondary-blue-color);
}

header .container .title h1 {
    color: var(--secondary-blue-color);
}

header .container .title {
    color: var(--secondary-blue-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 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;
}

.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) {
    nav ul li:last-child {
        position: absolute;
        right: 5px;
        top: 5px;
    }
}

@media (max-width: 1024px) {
    .oxelosund {
        display: revert;
    }
}
