/* General styles */
body {
    margin: 0;
    font-family: "Karla", sans-serif;
    font-weight: 400;
    background-color: #f2f2f2;
    background-image: url('water.png');
    background-repeat: no-repeat;
    background-size: 30% auto;
    background-position: left 0% top 110%;
    background-attachment: fixed;
}

* {
    box-sizing: border-box;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4A90E2;
    padding: 10px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.logo span {
    color: white;
    font-size: 24px;
}

.logo-black {
    color: black;
}

nav {
    display: flex;
    gap: 20px;
    margin-right: 50px;
}

.nav-button {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

.nav-button:hover {
    background-color: white;
    color: #4A90E2;
}

/* Banner styles */
.banner {
    background-image: url('banner-image.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 60px;
}

.banner h1 {
    font-size: 60px;
}

.banner p {
    font-size: 16px;
}

/* Main content styles */
main {
    padding-top: 10px;
}

/* Title and button alignment */
.title-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    position: relative;
    margin: 40px 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px; /* Add space below the title */
}

.pakket_aanmaken {
    margin-top: 10px; /* Space between title and button */
    padding: 0.5em 1em;
    background-color: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.pakket_aanmaken:hover {
    background-color: #e0e0e0;
}


.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Allows cards to wrap onto new lines if needed */
}

.card {
    background-color: #4A90E2;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 250px; /* Fixed width */
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card h2 {
    margin-top: 0;
    font-size: 24px;
}

.card p {
    font-size: 16px;
    margin: 10px 0;
    overflow-wrap: break-word; /* Allows long words to break */
}

/* Review-specific styling */
.review-content {
    flex-grow: 1; /* Makes the review area expandable */
    overflow-wrap: break-word; /* Wraps long text */
    white-space: normal; /* Ensures text wraps */
}

.admin-response {
    background-color: #d9f5e3; /* Light green background for response */
    color: #333;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Delete button */
.delete-button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Button styling */
.button {
    background-color: #4A90E2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #3a7fb1;
}



/* Remove overflow settings to allow the card to expand naturally */


/* Button styles */
.button,
.delete-button {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button {
    background-color: #4A90E2;
    color: white;
}

.button:hover {
    background-color: #3a7fb1;
}

.delete-button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.delete-button:hover {
    background-color: darkred;
}

/* Review image styles */
.review-image {
    border-radius: 50%;
    width: 60px;
    max-height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 10px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .banner h1 {
        font-size: 28px;
    }
}
