:root {
    --custom-green: #f4dfdc;
    --custom-dark: #2c2c2c;
    --custom-light: #2c2c2c;
    --custom-gray: #faf9f8;
}

[data-theme="creampy"] {
    --custom-green: #f4dfdc;
    --custom-dark: #2c2c2c;
    --custom-light: #2c2c2c;
    --custom-gray: #faf9f8;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.color-creampy{
    background: linear-gradient(135deg,rgba(244, 223, 220, 1) 45%, rgba(39, 39, 87, 1) 100%);
    border: 2px solid #d4c2be;
    color:#fff;
}
/* Navigation Styles */
.navbar-custom {
    background-color:var(--custom-green);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background-color: var(--custom-green) !important;
}

.navbar-custom .navbar-brand {
    color: var(--custom-light) !important;
    font-weight: bold;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.navbar-custom .nav-link {
    color: var(--custom-light) !important;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px;
}

.navbar-custom .nav-link:hover {
    color: #4f2525 !important;
    opacity: 0.8;
}

.navbar-toggler {
    border-color: var(--custom-light);
}

.navbar-toggler-icon {
    filter:invert(1);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--custom-light);
    position: relative;
}
.hero-section {
    height: 100vh;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
}
.overlay-gradient {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    z-index: 1;
}
.carousel-item img {
    object-fit: cover;
}
.carousel-item {
    position: relative;
}
.booking-mask {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn-custom {
    background-color: var(--custom-green);
    border: 2px solid var(--custom-green);
    color: var(--custom-light);
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--custom-green);
    border-color: var(--custom-green);
}

.btn-outline-custom {
    border: 2px solid var(--custom-light);
    color: var(--custom-light);
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--custom-light);
    color: var(--custom-dark);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

/* Rooms Section */
.rooms-section {
    padding: 100px 0;
    background-color: var(--custom-gray);
}

.room-card {
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.room-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.room-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--custom-green);
    color: var(--custom-light);
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* Amenities Section */
.amenities-section {
    padding: 100px 0;
    color: var(--custom-light);
}

.amenity-icon {
    font-size: 3rem;
    color: var(--custom-green);
    margin-bottom: 1rem;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--custom-green), #5a6b57);
    color: var(--custom-light);
}

.booking-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-control {
    border: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Instagram Section */
.instagram-section {
    position: relative;
}

.instagram-section h5 {
    font-weight: 500;
    letter-spacing: 1px;
}

.instagram-section img {
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.instagram-section img:hover {
    transform: scale(1.05);
}

/* Footer */
.bg-dark-brown {
    background-color: var(--custom-green);
}

.footer-link {
    color: var(--custom-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-link:hover {
    text-decoration: underline;
    color: var(--custom-light);
}

.footer-icon {
    color: #d2bda6;
    font-size: 1.3rem;
}

.footer-icon:hover {
    color: #fff;
}

.newsletter-form input {
    border-radius: 0;
    margin-bottom: unset;
}

.newsletter-form button {
    border-radius: 0;
    font-weight: bold;
}

/* Back to top button */
.back-to-top {
    background:#3b2a21bf;
    color:#fff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

.back-to-top:hover {
    background: #3b2a21;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .booking-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-section,
    .rooms-section,
    .amenities-section {
        padding: 60px 0;
    }

    .booking-section {
        padding: 60px 0;
    }
}

[data-theme="creampy"] .navbar-custom{
    background-color: rgba(244, 223, 220, 0.95) !important;
}

[data-theme="creampy"] .navbar-custom .nav-link{
    color: #2c2c2c;
}

[data-theme="creampy"] .amenities-section{
    background-color: #001f3f;
    color: #f4dfdc;
}

[data-theme="creampy"] #home ,[data-theme="creampy"]  #about ,[data-theme="creampy"]  #rooms .card{
    background-color: #001f3f;
    color: #f4dfdc !important;
}

[data-theme="creampy"] .footer-section{
    color: #000 !important;
}

[data-theme="creampy"] .btn-outline-custom{
    color: #f4dfdc;
    border-color:#f4dfdc;
}
[data-theme="creampy"] .navbar .btn-outline-custom{
    background: #001f3f;
    color:#fff !important;
}
[data-theme="creampy"] .navbar .btn-outline-custom{
    border-color: #001f3f;
    color:#fff !important;
}

[data-theme="creampy"] .booking-section{
    background: linear-gradient(135deg, var(--custom-green), #9d8f8e);
    color: var(--custom-light);
}
/* Translate */
.custom-language-select {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 11px;
    padding-right:20px;
    font-weight: 500;
    font-size: 1.0rem;
    appearance: none;
    cursor: pointer;
    width: 150px;
}
.circle-list {
    list-style-type: circle;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}
.custom-language-select option {
    background-color: #222;
    color: #fff;
}
.language-switcher {
    position: relative;
}
.language-switcher::after {
    content: "\f078"; /* Font Awesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right:10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #fff;
}
@media (min-width: 768px) {
    .custom-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: rgb(0 0 0 / 40%);
        border: none;
        padding: 0.5rem;
        border-radius: 50%;
        width:50px;
        height:50px;

    }
    .carousel-control-prev.custom-control {
        left: -60px;

    }

    .carousel-control-next.custom-control {
        right: -60px;

    }
}
.bg-dark-brown {
    background-color: #f4dfdc;
}

.footer-section {
    color: #f8f9fa;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

[data-theme="creampy"] .footer-link:hover {
    color: #001f3f;
    text-decoration: underline;
}

[data-theme="creampy"] .footer-icon {
    color: #001f3f;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 2px solid #d4af8c;
    border-radius: 50%;
    margin: 0 5px;
}

[data-theme="creampy"] .footer-icon:hover {
    color: #fff;
    background-color: #001f3f;
    transform: translateY(-2px);
}

.newsletter-form {
    max-width: 350px;
    margin: 0 auto;
}

.newsletter-form input {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 10px 15px;
}

[data-theme="creampy"] .newsletter-form button {
    border-radius: 0 25px 25px 0;
    background-color: #001f3f;
    color:#fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

[data-theme="creampy"] .newsletter-form button:hover {
    background-color: #001f3f;
    transform: translateX(2px);
}

.footer-column {
    margin-bottom: 2rem;
}

[data-theme="creampy"] .footer-column h5 {
    color: #001f3f;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

[data-theme="creampy"] .footer-column h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #001f3f;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}


.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info .phone-email {
    margin-top: 1rem;
}

[data-theme="creampy"] .copyright-section {
    border-top: 1px solid #001f3f;
    margin-top: 2rem;
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .footer-column h5:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .text-md-start {
        text-align: center !important;
    }
    #backToTop span{
        display:none;
    }
    #backToTop i{
        margin-right:unset !important;
    }
    .navbar{
        position: relative !important;
    }
}

.footer-column {
    margin-bottom: 2rem;
}

.hotel-title {
    font-weight: 600;
    letter-spacing: 1px;
}

.language-switcher-smart {
    position: relative;
    display: inline-block;
}

.language-checkbox {
    display: none;
}

.language-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.language-label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.current-flag {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.language-checkbox:checked ~ .language-label {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.language-options {
    position: absolute;
    top: calc(100% + 10px);
    right: -15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

.language-checkbox:checked ~ .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 15px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.language-option:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateX(3px);
}

.language-option .flag {
    font-size: 20px;
    line-height: 1;
}

.language-option .lang-text {
    flex: 1;
    margin-left:10px;
}

.language-label.changing .current-flag {
    animation: flagChange 0.5s ease;
}

@keyframes flagChange {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.language-option {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

.language-option:nth-child(1) {
    animation-delay: 0.05s;
}

.language-option:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .language-switcher-smart {
        margin-top: 10px;
    }

    .language-options {
        right: auto;
        left: 0;
    }
}
/* Multi-level Dropdown for Desktop */
@media (min-width: 992px) {
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu > .dropdown-item::after {
        content: "\f054";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        float: right;
        margin-left: 10px;
        font-size: 0.8rem;
    }
    
    /* Prevent click on desktop for dropdown toggles */
    .dropdown > a[data-bs-toggle="dropdown"] {
        pointer-events: none;
    }
    
    .dropdown-submenu > .dropdown-item {
        cursor: pointer;
    }
}

/* Multi-level Dropdown for Mobile */
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-left: 0;
        box-shadow: none;
        border-left: 2px solid var(--custom-green);
        padding-left: 10px;
        display: none;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-submenu > .dropdown-item::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .dropdown-submenu.show > .dropdown-item::after {
        transform: rotate(180deg);
    }

    /* Prevent close on dropdown item click in mobile */
    .navbar-collapse.show {
        max-height: 70vh;
        overflow-y: auto;
    }
}