/* Body background image */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url('images/joy_background.jpeg') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the entire page */
    color: #333; /* Default text color */
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.3) url('images/header_background.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Reduced opacity for a lighter fade effect */
    z-index: -1;
}

/* Header text */
header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Navigation */
nav {
    background: #333;
    color: white;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-transform: uppercase;
}

nav a:hover {
    background: #5DAC81;
}

nav a.active {
    background: #5DAC81;
}

/* Main content sections */
main {
    padding: 20px;
}

/* Sections */
section {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Light transparent background */
    border-radius: 10px; /* Rounded corners */
    margin: 20px 0;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px; /* Fixed width for the form */
    margin: 0 auto; /* Center the form horizontally */
    padding: 20px; /* Add padding inside the form */
    background-color: rgba(255, 255, 255, 0.9); /* Slightly opaque background */
    border: 5px solid #ccc; /* Add a border */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for a polished look */
}

input[type="text"], input[type="email"], textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Fill the form's width */
}

button {
    background-color: #5DAC81;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:hover {
    background-color: #4b9f70;
}
/* Footer styles */
footer {
    background: #333;
    color: white;
    padding: 10px 0;
    text-align: left; /* Align everything to the left */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-hours, .footer-nav {
    flex: 1;
    padding: 10px;
}

.footer-hours ul, .footer-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Footer headers */
.footer-hours h4, .footer-nav h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Footer navigation styling */
.footer-nav ul {
    display: block; /* Display list items in a block format (vertical) */
    padding: 0;  /* Remove padding */
    margin: 0;  /* Remove margin */
}

.footer-nav ul li {
    margin-bottom: 5px;  /* Reduced space between links */
}

/* Specifically target footer navigation links */
.footer-nav ul li a {
    color: white !important; /* Force the white color */
    text-decoration: none !important; /* Remove underline */
    font-size: 16px; /* Set font size */
    padding: 0; /* Remove padding */
    display: inline-block; /* Ensure links are clickable */
    transition: color 0.3s ease; /* Smooth transition on hover */
}

/* Remove green button effect and add hover effect */
.footer-nav ul li a:hover {
    color: #f39c12; /* Change color on hover */
    text-decoration: underline; /* Optional: Underline text on hover */
}

/* Center the copyright text */
footer p {
    text-align: center;
    margin-top: 20px;
}

/* Dog tips section in footer */
.footer-tips {
    flex: 1;
    padding: 10px;
    background: #444;
    color: white;
    margin-left: 20px;
    border-radius: 10px;
}

.footer-tips ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-tips ul li {
    margin-bottom: 5px;
    font-size: 16px;
}

.footer-tips ul li::before {
    content: "🐕 "; /* Adds dog emoji */
}

/* List Styling */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 10px;
}

/* Confirmation message styles */
.message {
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Success message */
.message.success {
    background-color: #e0f7e0;
    border-left: 5px solid #4CAF50;
    color: #388e3c;
}

/* Error message */
.message.error {
    background-color: #f8d7da;
    border-left: 5px solid #f44336;
    color: #d32f2f;
}

/* Button and links styling */
a {
    text-decoration: none;
    color: #5DAC81;
    padding: 10px 20px;
    border: 2px solid #5DAC81;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

a:hover {
    background-color: #5DAC81;
    color: white;
}
/* sections in form */
h3 {
    color: #5dac81;
    font-size: 1.5rem;
    margin-top: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

form label {
    font-weight: bold;
    margin-top: 10px;
}

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Response message container */
.response-container {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Box around the message */
.response-box {
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Styling for success messages */
.response-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Styling for error messages */
.response-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #5dac81;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

a:hover {
    background-color: #4a8f70;
}
/*Aanmelden */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: flex;
    align-items: center; /* Ensures checkbox and text are vertically aligned */
    font-weight: bold;
}
.form-group input[type="checkbox"] {
    margin-right: 8px; /* Adds space between the checkbox and the text */
}
textarea {
    width: 100%;
    height: 100px;
}

#voorkeursdagen {
    display: flex;
    flex-wrap: wrap;  /* Ensures that the checkboxes and labels wrap to the next line if necessary */
    gap: 10px;  /* Adjust the space between the checkboxes and labels */
}

#voorkeursdagen label {
    display: flex;
    align-items: center;  /* Vertically align the text and checkbox */
    margin: 5px 0;  /* Small margin to separate each line */
}

#voorkeursdagen input[type="checkbox"] {
    margin-right: 5px;  /* Space between checkbox and label text */
}

/* Basic Reset */
body, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Default Styles */
main {
    max-width: 800px;
    margin: 0 auto;
}

section {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h2 {
        font-size: 1.5em;
    }

    p, li {
        font-size: 1em;
    }
}

/* Default menu (desktop view) */
nav {
    display: flex;
    justify-content: center; /* Center the menu items horizontally */
    align-items: center;
    width: 100%;
    padding: 10px 0;
    position: relative; /* Ensure positioning is relative to the nav container */
}

.menu-container {
    display: flex;
    gap: 20px;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: white; /* Set hamburger color to white */
    position: relative; /* Ensure the hamburger is positioned relative to its container */
}

/* Mobile view */
@media (max-width: 768px) {
    .menu-container {
        display: none;
        flex-direction: column;
        width: auto; /* Let the menu container take only the width it needs */
        background-color: #333;
        position: absolute;
        top: 50px; /* Position the menu below the hamburger button */
        left: 0;
        z-index: 1000; /* Ensure the menu appears on top */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for better visibility */
    }

    .menu-container a {
        padding: 8px 16px; /* Smaller padding to make the buttons more compact */
        color: white;
        text-decoration: none;
        border-bottom: 1px solid #444;
        width: auto; /* Let buttons take only the space they need */
        text-align: left; /* Align the text to the left for better readability */
    }

    .hamburger {
        display: block;
        color: white; /* Ensures the hamburger icon is white for visibility */
        font-size: 30px;
    }

    .active {
        color: #f39c12;
    }
}
/* Override link styles for general links (remove button-like appearance) */
a {
    text-decoration: none;
    color: #5DAC81;  /* Green color for the link */
    padding: 0;  /* Remove padding */
    border: none; /* No border */
    background: none; /* No background */
    display: inline; /* Ensure it's inline (text-like) */
}

a:hover {
    color: #bdbdbd;  /* Darker gray on hover */
    text-decoration: underline; /* Optional: underline on hover */
}
/* Specific styles for the terms group */
.terms-group label {
    display: inline-flex; /* Ensures the checkbox and text are on the same line */
    align-items: center; /* Vertically aligns the checkbox and text */
    font-weight: bold;
    white-space: nowrap; /* Prevents wrapping to the next line */
}

.terms-group input[type="checkbox"] {
    margin-right: 4px; /* Adds a small space between the checkbox and the text */
}

.terms-group a {
    display: inline-block; /* Ensures proper alignment with surrounding text */
    vertical-align: middle; /* Aligns the link vertically with the text */
    line-height: 1; /* Ensures consistent alignment within the line */
}
