/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Body Styling */
body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: #0077cc;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Container */
.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 15px 16px 2px rgb(0 0 0 / 31%);
}

h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #0077cc;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.description {
    margin-bottom: 20px;
    text-align: center;
    color: #555;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

/* Form Styling */
.bookingForm label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.bookingForm input[type="text"],
.bookingForm input[type="tel"],
.bookingForm input[type="hidden"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border 0.3s, box-shadow 0.3s;
    font-size: 1rem;
}

.bookingForm input:focus {
    border-color: #0077cc;
    box-shadow: 0 0 5px rgba(0, 119, 204, 0.3);
    outline: none;
}


.cta-button {
    display: block;
    width: 60%;
    margin: 15px auto 15px;
    background-color: #0077cc;
    color: white;
    padding: 15px 25px;
    font-size: 1.3em;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    filter: drop-shadow(0px 12px rgb(6, 0, 56));
    transition: transform 0.2s, filter 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
    background-color: #005fa3;
}

.cta-button:active {
    transform: translateY(12px);
    filter: drop-shadow(0px 0px rgb(6, 0, 56));
    -webkit-tap-highlight-color: transparent;
}


/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
}

/* Popup Notification */
#existingBooking {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #21d14ac4; /* green for success */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
}

/* Show popup */
#existingBooking.show {
    opacity: 1;
    pointer-events: auto;
}

/* --- FOOTER --- */
.footer {
    bottom: 0;
    position: fixed;
    width: 100%;
    text-align: center;
    padding: 15px 0px;
    color: #555;
    font-size: 0.9em;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.footer p {
    margin: 2px 0px;
    padding: 0px 0px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        margin: 50px 20px;
        padding: 20px;
    }
}
