﻿/* Apply Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap");
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #faba40;
    --secondary-color: #213b55;
    --text-color: #444444;
    --light-text-color: #ffffff;
    --dark-text-color: #1a1a1a;
    --background-color: #ffffff;
    --section-bg-color: #f2f2f2;
    --bg-main-color: #005430;
    --header-text-color: #ffffff;
    --footer-bg-color: #1c2e45;
    --heading-font: "Playfair Display", serif;
    --body-font: "Raleway", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
    position: relative
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

    a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion {
    --bs-accordion-active-color: var(--dark-text-color);
    --bs-accordion-active-bg: var(--primary-color);
    --bs-accordion-btn-focus-border-color: var(--primary-color);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgb(253 207 13 / 25%);
}

.btn-booking {
    font-size: 28px;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

    #hero .hero-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    #hero .hero__content {
        position: relative;
        z-index: 1;
        text-align: center;
        padding: 1rem;
        color: white;
    }
.hero__content h1,
.hero__content h2 {
    color: var(--light-text-color);
    text-shadow: 0 0 20px #000;
    text-align: center;
}

.hero__content h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: 0.8px;
}

.hero__content h2 {
    font-size: 18px;
}

.hero__hotline {
    bottom: 13px;
    right: 0;
}

.hero__text i {
    color: var(--primary-color);
}

.hero__text a {
    color: #2f2f2f;
    font-weight: 500;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background-color: var(--bg-main-color);
    color: var(--header-text-color);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    will-change: position, transform; /* Performance optimization for animations */
}

    /* Sticky header styles */
    #header.sticky-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-in-out;
    }

        #header.sticky-header .header__top {
            padding-block: 10px;
        }

.header__top-content {
    position: relative;
}

    .header__top-content .left,
    .header__top-content .right {
        flex: 1;
    }

.float-left {
    float: left;
}

.header__top-content .mid {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.white-space-pre {
    white-space: pre-line!important;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header__top {
    padding-inline: 15px;
    padding-block: 24px;
    transition: padding 0.3s ease;
}

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

.mid {
    width: 150px;
}

    .mid a, .mid a img {
        display: inline-block;
    }

.header__btn-menu {
    font-size: 24px;
}

.header__btn-menu,
.header__btn-search {
    color: var(--light-text-color);
}

.header__btn-search {
    font-size: 16px;
}

.header__list li a,
.header__list li i {
    color: var(--primary-color);
}

.header__bot {
    border-bottom: 1px solid #2f2f2f;
    overflow: visible; /* Changed from hidden to visible for mega menu */
    transition: all 0.3s ease;
    width: 100%;
    background-color: var(--bg-main-color);
}

.header__bot-menu {
    position: relative;
}

    .header__bot-menu li {
        position: relative;
    }

        .header__bot-menu li a {
            font-size: 21px;
            padding-inline: 20px;
            padding-block: 20px;
            display: inline-block;
            color: var(--header-text-color);
            font-weight: 600;
            transition: all 0.3s ease-in-out;
        }

            .header__bot-menu li a:hover {
                color: var(--primary-color);
            }

        .header__bot-menu li.has-mega-menu {
            position: static;
        }

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-main-color);
    z-index: 9999; /* Higher z-index than sticky header */
    padding: 20px 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #2f2f2f;
    margin-block-end: 20px;
}

    .mobile-menu__header img{
        object-fit: contain!important;
    }

    .mobile-menu__close {
        color: var(--light-text-color);
        font-size: 24px;
        cursor: pointer;
    }

.mobile-menu__list {
    padding: 0 20px;
}

    .mobile-menu__list li {
        margin-block-end: 10px;
    }

        .mobile-menu__list li a {
            color: var(--header-text-color);
            font-size: 16px;
            font-weight: 500;
            display: block;
            padding: 10px 0;
            border-bottom: 1px solid #2f2f2f;
            position: relative;
        }

            .mobile-menu__list li a:hover {
                color: var(--primary-color);
            }

        .mobile-menu__list li.has-dropdown > a:after {
            content: "\F282";
            font-family: "bootstrap-icons";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.3s ease;
        }

        .mobile-menu__list li.has-dropdown.open > a:after {
            transform: translateY(-50%) rotate(180deg);
        }

.dropdown-content {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
}

.mobile-menu__footer {
    padding: 20px;
    border-top: 1px solid #2f2f2f;
    margin-top: 20px;
}

.mobile-menu__contact {
    margin-block-end: 15px;
}

    .mobile-menu__contact li {
        margin-block-end: 10px;
        display: flex;
        align-items: center;
    }

        .mobile-menu__contact li i {
            color: var(--primary-color);
            margin-right: 10px;
        }

        .mobile-menu__contact li a {
            color: var(--header-text-color);
        }

.mobile-menu__social {
    display: flex;
    gap: 15px;
}

    .mobile-menu__social a {
        color: var(--header-text-color);
        font-size: 18px;
    }

        .mobile-menu__social a:hover {
            color: var(--primary-color);
        }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    color: var(--light-text-color);
    font-size: 14px;
    background: var(--bg-main-color);
}

    #footer .footer-top {
        padding: 60px 0 30px 0;
        background: var(--bg-main-color);
    }

        #footer .footer-top .footer-contact {
            margin-block-end: 30px;
        }

            #footer .footer-top .footer-contact h3 {
                font-size: 24px;
                margin: 0 0 15px 0;
                padding: 2px 0 2px 0;
                line-height: 1;
                font-weight: 700;
                color: var(--light-text-color);
            }

            #footer .footer-top .footer-contact p {
                font-size: 14px;
                line-height: 24px;
                margin-block-end: 0;
                font-family: var(--body-font);
                color: rgba(255, 255, 255, 0.8);
            }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: bold;
            color: var(--light-text-color);
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-top .footer-links {
            margin-block-end: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: var(--light-text-color);
                    font-size: 18px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: rgba(255, 255, 255, 0.8);
                    transition: 0.3s;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        color: var(--secondary-color);
                    }

    #footer .copyright {
        padding-top: 5px;
        font-size: 21px;
        color: rgba(255, 255, 255, 0.8);
    }

    #footer .social-links a {
        font-size: 18px;
        display: inline-block;
        background: var(--primary-color);
        color: var(--light-text-color);
        line-height: 1;
        padding: 8px 0;
        margin-right: 4px;
        border-radius: 50%;
        text-align: center;
        width: 36px;
        height: 36px;
        transition: 0.3s;
    }

        #footer .social-links a:hover {
            background: var(--secondary-color);
            color: var(--light-text-color);
            text-decoration: none;
        }

/* chat */
.chat {
    background-color: var(--bg-main-color);
    border: 1px solid #fff;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    inset-inline-start: 30px;
    inset-block-end: 30px;
    border-radius: 16px;
    padding-inline: 10px;
    padding-block: 15px;
    color: #fff;
    cursor: pointer;
}

    .chat .popup {
        content: "";
        position: absolute;
        bottom: 110%;
        right: 0;
        background: #fff;
        min-width: 250px;
        min-height: 100px;
        z-index: 9999999;
        border-radius: 8px;
        box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
        color: #15182C;
        padding: 20px;
    }

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

    .popup__header .close i {
        font-size: 20px;
    }

    .popup__header .avatar {
        height: 30px;
        width: 30px;
        border-radius: 100%;
        background: #000;
        overflow: hidden;
        border: 2px solid #15182C;
    }

        .popup__header .avatar img {
            width: 100%;
            height: 100%;
        }

.popup__desc {
    font-size: 14px;
    margin-block: 16px;
}

.popup__btn {
    text-align: center;
    background: var(--bg-main-color);
    color: #fff;
    padding-block: 10px;
    border-radius: 4px;
    display: block;
}

.clamp-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: nowrap;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.scroll-to-top-btn {
    border: 1px solid #fff;
    background-color: var(--bg-main-color);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    inset-inline-start: 145px;
    inset-block-end: 30px;
    border-radius: 16px;
    cursor: pointer;
}

    .scroll-to-top-btn i {
        color: #fff;
        font-size: 20px;
    }

/* Mobile Sticky Menu Styles */
@media (max-width: 991px) {
    .header__bot.sticky {
        display: block !important; /* Make sure it's visible on mobile when sticky */
        padding: 10px 0;
        text-align: center;
    }

    .sticky-mobile-btn {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary-color);
        font-size: 24px;
        cursor: pointer;
        z-index: 1002;
    }

    .header__bot.sticky .header__bot-logo {
        display: inline-block !important;
        position: relative;
        left: 0;
        transform: none;
        text-align: center;
        margin: 0 auto;
    }
}

/* Mobile Sticky Header Styles */
@media (max-width: 991px) {
    #header.sticky-header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

        #header.sticky-header .header__top {
            padding-block: 10px;
        }

        #header.sticky-header .header__top-content {
            align-items: center;
        }

    body.has-sticky-header {
        transition: padding-top 0.3s ease;
    }
}