body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
    width: 100vw;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    
}

p {
    font-weight: 300; 
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px; 
    z-index: 1000;
    display: block;
}

.consent-ball {
    background: #2C3E50;
    color: #fff;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: bounce 1s infinite;
    overflow: hidden;
    position: relative;
}    

.consent-text {
    font-size: 14px;
    max-width: 120px;
    margin-bottom: 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: center;
}

.consent-ball button {
    background: #fff;
    color: #2C3E50;
    border: none;
    border-radius: 3px;
    padding: 8px 16px;
    font-size: 14px;
    margin: 5px;
    cursor: pointer;
    min-width: 60px;
}

.consent-ball button:hover {
    background: #ddd;
}

.cookie-consent.hidden {
    display: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .consent-ball {
        width: 150px;
        height: 150px;
        padding: 5px;
    }
    .consent-text {
        font-size: 14px;
        max-width: 120px;
        overflow: visible;
        text-overflow: unset;
        margin-bottom: 10px;
    }
    .consent-ball button {
        padding: 8px 16px;
        font-size: 14px;
        margin: 5px;
        min-width: 60px;
    }
}

header {
    background: transparent;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    width: 100vw;
    box-sizing: border-box;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Animering för header */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

#nav-menu {
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease; /* Animering för meny */
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    margin: 0;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-sizing: border-box;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    header {
        position: sticky !important;
        top: 0;
        width: 100%;
        z-index: 1000  ;
    }        
    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    #nav-menu {
        display: none; /* Osynlig som standard */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2C3E50;
        padding: 1rem;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease; /* Animering för dropdown */
    }

    #nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    .icons {
        margin-left: 0;
        margin-top: 20px;
    }
}

.hero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 80vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    min-height: 73vh;
    overflow: hidden; 
}

#youtube-player {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    pointer-events: none;
    width: 100%
}

#youtube-player iframe {
    width: 300%;
    height: 100%;
    margin-left: -100%;
}
.video-fallback {
    position: absolute;
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    max-width: 100%; 
    height: auto; 
    object-fit: contain; 
    z-index: -3;
}
.video-fallback img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.hero {
    height: 54vw;
    max-height: 75vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 45%); 
    width: 65%;
    z-index: 1;
    background: transparent;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0 20px;
}
@keyframes flyInFade {
    0% {
        opacity: 0;
        transform: translateY(100px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}
.hero-spacer {
    position:relative;
    height: 53vw;
    max-height: 73vh;
    min-height: 100px;
}
@media (max-width: 768px) {
    .hero-wrapper {
        height: 50vh;
    }
    .video-overlay {
        height: 50vh;
    }
    .hero {
        transform: translate(-50%, 40%);
        width: 100%;
    }
    .hero h1 {
        font-size: 1.5rem;
        animation: flyInFade 1.5s ease-out forwards;
    }
    .hero-spacer {
        height: 140px;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
}
.reel-section {
    background: #000;
    width: 100vw;
    position: relative;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  
}

.video-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box
}

.video-container {
    
    aspect-ratio: 16 / 9;
    position: relative;
    display: grid;
    align-items: center;  
    
}

.play-icon {
    position: absolute;
    top: 47%;
    left: 47%;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24" fill="white"><path d="M4 5v14l14-7z"/></svg>') no-repeat center;
    background-size: contain;
    cursor: pointer;
    z-index: 10;
    filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
    animation: pulse 1.5s infinite;
}

.play-icon:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.video-info {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;

}

.testimonial-1, .testimonial-2 {
    background: #000;
    margin: 20px auto;
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 0;
    padding: 20px;
}
.header-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
}
.testimonial-video {
    flex: 1.3;
    max-width: 90%;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-wrapper {
    width: 100% ;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
}
.video-wrapper iframe {
    width: 300%;
    height: 100%;
    margin-left: -100%;
    pointer-events: none;
}
.testimonial-preview, .reel-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 5px;
    display: block;
    cursor: pointer;
    object-fit: cover;
}


.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.play-icon svg {
    width: 48px;
    height: 48px;
    fill: white;
}

.video-controls {
    position: absolute;
    bottom: -10%; 
    left: -0.5%; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3; 
}

.video-controls.visible {
    opacity: 1;
}

.volume-slider {
    width: 100px;
    height: 20px;
    background: none;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    transform: rotate(-90deg);
    transform-origin: bottom left;
    margin-bottom: 10px;
    margin-right: -100px;
    order: -1;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin-top: -3px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.control-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toggle-btn .play-btn,
.toggle-btn .pause-btn {
    transition: opacity 0.2s ease;
}

.toggle-btn .hidden {
    opacity: 0;
    display: none;
}
.subtitles-icon {
    fill: none; 
    stroke: white; 
    stroke-width: 2;
}
.progress-slider {
    width: 150px;
    height: 35px;
    background: none;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.progress-slider:hover {
    opacity: 1;
}

.progress-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin-top: -3px;
}
.testimonial-content {
    flex: 1;
    max-width: 40%;
    color: #fff;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media (max-width: 768px) {
    
    .header-container {
        margin-bottom: 10px;
        padding: 0;
    }

    .content-container {
        flex-direction: column; 
        align-items: center; 
    }

    .testimonial-content {
        max-width: 95%; /* Matchar videon */
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-video {
        max-width: 95%; /* Nästan full bredd, med lite marginal */
        width: 95%; /* Tvingar bredden att vara konsekvent */
        margin-left: auto;
        margin-right: auto;
    }
    .video-wrapper {
        width: 100%; /* Säkerställer att wrapper fyller testimonial-video */
    }
    .testimonial-preview {
        width: 100%; /* Säkerställer att preview fyller wrapper */
        height: 100%; /* Behåller aspektförhållandet */
    }

    .play-icon {
        top: 35%;
        left: 45%;
    }
    
    .video-controls {
        position: absolute;
        bottom: -10%; 
        left: -0.5%; 
        display: flex;
        align-items: flex-end;
        justify-content: center;
        gap: 6px;
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: 3; 
    }
}

.main-button {
    display: inline-block; 
    padding: 12px 24px;
    background-color: #ff6200;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: auto; 
    max-width: 200px; 
    text-align: center; 
}

.main-button:hover {
    background-color: #e65c00;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
}

.side-image {
    position: relative;
    z-index: 2;
    width: 200px;
    height: auto;
    margin-left: 20px;
}

.about-lennart-container {
    max-width: 100%;
    background: #fff;
    margin: 40px 0 20px;
    box-sizing: border-box;
    position: relative; 
    z-index: 0; 
}

.about-lennart {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-header {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.about-title {
    font-size: 2rem;
    color: #000;
}

.about-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-top: 0;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 2;
    color: #000;
    padding-left: 40px;
    padding-right: 20px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 0;
    margin-top: 0;
    max-width: 70%;
}

.about-image {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
    padding-top: 0;
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    max-width: 30%;
    text-align: center; 
}

.about-image img {
    width: 100%; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    vertical-align: top;
    display: inline-block; 
    margin-bottom: 40px;
}

.about-content h3 {
    display: none;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
    margin-top: 0;
}

.about-content .main-button {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .about-lennart-container {
        padding: 20px;
        margin-bottom: 20px;
    }
    .about-lennart {
        padding: 0;
    }
    .about-header {
        margin-bottom: 20px;
    }
    .about-title {
        font-size: 1.5rem;
    }
    .about-content-wrapper {
        flex-direction: column;
        padding-bottom: 40px;
    }
    .about-content {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        padding-top: 0;
        margin-top: 0;
        max-width: 100%;
        text-align: center; 
    }
    .about-image {
        width: 100%;
        margin-top: 20px;
        padding-top: 0;
        max-width: 100%;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    .about-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto; 
        display: block; 
    }
}

.services {
    background: #000;
    margin: 20px auto;
    max-width: 1200px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 0;
}

.services-content {
    display: flex;
    align-items: flex-start; /* Redan korrekt för att starta från toppen */
    padding: 40px 20px;
    color: #fff;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    position: relative;
}

.services-image {
    flex: 2;
    margin-right: 20px;
    display: flex;
    align-items: flex-start; /* Redan korrekt */
    text-align: center;
    max-width: 800px;
    box-sizing: border-box;
}

.services-image img {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    margin: 0 auto;
    vertical-align: top; /* Redan korrekt */
}

.services-text {
    flex: 1;
    text-align: center;
    padding-left: 20px;
    box-sizing: border-box;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 0; /* Säkerställer ingen extra padding överst */
    margin-top: 0; /* Redan korrekt */
}

.services-text h2 {
    margin-top: 0; /* Tar bort eventuell standardmarginal från h2 */
}

.services-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0; /* Redan korrekt */
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    margin-top: 0; /* Redan korrekt */
}

.services-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
    margin-top: 0; /* Redan korrekt */
}

.services-list li:before {
    content: "•";
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

@media (max-width: 1000px) {
    .services {
        margin: 20px auto;
        padding: 20px 10px;
    }
    .services-content {
        flex-direction: column;
        padding: 0;
        align-items: center; /* Ändras till center vid mindre skärmar */
        margin-bottom: 20px;
    }
    .services-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .services-image img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .services-text {
        padding-left: 0;
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .services-list li {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

.video-barriers {
    background-color: #e6e6e6;
    color: #000000;
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 30px;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
    display: inline-block;
}

.barrier-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 850px;
    margin: 0 auto;
    gap: 40px;
}

.barrier-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.barrier-item svg {
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.barrier-item svg path,
.barrier-item svg text {
    fill: #ff0000; 
}

@keyframes pulse {
    0% {
        opacity: 1; 
        transform: scale(1); 
    }
    50% {
        opacity: 0.5; 
        transform: scale(0.9); 
    }
    100% {
        opacity: 1; 
        transform: scale(1); 
    }
}

.barrier-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.barrier-item p {
    max-width: 200px;
    margin: 0 auto;
}

.intro-text {
    font-size: 18px;
    margin-top: 30px;
    font-weight: bold;
}
@media (max-width: 680px) {
    .barrier-container {
        flex-wrap: wrap; 
    }
    .barrier-item {
        flex: 100%; 
        min-width: 0; 
        margin-bottom: 0px;
    }
    .barrier-item h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    .barrier-item:last-child {
        margin-bottom: 0;
    }
}

.video-solution {
    background-color: #fff;
    color: #000;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-text {
    max-width: 800px;
    margin-bottom: 30px;
}

.solution-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
}

.did-you-know {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
    gap: 0;
    padding: 0;
}

.did-you-know-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 0px;
}

.did-you-know-image {
    flex: 1;
    min-width: 0;
    text-align: center;
    min-height: 300px;
    padding: 0;
}

.did-you-know-image img {
    border-radius: 10px 0 0 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.did-you-know-text {
    flex: 1;
    min-width: 0;
    max-width: 300px;
    background-color: #efefef;
    color: #000;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    border-radius: 0 10px 10px 0;
}

.did-you-know-text p:first-child {
    font-weight: bold;
    margin-bottom: 5px;
}

.did-you-know-text p:last-child {
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .did-you-know-wrapper {
        flex-direction: column;
    }
    .did-you-know-image {
        order: -1;
    }
}
.contact-wrapper {
    display: block;
    background: #e6e6e6; 
    padding: 20px; 
    width: 100%;
    margin: 0 auto 30px; 
    color: #000;
    box-sizing: border-box;
}

.contact-form {
    background: #2C3E50; 
    color: #fff; 
    padding: 40px 20px;
    text-align: center;
    max-width: 800px; 
    margin: 0 auto; 
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 98, 0, 0.8);
}

.form-message {
    margin-top: 20px;
    font-size: 1rem;
}

.form-message.success {
    color: #00ff00;
}

.form-message.error {
    color: #ff0000;
}
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

.form-group input[type="tel"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 98, 0, 0.8);
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 20px 10px;
        margin: 0 auto 20px;
    }
    .contact-form {
        padding: 20px 10px;
        max-width: 100%;
    }
    .form-group {
        max-width: 100%;
    }
}

.carousel-title {
    text-align: center; 
    font-size: 2rem; 
    font-weight: bold; 
    color: #ffffff; 
    margin: 20px 0; 
    padding: 40px;
}
.carousel {
    position: relative;
    max-width: 510px;
    max-height: 700px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    touch-action: pan-y; 
}
@media (max-width: 768px) {
    .carousel {
        max-width: 95%;
    }
}
.slide {
    display: none;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.slide.active {
    display: block;
    position: relative; 
}

.slide img {
    width: 100%;
    height: auto;
}

.slide-in-right {
    animation: slideInRight 0.5s forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.5s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.info-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    background: transparent;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.info-button:hover {
    background: white;
    color: black;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}
.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.active-dot {
    background: orange;
}

.thumbnail-gallery {
    margin: 40px 0;
    padding: 20px 0;
    background: #000;
    color: #fff;
    width: 100vw;

}

.thumbnail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    width: 100vw;
}

.thumbnail-item {
    flex: 1 0 25%;
    margin: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: none;
    box-sizing: border-box;
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

.thumbnail-link {
    display: block;
    position: relative;
    text-decoration: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: rgba(255, 165, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.overlay:before {
    content: '';
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><circle cx="20" cy="20" r="19" stroke="white" stroke-width="2" fill="none"/><g transform="translate(6, 6) scale(1.2)"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.5 6.5 0 0 0-7.42 7.42c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z" fill="white"/></g></svg>') no-repeat center;
    background-size: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-link:hover .overlay {
    opacity: 1;
    background: rgba(255, 165, 0, 0.7);
}

.thumbnail-link:hover .overlay:before {
    opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    width: 90%; /* Uppdaterat till 90% av fönstrets bredd */
    max-width: 90vw; /* Säkerställer att det inte överskrider fönstret */
    height: auto;
    max-height: 90vh;
    background: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

#lightbox-player {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9-förhållande */
    position: relative;
}

#lightbox-player iframe,
#lightbox-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-lightbox {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    padding: 5px 10px;
    background: #fff;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1001; /* Över iframe */
}

.close-lightbox:hover {
    background: #ff6200;
}

.lightbox.hidden {
    display: none;
}

.lightbox.visible {
    display: flex;
}

@media (max-width: 768px) {
    .thumbnail-row {
        flex-direction: column;
        align-items: center;
    }
    .thumbnail-item {
        max-width: 100%;
        flex: 1 0 100%;
    }
    .thumbnail-item:last-child {
        margin-bottom: 0;
    }
    .lightbox-content {
        width: 90%; /* Mer utrymme på små skärmar */
        max-width: none; /* Tar bort max-width-begränsning */
        padding: 10px; /* Mindre padding på små skärmar */
    }
}

/* Cookie-overlay för lightbox */
.cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 1002; /* Över videon */
}

.cookie-overlay.hidden {
    display: none;
}

.cookie-overlay p {
    margin: 0 0 20px;
    font-size: 1.2rem;
    text-align: center;
}

.cookie-overlay .cookie-ok-btn {
    padding: 10px 20px;
    background: #ff6200;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.cookie-overlay .cookie-ok-btn:hover {
    background: #e65b00;
}
.footer {
    background: #2C3E50; 
    color: #fff;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 10px;
    }
    .footer-links a {
        display: block; 
        margin: 5px 0;
    }
    .icons {
        flex-direction: row;
        gap: 8px; 
    }
    .icons a {
        margin: 0;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.hidden {
    display: none;
}

.lightbox.visible {
    display: flex;
}

.lightbox-content.privacy-content {
    background: #2C3E50;
    ;
    padding: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
    position: relative;
}

.close-privacy {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}
[id] {
    scroll-margin-top: 75px;
}
.cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5; /* Över preview och play-icon */
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-overlay.hidden {
    display: none;
}

.cookie-overlay p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 300px;
}

.cookie-overlay .cookie-ok-btn {
    background: #ff6200;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-overlay .cookie-ok-btn:hover {
    background: #e65c00;
}

@media (max-width: 768px) {
    .cookie-overlay p {
        font-size: 14px;
        max-width: 250px;
    }
    .cookie-overlay .cookie-ok-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}
.cookie-overlay .privacy-link {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 10px;
    display: block; /* Säkerställer att den hamnar under knappen */
}

.cookie-overlay .privacy-link:hover {
    color: #ff6200; /* Matchar din OK-knapps hover-färg */
}

