body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo img {
    width: 150px;
    margin-left: 25%;
}

.logo-bottom img {
    width: 200px;
}

.logo-bottom {
    text-align: left;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.svgs {
    width: 15px;
    color: #333;
}

#modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

#modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

#infoinherit {
    font-size: 16px;
    margin-bottom: 20px;
}

.anpassad-form {
    display: flex;
    flex-wrap: wrap;
}

.form-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-cont input,
.form-cont textarea,
#form-cont-button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-cont input {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-cont textarea {
    width: 100%;
    resize: vertical;
    box-sizing: border-box;
}

#form-cont-button {
    padding: 10px 20px;
    background-color: #0a5c52;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-left: -2px;
}

#form-cont-button:hover {
    transform: scale(0.95);
    transition: 0.3s;
}

nav a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: inline-block;
    /* Ensure the link is treated as an inline block */
    padding-bottom: 5px;
    /* Add some space below the text */
    transition: color 0.5s;
    /* Smooth color transition */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    /* Height of the underline */
    bottom: 0;
    left: 0;
    background-color: #333;
    /* Underline color */
    transition: width 0.5s;
    /* Smooth transition for the underline width */
}

nav a:hover::after {
    width: 100%;
    /* Expand the underline to the full width of the link */
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
}

.mobile-menu {
    display: none;
    /* Initially hidden */
    max-height: 0;
    /* Start with no height */
    transition: max-height 0.3s ease-in-out;
    /* Smooth transition */
    flex-direction: column;
    /* Stack items vertically */
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff;
    border-top: 2px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.mobile-menu a:hover {
    background-color: #f1f1f1;
}

.mobile-menu.open {
    display: block;
    max-height: 500px;
    transition: max-height 0.3s ease-in-out;
}


@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo img {
        width: 120px;
    }

    .form-cont input {
        width: 100%;
    }
}

.hero {
    position: relative;
    height: 100vh;
    background: url('startsida.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 5px;
}

.hero-text {
    max-width: 90%;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}

.hero-text h2 {
    font-size: 2rem;
    margin: 0;
    margin-top: 0;
    line-height: 1.2;
    font-weight: 600;
}

.hero-text button {
    background: transparent;
    border: 2px solid #fff;
    color: white;
    margin-top: 2%;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 35px;
    transition: background 0.3s;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-text button:hover {
    background: #f4f4f4;
    color: #333;
}

.kvalit {
    letter-spacing: 3px;
}

/* Loader styles */
.loader {
    border: 10px solid #f3f3f3;
    /* Light grey */
    border-top: 10px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
    /* Center the loader */
    z-index: 1000;
}

/* Animation for spinning */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 4rem;
    }

    .hero-text button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {

    /* Loader styles */
    .loader {
        border: 8px solid #f3f3f3;
        /* Light grey */
        border-top: 8px solid #3498db;
        /* Blue */
        border-radius: 50%;
        width: 90px;
        height: 90px;
        animation: spin 2s linear infinite;
        position: absolute;
        top: 50%;
        left: 38%;
        transform: translate(-50%, -50%);
        /* Center the loader */
        z-index: 1000;
    }
}

.info {
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
}

.info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4D195A;
}

.info p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 1rem;
}


.offerscontent {
    width: 100%;

    padding: 10px;
}

.offers {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.offersh1 {
    font-size: 2rem;
    margin: 0;
    margin-top: 8%;
    margin-bottom: 3%;
    line-height: 1.2;
    font-weight: 300;
}

.top-section {
    display: flex;
    flex-wrap: wrap;
}

#attefalls,
#stallet {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 300;
}

.price-box {
    background-color: #10796e;
    color: #fff;
    padding: 20px;
    text-align: left;
    flex: 1 1 300px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 10px;
}

.price-box h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
}

.price-box h2 {
    margin: 0;
    font-size: 30px;
    color: #fff;
    font-weight: 300;
}

.image-offers {
    flex: 1 1 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-offers img {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
}

@media (max-width: 768px) {
    .image-offers img {
        width: 100%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }

    .price-box {
        background-color: #10796e;
        color: #fff;
        padding: 20px;
        text-align: left;
        flex: 1 1 300px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.details {
    padding: 20px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    text-align: left;
}

.details div {
    flex: 1 1 30%;
}

.details h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: normal;
}

.details p {
    margin: 5px 0;
}

.buttons {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.buttons button {
    background-color: #fff;
    border: 2px solid #333;
    color: #333;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px;
}

.buttons button:hover {
    background-color: #10796e;
    color: #fff;
}

.extra-content,
.extra-content2,
.extra-content3 {
    display: none;
    padding: 20px;
    background-color: #f5f5f5;
    text-align: left;
}

.extra-content ul,
.extra-content2 ul,
.extra-content3 ul {
    text-align: left;
}

.extra-content p,
.extra-content2 p,
.extra-content3 p {
    text-align: left;
    margin: 25px;
    font-weight: 600;
}

.erbjspan {
    text-decoration: underline;
}

.combo {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    /* Add space between the images */
}

.combo img {
    max-width: 90%;
    height: auto;
    border: 1px solid #ccc;
    /* Add a border to the images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow */
    transition: transform 0.2s;
    /* Add a transition effect */
}

.combo img:hover {
    transform: scale(1.15);
    /* Slightly enlarge the image on hover */
}

@media (max-width: 768px) {
    .combo img {
        max-width: 100%;
        height: auto;
        border: 1px solid #ccc;
        /* Add a border to the images */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        /* Add a subtle shadow */
        transition: transform 0.2s;
        /* Add a transition effect */
    }

    .combo img:hover {
        transform: scale(1.4);
        /* Slightly enlarge the image on hover */
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
  }
  

  .card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* viktigt */
    align-items: stretch;
    background: #10796e;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    max-width: 550px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  

.card h3 {
    margin-top: 10px;
    font-size: 2rem;
    text-align: left;
    padding-left: 25px;
    padding-top: 25px;
    color: #fff;
    /* Match heading color to the image */
}

.card p {
    font-size: 1rem;
    padding-left: 25px;
    padding-right: 25px;
    text-align: left;
    color: #fff;
    /* Slightly lighter text for better readability */
}

.card button {
    background: transparent;
    border: 2px solid #fff;
    color: white;
    padding: 10px 20px;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 35px;
    text-align: left;
    transition: background 0.3s;
    display: inline-block;
    margin-bottom: 30px;
}

.card button:hover {
    background: #f4f4f4;
    color: #333;
}

.btn-explore,
.btn-offer {
    padding: 10px 20px;
    margin: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-explore:hover,
.btn-offer:hover {
    background-color: #0056b3;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .info h2 {
        font-size: 3rem;
    }

    .info p {
        font-size: 1.2rem;
    }
}

.contact {
    background: #f7f7f7;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.contact a {
    color: #10796e;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4D195A;
}

.contact p {
    max-width: 1000px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    /* Adjust the max-width as needed */
    margin: 0 auto;
    /* Center the container */
    padding: 20px;
    /* Add some padding for breathing room */
    text-align: left;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.contact-info h3 {
    color: #4D195A;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1rem;
    color: #555;
    margin: 10px 0;
}

.contact-info a {
    color: #333;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.contact-form button {
    background-color: #7e2794;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    background: #4D195A;
    border: none;
    color: white;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 20px;
}

.contact button:hover {
    background: #3b1447;
}

@media (min-width: 768px) {
    .contact p {
        font-size: 1.2rem;
    }

    .contact-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .contact-info {
        max-width: 400px;
    }

    .contact-form {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        /* Adjust padding for smaller screens */
    }

    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 100%;
        /* Make sure it fits smaller screens */
    }

}


footer {
    border-top: 2px solid #7e2794;
    color: #333;
    text-align: center;
    padding: 20px;
    width: 80%;
    margin-left: 15%;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        border-top: 2px solid #333;
        color: #333;
        text-align: center;
        padding: 20px;
        width: 80%;
        margin-left: 10%;
    }
}

.status-message {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    color: white;
    border-radius: 5px;
}

.success {
    background-color: #4CAF50;
}

.error {
    background-color: #f44336;
}

.slide-in {
    opacity: 0;
    transform: translateY(50px);
    /* Start below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
    /* Move to original position */
}

/* Slide-in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    /* Start from the left */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
    /* Move to original position */
}

.slide-in p {
    text-align: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 1em;
    margin: 10px;
  }
  
  .gallery-grid a {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3; /* Gör alla bilder 4:3 proportionellt */
    overflow: hidden;
    border-radius: 10px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fyller rutan och beskär automatiskt */
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
  }
  
  

  .products-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 20px;
    align-items: stretch; /* detta fixar höjdmatchning */
  }
  
  
  .product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 560px;
    width: 100%;
    text-align: left;
    transition: transform 0.3s;
  
    display: flex;              /* 🔥 */
    flex-direction: column;     /* 🔥 */
    justify-content: space-between; /* 🔥 */
  }
  
  
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .product-card img:hover {
    cursor: pointer;
  }
  
  .product-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
    color: #10796e;
  }
  
  .product-card p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 15px;
  }
  
  .product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .product-card button {
    background-color: #10796e;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    min-width: 200px;
  }
  
  .product-card button:hover {
    background-color: #0a5c52;
  }
  
  #modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 60px;
    justify-content: center;
    align-items: center;
  }
  
  #modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  #modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
  }
  
  .anpassad-form .form-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .anpassad-form input,
  .anpassad-form textarea,
  #form-cont-button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .anpassad-form input {
    width: calc(50% - 10px);
    box-sizing: border-box;
  }
  
  .anpassad-form textarea {
    width: 100%;
    resize: vertical;
  }
  
  #form-cont-button {
    padding: 10px 20px;
    background-color: #0a5c52;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #form-cont-button:hover {
    transform: scale(0.95);
  }
  