/* Global Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
}


/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    padding: 0px 30px;
    /* Reduced spacing for more compact navbar */
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

nav:hover {
    background-color: #444;
}

nav .logo {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    padding: 10px
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 6px 12px;
    /* Reduced padding for a more compact look */
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #38bdf8;
    border-radius: 4px;
}


/* Login and Register Button */

nav ul li .login-btn {
    background-color: #38bdf8;
    /* Orange color */
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li .login-btn:hover {
    background-color: #38bdf8;
    transform: scale(1.05);
    /* Slightly enlarges the button */
}

nav ul li .register-btn {
    background-color: #28a745;
    /* Green color */
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li .register-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
    /* Slightly enlarges the button */
}


/* Register Section */

.terms-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
    /* More space to prevent overlap with the navbar */
    background: url('your-image.jpg') no-repeat center center/cover;
    /* Add background image */
    background-size: cover;
    color: #fff;
    transition: background 0.3s ease-in-out;
}

.terms-container {
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent background for readability */
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h1,
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    margin-top: 20px;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Footer */

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

footer p {
    margin: 10px 0;
}

footer ul {
    display: flex;
    gap: 15px;
}

footer ul li {
    list-style: none;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #38bdf8;
}

.user-greeting {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    /* Dark gray */
    /* Light gray background */
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    display: inline-block;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
    color: tan;
}


/* Add hover effect for user-greeting */


/* General button styling */

.action-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease-in-out;
}


/* Login button styling */

.login-btn {
    background-color: #4CAF50;
    /* Green */
    color: white;
    border: none;
}

.login-btn:hover {
    background-color: #45a049;
    /* Darker Green */
    transform: scale(1.05);
}


/* Logout button styling */

.logout-btn {
    background-color: #f44336;
    /* Red */
    color: white;
    border: none;
    border-radius: 30px;
}

.logout-btn:hover {
    background-color: #e53935;
    /* Darker Red */
    transform: scale(1.05);
}


/* Styling for "My Booking" tab */

.my-booking-btn {
    background-color: #28a745!important;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 300;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 30px;
    font-size: .8rem;
}


/* Hover effect for My Booking tab */

.my-booking-btn:hover {
    background-color: #218838;
    /* Darker green on hover */
}


/* Disabled state when already booked */

.my-booking-btn:disabled {
    background-color: #6c757d;
    /* Gray color for disabled state */
    cursor: not-allowed;
    /* Change cursor to not-allowed */
}