﻿:root {
    --bg-clr-darkest: #5c6e6e; /*navbar*/
    --bg-clr-dark: #0b5f65; /*header*/
    --bg-clr-light: #f1f1f1;
    --primary-clr-dark: #bcbbbb;
    --primary-clr-light: #ffffff;
    --primary-clr-neutral: #107980; /*button*/
    --section-paddings: 5em 0;
}


body {
    margin: 0;
    padding: 0;
    height: 100vh; /* Set body height to full viewport height */
    display: flex;
    flex-direction: column;
}

header, footer {
    padding: 10px 20px;
   
}



/* Header Styles */

p {
    font-family: 'Josefin Sans', sans-serif;
}

.col-wrap {
    display: flex;
}

.col-1 {
    width: 20%;
}

    .col-1 img {
        height: 150px;
    }

.col-2 {
    width: 50%;
}

    .col-2 p {
        text-align: left;
        font-family: 'Josefin Sans', sans-serif;
        padding-top: 30px;
    }

span.heading {
    font-size: 26px;
    color: #ffffff;
}

span.subheading {
    font-size: 18px;
    color: #ffffff;
}

.right-heading p {
    font-size: 22px;
    padding-top: 50px;
    letter-spacing: 5px;
    text-align: center;
    color: #f0ec91;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.margin-top-30px {
    margin-top: 15px;
}

p.subheading {
    font-size: 16px;
}

.logo-container {
    background-color: #f0ffff;
    padding: 5px;
    border-radius: 5px;
}
/*
.header {
    background-color: var(--bg-clr-dark);
    padding: 1.5em 0;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
*/

.header {
    background: #ffffff;  /*Translucent purplish color*/
    /*background: linear-gradient(180deg, rgba(238, 187, 217, 0) 61.34%, #fff), radial-gradient(45.16% 33.95% at 50% 0, #fff 0, rgba(255, 255, 206, .01) 100%), linear-gradient(101deg, #f7fce5 7.24%, rgba(230, 238, 255, 0) 63.54%, #e72fff 110.77%), linear-gradient(56deg, rgba(173, 203, 255, .63) 1.76%, rgba(255, 231, 186, .63) 75.68%), linear-gradient(112deg, rgba(255, 255, 176, .69) 15.01%, rgba(249, 68, 200, .92) 84.05%, #ff61e6 108.31%);
    background-image: linear-gradient(-225deg, #CBBACC 0%, #2580B3 100%);*/
    backdrop-filter: blur(10px); /* Blur effect for background */
    padding: 1.5em 0;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: background 0.3s ease-in-out; /* Smooth background transition */
    position: relative;
    z-index: 2; /* Ensure it appears above the navbar */
}

    /* Hover effect for the header 
    .header:hover {
        background: rgba(142, 36, 170, 0.85); 
    }*/

    /* Text styling inside the header 
    .header h1, .header p {
        color: white;
        margin: 0;
        padding: 0;
        font-weight: 300; 
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    */
.header h1 {
    font-size: 2em;
}



    /* Example for a link inside the header */
    .header a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 0.5em 1em;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 5px;
        transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    }

        /* Hover effect for the link */
        .header a:hover {
            background: rgba(255, 255, 255, 0.3); /* Light background on hover */
            border: 1px solid rgba(255, 255, 255, 0.5); /* More opaque border on hover */
        }


.header--alignment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

/* Media Queries */
@media (min-width: 599px) {
    .header--alignment {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width:370px) {
    .table {
        overflow-x: auto;
        display: block;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }



    /* Make the logo image responsive */
    .logo-img {
        width: 100%;
        max-width: 200px; /* Limit maximum width for better scaling */
    }

    /* Adjust font sizes and margins for smaller screens */
    span.heading {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .col-wrap {
        flex-direction: column;
    }

    .col-1 {
        width: 100%; /* Set col-1 to full width */
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
    }

        .col-1 img {
            max-width: 100%; /* Ensure image does not exceed container width */
        }

    .col-2 {
        width: 100%; /* Set col-2 to full width */
    }

    .heading,
    .subheading {
        text-align: justify; /* Justify heading and sub-heading text */
    }
}

/* Navbar */
.navbar {
    background-color: #5c6e6e;
    padding: 1em 0;
    width: 95%;
    margin-left: 2.5%;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);   */
    transition: background-color 0.3s ease-in-out; /* Smooth background color transition */
    position: relative;
    z-index: 1; /* Ensure it appears below the header */
}

    /*.navbar:hover {
        background-color: #6A1B9A; 
    }*/

    .navbar .container {
        display: flex;
        justify-content: center;
        width: 95%;
        /*margin-left: 140px;
        margin-right: 0;*/
    }

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between; /* Evenly space the links */
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap;
}

    .nav-links li {
        margin: 0 10px; /* Add margin to create space between links */
    }

    .nav-links a {
        text-decoration: none;
        color: #7ce7ef;
        font-size: 1.125rem;
        white-space: nowrap;
    }

        .nav-links a:hover {
            color: #ffffff; /* Change color on hover */
        }

    .nav-links p {
        text-decoration: none;
        color: #ffffff;
        font-size: 1.125rem;
        white-space: nowrap;
    }

    .welcome-message {
        color: white;
        background-color: #d62d67;
        padding: 5px 10px;
        border-radius: 5px;
    }
    

    .nav-center {
        display: flex;
        justify-content: center;
        flex: 2; /* Adjust this as needed to center the links */
    }


/* Submenu styles */
/* Submenu styles */
.submenu {
    display: none; /* Initially hide all submenus */
    position: absolute;
    background-color: var(--bg-clr-darkest); /* Same as navbar background */
    padding: 10px;
    list-style: none; /* Remove bullet points */
    border-top: 1px solid #ffffff; /* Add a border above submenu items */
    z-index: 1; /* Ensure submenu appears above other content */
    border-radius: 0 0 10px 10px; /* Rounded bottom corners */
}

/* Show all submenus on parent hover */
.nav-links li:hover .submenu {
    display: block; /* Show all submenus when hovering over the parent menu item */
}

.submenu li {
    margin: 0;
    border-bottom: 1px solid #ffffff;
}

.submenu a {
    color: #ffffff;
}

    .submenu a:hover {
        color: #ffffff;
         /* Change color on hover */
    }


/* Submenu styles 
.submenu {
    display: none;
    position: absolute;
    background-color: var(--bg-clr-darkest); 
    padding: 10px;
    list-style: none; 
    border-top: 1px solid #ffffff;
    z-index: 1; 
}

.nav-links li:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    border-bottom: 1px solid #ffffff;
}

.submenu a {
    color: #ffffff;
}

    .submenu a:hover {
        color: #a59678; 
    }
*/

/* Responsive styles */
/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1em 0;
    }

        .navbar .container {
            width: 100%;
            margin-left: 0px;
        }

    .nav-links {
        display: flex;
        flex-direction: column; /* Display nav links vertically */
        align-items: center;
    }

        .nav-links li {
            margin: 10px 0; /* Adjust margin for better spacing */
        }

    .submenu {
        display: none; /* Hide submenus by default */
        background-color: var(--bg-clr-darkest); /* Same as navbar background */
        padding: 10px;
        z-index: 1; /* Ensure submenu appears above other content */
        list-style: none; /* Remove bullet points */
        border-top: 1px solid #ffffff; /* Add a border above submenu items */
    }

    .nav-links li:hover .submenu {
        display: block; /* Display submenus on hover */
        position: relative; /* Ensure submenus are positioned relative to their parent items */
    }

    .submenu li {
        margin: 0;
        border-bottom: 1px solid #ffffff;
    }

    .submenu a {
        color: #ffffff;
        display: block; /* Ensure submenu links take up full width */
        padding: 5px 0; /* Add padding for better spacing */
    }

        .submenu a:hover {
            color: #a59678; /* Change color on hover */
        }
}

.main-content-container {
    width: 95%;
    margin: 0 auto; /* Center the container horizontally */
}

.container {
    width: 95%;
    margin: 0 auto; /* Center the container horizontally */
}

.content-area {
    width: 100%; /* Set the content area width to 85% */
    margin: 0 auto; /* Center the content area horizontally */
    background-color: var(--bg-clr-light); /* Set the desired background color */
    padding: 20px; /* Add padding for content */
    overflow-y: auto; /* Enable scrolling if content exceeds height */
}

.widget {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    /*height: 700px;*/
    width: 100%;
}

    .widget h2 {
        margin-top: 0;
        font-size: 18px;
        color: #333333;
    }

.room-status-calendar {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.room-count {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.room-status-calendar h2 {
    margin-top: 0;
    font-size: 18px;
    color: #333333;
}





.icon-container {
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px; /* Add margin to create space between icons and content */
    width: 15%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Add box shadow */
}

/* CSS for individual icons */
.icon {
    font-size: 24px; /* Increase the size of the icons */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: transform 0.3s ease;
}

    .icon:hover {
        transform: scale(1.1); /* Scale the icon on hover */
    }
/* Room Status Calendar icon */
#calendarIcon {
    background-color: white; /* Set background color */
}

/* Room Count icon */
#roomCountIcon {
    background-color: white; /* Set background color */
}

.page-content {
    /*height: 500px;*/
    background-color: white;
}

@media only screen and (max-width: 768px) {
    .content-area {
        width: 95%; /* Adjust content area width for smaller screens */
    }

    .icon-container {
        width: 30%; /* Adjust icon container width for smaller screens */
    }
}


.footer {
    background-color: var(--bg-clr-dark); /* Set the background color for the footer */
    color: #ffffff; /* Set text color */
    padding: 20px 0; /* Add padding to the footer */
    width: 95%;
    margin: 0 auto;
}

.footer-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
    justify-content: space-around; /* Evenly distribute sections horizontally */
    align-items: flex-start; /* Align items to the top */
}

.map-section,
.contact-section,
.about-section {
    width: calc(33.33% - 20px); /* Set width for each section with some spacing */
    margin: 10px; /* Add margin between sections */
}

    .map-section h2,
    .contact-section h2,
    .about-section h2 {
        border-bottom: 1px solid #ffffff; /* Add border under section titles */
    }

    .map-section #map {
        height: 50px; /* Set height for the map */
    }

/* Media query for smaller screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack sections vertically on smaller screens */
        align-items: center; /* Center align sections */
    }

    .map-section,
    .contact-section,
    .about-section {
        width: calc(100% - 20px); /* Set width to full width on smaller screens with some spacing */
        margin: 10px 0; /* Add margin between sections */
    }

        .map-section #map {
            height: 300px; /* Increase map height on smaller screens */
        }
}

.login-box {
    max-width: 400px;
    margin: 60px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #2e323f;
}

main {
    padding: 20px;
}

label {
    font-weight: bold;
}



input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="file"]:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6; /* Reduced opacity for disabled elements */
    cursor: not-allowed; /* Cursor style when hovering over disabled elements */
}


/* Style for valid form inputs */
input[type="text"].valid,
input[type="email"].valid,
input[type="file"].valid,
textarea.valid,
select.valid {
    border-color: #28a745; /* Green border color for valid inputs */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1E90FF; /* Metallic blue border color when focused */
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.5); /* Metallic blue shadow when focused */
    background-color: transparent;
}
