﻿/* Hero Section with Background Image */
.hero {
    background: url('../images/kaws-companion-galerie-1.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6347;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

    .hero .cta-btn:hover {
        background: #e04e3b;
    }

.f-container {
    max-width: 1200px;
    margin: 20px auto;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .card h3 {
        font-size: 20px;
        margin: 15px 0;
    }

    .card p {
        font-size: 14px;
        padding: 0 10px;
        margin: 0 0 10px;
        color: #555;
    }

    .card a {
        display: inline-block;
        margin: 10px 0;
        padding: 10px 20px;
        background-color: #007bff;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-size: 14px;
    }

        .card a:hover {
            background-color: #0056b3;
        }


/* Gallery Section */
.gallery {
    padding: 5px 20px;
    background: #f4f4f4;
}

    .gallery h3 {
        text-align: center;
        margin-bottom: 40px;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

.view-more {
    display: block;
    font-size: 1.2rem;
    color: #ff6347;
    margin-top: 30px;
    text-decoration: none;
    text-align: right;
    margin-left: auto; /* This pushes it to the right */
}

    .view-more:hover {
        text-decoration: underline;
    }


.website-introduction {
    background-color: #f9f9f9;
    padding: 20px 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.title {
    font-size: 2em;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}

.intro-text, .why-choose-text, .join-us {
    font-size: 1.1em;
    line-height: 1.6em;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.5em;
    color: #444;
    margin: 30px 0 15px;
}

.offerings {
    list-style: disc inside;
    margin-bottom: 20px;
}

    .offerings li {
        margin-bottom: 10px;
        line-height: 1.6em;
    }

.cta {
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    color: #444;
    margin-top: 20px;
}


/* Media Queries for Mobile */
@media screen and (max-width: 768px) {
    .hero {
        background: url('../images/kaws-companion-galerie-1.webp') no-repeat center center;
        background-size: cover;
        color: #fff;
        text-align: center;
        padding: 0px 0px;
        position: relative;
    }

        .hero .cta-btn {
            display: block; /* Make the button block-level on small screens */
            width: 100%; /* Make the button take up the full width of the container */
            max-width: 300px; /* Limit the width of the button */
            margin: 20px auto; /* Center the button with some space around it */
        }

        .hero h2 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        max-width: 100%;
    }

    .gallery-item {
        height: 400px;
    }
}
