/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #022e5d  ;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    color: #022e5d  ;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white; /* White header background */
    color: #60b9d7
;
    padding: 30px 20px; /* Increase top/bottom padding to make it thicker */
    position: relative; /* For positioning the mobile menu */
    width: 100%; /* Ensures full width */
    margin: 0; /* Removes any margin */
    box-sizing: border-box; /* Includes padding in the width calculation */
    z-index: 9; /* Set to a very high number to ensure it’s in front */
}

/* Logo Style */
header .logo img {
    max-height: 80px; /* Increase the logo height a bit if needed */
}

/* Navigation Styles */
nav {
    position: relative;
}

/* Default (Mobile First) - Hide links initially */
nav .nav-links {
    display: none; /* Hidden by default (for mobile) */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    position: absolute;
    background-color: white;
    top: 60px; /* Adjust this value to suit your header's height */
    right: 0;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Links inside the menu */
nav .nav-links li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

nav .nav-links li:last-child {
    border-bottom: none;
}

nav .nav-links li a {
    color: #022e5d ;
    text-decoration: none;
    font-weight: bold;
}

nav .nav-links li a:hover {
    text-decoration: underline;

}

/* Show menu when active (when hamburger menu is clicked) */
nav .nav-links.active {
    display: flex; /* Show the menu when active */
}

/* Hamburger Menu Icon (hidden by default, shown on mobile) */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 9999; /* Set to a very high number to ensure it’s in front */
}

/* Desktop Layout (769px and above) */
@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide hamburger on larger screens */
    }

    nav .nav-links {
        display: flex; /* Always show links on larger screens */
        flex-direction: row;
        position: static; /* Normal positioning */
        background-color: transparent;
        box-shadow: none;
        width: auto;
    }

    nav .nav-links li {
        margin: 0 15px;
        padding: 0;
        border: none;
    }
}

/* Mobile Layout (up to 768px) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger menu icon */
    }

    nav .nav-links {
        display: none; /* Hide the links by default on mobile */
    }
}

/* Main Content Styles */
main {
    padding: 20px;
    text-align: center;
    flex-grow: 1; /* Allow the main content to take up available space */
}

.intro {
    margin-bottom: 40px;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content ul li {
    margin: 10px 0;
}
/* Footer Links Styling */
footer a {
    color: #60b9d7
    ; /* Dark color for text */
    text-decoration: none; /* Remove underline */
    margin: 0 10px; /* Space between links */
    font-size: 16px; /* Font size for readability */
    transition: color 0.3s ease; /* Smooth color transition for hover */
}

footer a:hover {
    color: gold; /* Change text color on hover */
    text-decoration: underline; /* Underline on hover */
}
/* Footer Styles */
footer {
    background-color: white; /* White footer */
    color: #333;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ddd; /* Optional border to separate footer */
    width: 100%; /* Ensure it spans full width */
    position: relative; /* Allows for flexibility in positioning */
    bottom: 0; /* Stick to the bottom when needed */
    margin-top: auto; /* Makes sure footer stays at the bottom */
    padding-top: 20px;
    padding-bottom: 10px;
}

footer .logo img {
    max-height: 50px; /* Same size as header logo */
}

/* Authentication Page Styles */
.auth-page {
    width: 75%;
    max-width: 400px; /* Limit max width of the form */
    margin: 50px auto;
    background: white;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.auth-page input {
    width: 100%;           /* Make input fields fill the container */
    max-width: 100%;       /* Prevent stretching too wide */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding in width calculation */
}

.auth-page h1 {
    margin-bottom: 20px;             /* Add space below the heading */
    text-align: center;              /* Center align the heading */
}

.auth-page label {
    display: block;                  /* Make label a block element to occupy full width */
    margin: 10px 0 5px;              /* Add space above and below the label */
    font-weight: bold;               /* Make the label text bold */
}

.auth-page input {
    width: 100%;                     /* Full width of the form */
    padding: 10px;                   /* Add padding inside the input field */
    border: 1px solid #ccc;          /* Add a light gray border */
    border-radius: 5px;              /* Round the corners of the input field */
}

.auth-page button {
    width: 100%;           /* Full width button */
    max-width: 100%;
    padding: 10px;
    background-color: #60b9d7
;
    border: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.auth-page p {
    text-align: center;              /* Center align the paragraph */
    margin-top: 15px;                 /* Add space above the paragraph */
}
.auth-page p a {
    color: #0066cc;
    text-decoration: none;
}

.auth-page p a:hover {
    text-decoration: underline;
   
}


/* General dashboard styles */
.dashboard {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.user-info {
    margin-bottom: 30px;
}

.user-info h2 {
    font-size: 20px;
    color: #444;
}

.user-info p {
    font-size: 16px;
    color: #666;
}

.actions ul {
    list-style: none;
    padding: 0;
}

.actions li {
    margin: 10px 0;
}

.actions a {
    color: #0066cc;
    text-decoration: none;
}

.actions a:hover {
    text-decoration: underline;
   
}

/* Manage Listings Page Styles */
.manage-listings-page {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manage-listings-page h1 {
    font-size: 26px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.listings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.listings-table th, .listings-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

.listings-table th {
    background-color: #f5f5f5;
}

.listings-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.listings-table a {
    color: #0066cc;
    text-decoration: none;
}

.listings-table a:hover {
    text-decoration: underline;
   
}
/* PAGE LINKS SECTION ON HOME PAGE */
.page-links {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
}

.page-links li {
    margin: 5px 0;
}

.page-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.page-links a:hover {
    text-decoration: underline;
    
}

/* POST LISTING PAGE STYLES */
/* POST LISTING PAGE STYLES */
.post-listing-page {
    width: 85%;  /* Adjust width to match the header and footer */
    max-width: 800px;  /* Optional, limits max width */
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid #ddd;
}


.post-listing-page h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.post-listing-page label {
    display: block;
    margin: 10px 0 5px;
    font-size: 16px;
    font-weight: bold;
    color: #444;
}

.post-listing-page input,
.post-listing-page select,
.post-listing-page textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.post-listing-page textarea {
    resize: vertical;
    min-height: 150px;
}

.post-listing-page input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
}

.post-listing-page button {
    width: 100%;
    padding: 12px;
    background-color: #60b9d7
;
    border: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}



/* Button for canceling or going back */
.post-listing-page .cancel-button {
    width: 100%;
    padding: 12px;
    background-color: #e74c3c;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.post-listing-page .cancel-button:hover {
    background-color: #c0392b;
}

/* File input display styles */
input[type="file"]::-webkit-file-upload-button {
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    padding: 10px;
    border: none;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #2980b9;
}

/* Directly defining Stay Red and NL Blue colors */
.stay {
    color: #cb0129; /* Stay Red color */
}

.nl {
    color: #022e5d; /* NL Blue color */
}
/* Background image for the homepage only */
.home-page {
 
    
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}


/* Main content */
.home-page main {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
   
    border-radius: 10px; /* Rounded corners for the main content */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* Style for the View Listings button */
.viewlistingsbutton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #60b9d7; /* Blue color #60b9d7*/
    color: #022e5d;
    font-size: 16px;
    text-decoration: none; /* Remove underline */
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.viewlistingsbutton:hover {
    background-color: #cb0129; /* Red color on hover */
}

.amenities-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 2 equal-width columns for larger screens */
    gap: 10px; /* Space between buttons */
    margin-top: 10px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px; /* space between icon and text */
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 14px;
    white-space: nowrap; /* Prevent text from wrapping */
    width: 100%; /* Ensures buttons take full width of the grid cell */
}

.toggle-btn i {
    font-size: 16px;
}

/* The selected class will make the button stay green */
.toggle-btn.selected {
    background-color: #4CAF50 !important; /* Green background when selected */
    color: white !important;
    border-color: #4CAF50 !important;
}

/* Active state only changes color when pressed */
.toggle-btn:active {
    background-color: #15c417 !important;
    color: white !important;
}

/* Mobile styles */
@media (max-width: 600px) {
    .amenities-container {
        grid-template-columns: 1fr; /* Stack the buttons in a single column on mobile */
    }

    .toggle-btn {
        padding: 8px 12px; /* Adjust padding for smaller screens */
        font-size: 12px; /* Adjust font size for mobile */
    }
}

/* Style for textareas */
/* Style for inputs, textareas, and selects */
input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Style for textareas */
textarea {
    min-height: 150px;
    resize: vertical;
    width: 100%;
}

/* Style for select dropdowns */
select {
    appearance: none;
    cursor: pointer;
}

/* Hover & Focus Effects */
input:focus,
textarea:focus,
select:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* General styles for the Privacy Policy container */
/* General styles for the Privacy Policy container */
.termscontainer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header */
.termscontainer h1 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

/* Section title */
.termscontainer h2 {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraph styling */
.termscontainer p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* List styling */
.termscontainer ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.termscontainer ul li {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Contact Info Styling */
.contact-info {
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.contact-info p {
    margin: 5px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .termscontainer {
        padding: 15px;
    }

    .termscontainer h1 {
        font-size: 28px;
    }

    .termscontainer h2 {
        font-size: 20px;
    }

    .termscontainer p {
        font-size: 14px;
    }
}
/* General styles for the Privacy Policy container */
/* General styles for the Privacy Policy container */
.success-message {
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}
.checkbox-container {
    display: flex;
    justify-content: center;  /* Center horizontally */
    align-items: center;      /* Center vertically */
    text-align: center;
}
@media (max-width: 768px) {
    .checkbox-container {
        flex-direction: column;  /* Stack the label and checkbox vertically on smaller screens */
        align-items: center;     /* Ensure they remain centered vertically */
    }
}