@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poetsen+One&display=swap");

* {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
    font-family: Open Sans;
}

a {
    text-decoration: none !important;
    color: black;
}

.anchor-button {
    display: inline-block;
    background-color: darkblue;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.anchor-button:hover {
    background-color: #2c327a;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-content {
    flex: 1;
}

.right-content {
    margin-left: auto;
}

p {
    font-family: Open Sans;
}

section {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 1.5em;
}

.search-form-header input {
    border-radius: 10px;
}
.search-form {
    display: flex;
    align-items: center;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    position: relative;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding-right: 40px;
    height: 36px;
    width: 250px;
    background-position: right center;
    background-repeat: no-repeat;
}

.search-icon {
    color: #666;
    margin-right: 5px;
}

/* header {
    background-color: darkblue;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid gray;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    font-size: 1.2rem;
} */

/* Modal Loader Styles */
.modal-loader {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hotel-info {
    margin: 20px;
    padding: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.alert {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-danger ul {
    margin-bottom: 0;
}

.alert-danger ul li {
    list-style-type: none;
    margin-bottom: 5px;
}
/* 
.account-icon .list-your-property,
 .account{
    font-size: 1rem;
    background-color: darkorange;
    padding: 8px;
    border-radius: 4px;
}

.account{
    background-color: gray;
} */

.account:hover {
    background-color: darkred;
}

.account-icon .list-your-property:hover {
    background-color: transparent;
}
.footer {
    background-color: darkblue;
    background-size: cover;
    color: white;
}

.footer h5 {
    font-size: 1.2rem;
}

.footer ul {
    padding-left: 0;
}

.footer ul li:before {
    content: ">";
    position: absolute;
    left: -1.5em;
    color: darkred;
}

.footer ul li {
    font-size: 1rem;
    line-height: 2rem;
    list-style-type: none;

    position: relative;
}

.footer ul li a,
.support p a {
    color: white;
    font-weight: bolder;
}

.footer ul li a:hover {
    color: darkred;
}

/* Base button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Primary button style */
.button-primary {
    background-color: #394293;
    color: #fff;
}

/* Secondary button style */
.button-secondary {
    background-color: #6c757d;
    color: #fff;
}

/* Success button style */
.button-success {
    background-color: #28a745;
    color: #fff;
}

/* Danger button style */
.button-danger {
    background-color: #dc3545;
    color: #fff;
}

/* Hover effect */
.button:hover {
    opacity: 0.9;
}

/* Hover effect for primary button */
.button-primary:hover {
    background-color: #2c3258;
}

/*end of styling button uniformly */
.logo img {
    max-height: 4.5rem;
}

.logo a:hover {
    transform: scale(1.1);
    color: #ff7f50;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 50px;
}

.menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-items li {
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.menu-items li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 20px;
    font-size: 1rem;
}

.menu-items li:hover {
    transform: translateY(-3px);
}

.menu-items li a:hover {
    color: #dc3545;
}

.menu-items li.active a {
    background-color: black;
    color: white;
}

.account-icon a {
    margin-right: 20px;
    color: white;
    font-size: 1rem;
}

/*** STYLING THE HERO SECTION */

.header-data {
    background-color: #f8f8f8;
    box-shadow: 0 2px 4px rgba(52, 22, 223, 0.1);
}

.hotel-type-header {
    display: flex;
    justify-content: space-between;
}

.hotel-type-header-item {
    border: 1px solid #394293;
    border-radius: 10px;
    padding: 10px;
    margin: 0 5px;
    flex-grow: 1;
    text-align: center;
    color: #394293;
    margin-bottom: 30px;
    margin-top: 20px;
}

.hotel-type-header a:hover {
    /* background-color: #394293; */
    color: white;
}

.header-form form label {
    color: #292184;
}

.search-option {
    margin: 0 auto;
}

.search-option .form-data select {
    background-color: #394293;
    width: 300px;
    color: white;
}

#location {
    background-color: gray;
}

.hero-content-container {
    position: relative;
    margin: 0 auto;
}

.hero-content {
    position: relative;
}

.hero-content img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.content-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-data {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    background-color: #f8f8f8;
    padding: 20px;
    align-items: center;
    align-content: center;
}

.header-data form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-data label {
    color: white;
}

.header-data select,
.header-data button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #394293;
    color: white;
    width: 150px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-left: 20px;
    margin-bottom: 50px;
}

.header-data button {
    cursor: pointer;
}

.header-data button:hover {
    background-color: darkblue;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* STYLING THE OFFER AND PROMOTION SECTION */
.offer-and-promotion-container {
    margin-top: 120px;
    position: relative;
    background-color: #f8d5d8;
}

.carousel,
.carousel-state {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3)- 20px);
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.carousel.dragging .offer-content {
    cursor: grab;
    user-select: none;
}

.offer-and-promotion-container i {
    background: darkred;
    color: white;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    font-size: 1.3rem;
    padding: 10px;
}

.offer-and-promotion-container i:first-child {
    left: -22px;
}

.offer-and-promotion-container i:last-child {
    right: -22px;
}

.offers-container {
    justify-content: space-evenly;
}

.offer-item {
    width: 400px;
    margin-bottom: 5px;
    border-radius: 10px;
    display: flex; /* Add flex display */
    flex-direction: column; /* Stack children vertically */
    height: 300px; /* Set a fixed height for uniformity */
}

.offer-content {
    background-color: rgba(17, 16, 16, 0.5);
    width: 100%;
    flex: 1; /* Allow this to grow and take available space */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex; /* Add flex display */
    flex-direction: column; /* Stack title, description, and button */
    justify-content: space-between; /* Push the button to the bottom */
}

.offer-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.offer-description {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 10px;
    color: white;
}

.book-now-btn {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: auto;
}

.book-now-btn:hover {
    background-color: transparent;
}

.view-more-offer-container {
    display: flex;
    justify-content: space-between;
}

/* TODAY"S DEAL STYLING */

.top-deal-container {
    max-width: 100%;
    padding: 20px;
}

.wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.wrapper-3 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.wrapper-5 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr);
}
/* 
.top--deal-hotel-description {

    padding: 20px;
    border-radius: 5px;
    margin: 0;
    text-align: justify;
}

.read-more-description {
    color: #dc3545;
    font-size: 12px;
    letter-spacing: 3px;
}

.hotel-info {
    background-color: #f0f0f0;
}

.hotel-info button {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.top-deal-item {
    position: relative;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.top-deal-item img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.discount-rate {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #394293;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}
*/
.review {
    bottom: 10px;
    padding-left: 15px;
    margin-bottom: 10px;
    margin-right: 8px;
    left: 10px;
    color: #f39c12;
}

/* .ACCOUNT REGISTRATION   */
.account-registration {
    display: flex;
    justify-content: space-evenly;
    /* padding: 22px; */
    margin-top: 50px;
    margin-bottom: 0;
}

.hotel-owner-registration {
    display: flex;
    width: 599px;
    height: 240px;
    margin-right: 40px;
}

.hotel-user-registration .offer-item {
    height: 240px;
    width: 599px;
}

.hotel-owner-registration img {
    object-fit: cover;
    max-width: 240px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.hotel-owner-registration-text {
    background-color: #394293;
    color: white;
    padding: 16px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.hotel-owner-registration-text button {
    color: #394293;
    background-color: #f0f0f0;
    margin-bottom: 10px;
}

.hotel-owner-registration-text h5 {
    font-size: 1.3rem;
}

.browse-by-type-category {
    background-color: #f8f8f8;
    text-align: center;
    font-size: 1.3rem;
    border-radius: 10px;
    margin-bottom: 50px;
}

.browse-by-type-category span {
    font-weight: bold;
}

.browse-by-type-category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/*======*/

/** LOgged in navbar data display*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #f9f9f9;
    color: black;
    padding: 5px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    margin-right: 20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
}

/* Top five hotels in lagos section */
.top-five-hotel-in-lagos {
    position: relative;
    margin-top: 20px;
    width: 100%;
    height: 400px;
    background: url("/images/top-five-hotel.jpg") center/cover no-repeat;
    padding: 100px;
    color: white;
}

/* Add overlay */
.top-five-hotel-in-lagos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; /* Adjusted z-index */
}

.top-five-hotel-in-lagos h4 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.top-five-hotel-in-lagos p {
    font-size: 1.2rem;
}

/* Guest Love section */
.hotel-guest-love-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
}

.home-guest-love-item {
    width: 300px;
    margin: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.home-guest-love-item img {
    width: 100%;
    border-radius: 8px;
}

.home-guest-love-item h4 {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.home-guest-love-item p {
    margin: 5px 0;
    color: #666;
}

.guest-love-price {
    font-size: 0.8rem;
    text-align: right;
}

.guest-love-price span {
    font-weight: bold;
}

/* DISCOVER CITIES SEECTIOn*/
.discover-cities-container {
    margin-top: 20px;
}

.discover-cities-container .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.discover-cities-container .wrapper .discover-city-item {
    flex: 1 0 calc(15% - 10px);
    margin: 10px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.discover-cities-container .wrapper .discover-city-item img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.discover-cities-container .wrapper .discover-city-item h5 {
    font-weight: bold;
    margin: 10px 0;
}

/* SHORT VIDEO CONTAINER */

.video-slider {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.video-thumbnail {
    scroll-snap-align: start;
}

/*BLOG SECTION */
.blog-item {
    width: 300px;
    height: auto;
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);

    margin-bottom: 20px;
}

.blog-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.blog-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.author {
    font-size: 14px;
    font-weight: bold;
}

.hotel-rep {
    font-size: 14px;
    font-style: italic;
}

.pub-date {
    font-size: 12px;
    color: #666;
}

.excerpt {
    font-size: 14px;
    line-height: 1.4;
    text-align: justify;
    padding: 10px;
}

.excerpt a {
    text-align: justify;
}

.read-more {
    display: block;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
    padding: 10px;
}

.read-more:hover {
    color: #0056b3;
    transform: translateY(-2px);
}

/* JOIN US PAGE STYLING */
.partner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("../images/partner--with-us-image.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 40px;
    gap: 20px;
}

.header-ad-copy {
    max-width: 600px;
    margin: 0 auto;
}

.header-ad-copy h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.header-ad-copy p {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-slider {
    display: inline-block;
    white-space: nowrap;
    border-right: 0.08em solid #fff;
    overflow: hidden;
}

.register-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    color: black;
}

.slide-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: slideText 10s infinite;
}

@keyframes slideText {
    0% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

#typed-text {
    color: darkorange;
}

/***===========  ABOUT EBNB SECTION *=====*/
.about-ebnb {
    text-align: center;
}

.about-ebnb h2 {
    color: darkblue;
    font-size: 2.3rem;
}

.about-ebnb p {
    font-size: 1.3rem;
}

/* Container styling */
.about-ebnb-images {
    width: 100%;
}

/* Flexbox layout for items */
.about-ebnb-image-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Individual item styling */
.about-ebnb-image-item .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon styling */
#icon1,
#icon2,
#icon3 {
    font-size: 6rem !important;
    margin-bottom: 10px;
}

/* Specific icon colors */
.globe-icon {
    color: darkgreen;
}

.handshake-icon {
    color: darkblue;
}

.chart-icon {
    color: #e74c3c;
}

.item h5 {
    font-size: 1.5rem;
}

/*** Want to know about EBNB Section */
.want-to-know-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background-color: rgb(238, 236, 236);
    padding: 50px;
    margin-top: 40px;
}

.want-to-know-more img {
    max-width: 100%;
    height: 600px;
    flex: 3;
}

.want-to-know-more .content {
    flex: 2;
}

.want-to-know-more p {
    margin: 0;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: justify;
}

.explore-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 40px;
}

.explore-button:hover {
    background-color: #0056b3;
}

/***** REVIEW ----*/

.show-recent-reviews {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.average-rating {
    margin-bottom: 20px;
    font-size: 18px;
}

.rating-value {
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
}

.star {
    font-size: 20px;
    color: #d3d3d3; /* Light gray for unfilled stars */
}

.star.filled {
    color: #ffd700; /* Gold for filled stars */
}

.star.half-filled {
    background: linear-gradient(90deg, #ffd700 50%, #d3d3d3 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.review-rating {
    margin-top: 5px;
}

.review-feedback {
    margin: 10px 0;
    font-size: 16px;
    color: black;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.reviewer-info strong {
    color: gray;
}

.hotel-rating-value {
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}
