/*Animations*/
.fadeinleft {
    opacity:0;
    transform: translateX(200px);
    transition: all 1.3s ease-out;
}

.fadeinright{
    opacity: 0;
    transform: translateX(-200px);
    transition: all 0.8s ease-out;
}

.fadeindown{
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1.2s ease-out;
}

.fade-in{
    opacity:0;
    transition: all 1.3s ease-in;
}

.active-left,.active,.active-right,.active-down{
    opacity:1;
    transform: translateX(0);
    transform: translateY(0);
}



.fadein{
opacity: 0;
}   



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

        font-family: 'Roboto', sans-serif;
        font-family: "Marcellus", serif;
}


/* Navbar Transparency and Blur on Scroll */
#main-nav {
    background-color: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    z-index: 1050 !important; /* High z-index */
    position: fixed !important; /* Ensure it's truly fixed */
    top: 0 !important; /* Stick to the very top */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* Explicit Height for Main Nav (h-12 logo + py-4 = 48px + 16px + 16px = 80px) */
    height: 80px !important; /* Set a fixed height */
    box-sizing: border-box; /* Include padding in height calculation */
    padding-left: 1rem; /* Equivalent to px-4 in Tailwind, but ensures it */
    padding-right: 1rem; /* Equivalent to px-4 in Tailwind, but ensures it */
}

#main-nav.scrolled {
    /* Change this background-color to your light brown RGB with desired transparency */
    background-color: rgba(246, 241, 241, 0.6) !important; /* Light brown tint with 85% opacity */

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important; /* For Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;

    will-change: background-color, backdrop-filter, box-shadow; /* Hint for browser optimization */
}

/* Ensure content within main-nav aligns and fills */
#main-nav .container {
    height: 100%; /* Ensure the inner container takes full height of the nav */
}

/* Navbar links color change on scroll (optional, but good for contrast) */
#main-nav .nav-link {
    color: #ffff; /* Dark brown by default */
}

#main-nav .nav-link:hover{
    color: #D2B48C; /* Dark brown by default */
}
#main-nav.scrolled .nav-link {
    color: #8B4513!important; /* Dark brown when scrolled */
}

#main-nav.scrolled .nav-link:hover {
    color:  #D2B48C !important; /* Light brown on hover when scrolled */
}

/* Book Now Button Arrow Animation */
.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.group:hover .arrow-icon {
    transform: translateX(5px); /* Moves arrow slightly to the right on hover */
}

/* Hero Section Animations */
@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInFromBottom 1s ease-out forwards;
    opacity: 0; /* Hidden by default */
}

.animate-fade-in-up.delay-150 {
    animation-delay: 0.15s;
}

.animate-fade-in-up.delay-300 {
    animation-delay: 0.3s;
}

/* Scrolling Text Carousel */
.scrolling-text {
    animation: scrollText 30s linear infinite; /* Adjust duration for speed */
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Scrolls half of its content width */
    }
}

/* Ensure Owl Carousel navigation is visible */
.owl-theme .owl-nav [class*='owl-'] {
    color: #fff; /* White arrows */
    font-size: 24px;
    background: #D2B48C !important; /* Light brown background */
    border-radius: 50%;
    padding: 8px 15px;
    margin: 5px;
    opacity: 0.8;
    transition: background-color 0.3s ease;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: #8B4513 !important; /* Dark brown on hover */
    opacity: 1;
}

.owl-theme .owl-prev {
    left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-theme .owl-next {
    right: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive adjustments for owl carousel dots (if enabled) */
.owl-theme .owl-dots .owl-dot span {
    background: #D2B48C; /* Light brown for dots */
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #8B4513; /* Dark brown for active dot */
}

/* Basic AOS-like animations for About Us (using Tailwind, no external library needed) */
/* You would need Intersection Observer API in JS to trigger these on scroll */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Example: how to apply these with JS (see main.js) */
[data-aos].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* --- Custom: Mobile Sidebar Solid Background (Full Coverage) --- */
#mobile-sidebar {
    background: #fff8f0 !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important; /* Sticking to the right edge */
    width: 280px !important; /* Your desired width */
    max-width: 100vw !important; /* CRITICAL: Prevents it from going off-screen on tiny devices */
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 1060 !important; /* Higher than main nav when open */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 16px rgba(0,0,0,0.1);
    overflow-y: auto; /* Allows scrolling within the sidebar if content is long */
    box-sizing: border-box; /* Include padding in the element's total width/height */
}

#mobile-sidebar.translate-x-0 {
    transform: translateX(0) !important;
}

#mobile-sidebar .sidebar-content {
    /* Ensure consistent and ample padding for content */
    padding: 2rem 1.5rem; /* Top/bottom 2rem, left/right 1.5rem */
    width: 100%; /* Ensure content area fills the sidebar width */
    box-sizing: border-box;
}

/* Hide sidebar on desktop */
@media (min-width: 768px) {
    #mobile-sidebar {
        display: none !important;
    }
}

@media (max-width: 767px) {
  #main-nav {
    transition: top 0.3s;
  }
  #main-nav.hide-on-scroll {
    top: -100px !important; /* Hide navbar by moving it up */
  }
  #main-nav.show-on-scroll {
    top: 0 !important; /* Show navbar at the top */
  }
}







.about-two {
    padding: 70px 0px;
    position: relative;
  
    z-index: 1;
  }
  @media (max-width: 991px) {
    .about-two {
      padding: 100px 0px;
    }
  }
  @media (max-width: 767px) {
    .about-two {
      padding: 80px 0px;
    }
  }
  .about-two__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    mix-blend-mode: overlay;
    z-index: -1;
  }
  .about-two__thumb {
    position: relative;
    z-index: 1;
  }
  .about-two__thumb__item {
    position: relative;
    z-index: 1;
    margin-right: 100px;
    margin-left: 30px;
  }
  @media (max-width: 1199px) {
    .about-two__thumb__item {
      margin-right: 30px;
      margin-left: 30px;
    }
  }
  .about-two__thumb__item img {
    object-fit: cover;
    width: 100%;
  }
  .about-two__thumb__item::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: transparent;
    border: 1px solid var(--solinom-base, #CBA36B);
  }
  .about-two__thumb__item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--solinom-base, #D2B48C);
    transform: rotate(-10.21deg);
    z-index: -1;
    transition: all 0.5s ease-in-out;
  }
  .about-two__thumb__item:hover::before {
    transform: rotate(0deg);
  }
  .about-two__thumb__small {
    position: absolute;
    bottom: 0;
    left: -100px;
    z-index: 1;
    animation: top-bottom-two 4s ease-in-out infinite;
  }
  .about-two__thumb__small img {
    width: 243px;
    height: 243px;
    border-radius: 50%;
    border: 8px solid var(--solinom-gray2, #D2B48C);
  }
  .about-two .sec-title {
    padding-bottom: 15px;
    font-family: "Marcellus", serif;
    font-weight: 700;
  }
  .about-two .sec-title .sec-title__title {
    font-weight: 500;
    line-height: 120%;
  }
  .about-two__top__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 166%;
    max-width: 490px;
    width: 100%;
    margin-bottom: 30px;
    text-align: justify;
    font-family: "Forum", serif;
  }
  .about-two__feature {
    margin-bottom: 40px;
  }
  .about-two__feature__item {
    position: relative;
    padding: 40px 30px;
    z-index: 1;
    overflow: hidden;
  }
  .about-two__feature__item::after {
    content: "";
    width: 100%;
    height: 90px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #24242494;
    z-index: -1;
  }
  .about-two__feature__item:hover .about-two__feature__icon {
    animation: shake 0.3s linear 2;
    background-color: var(--solinom-base, #ccb487);
    color: var(--solinom-white, #fff);
  }
  .about-two__feature__item:hover .about-two__feature__bg {
    transform: scale(1.1);
  }
  .about-two__feature__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: -2;
    transform: scale(1);
    transition: all 0.4s ease-in-out;
  }
  .about-two__feature__icon {
    margin-top: 25px;
    width: 60px;
    border-radius: 50%;
    background-color: var(--solinom-text, #D2B48C);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--solinom-base, #D2B48C);
    font-size: 30px;
    transition: all 0.4s ease-in-out;
  }
  .about-two__feature__title {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 350%;
    color: var(--solinom-white, #fff);
    text-transform: capitalize;
    margin-top: -6px;
    margin-bottom: -15px;
    padding-bottom: 0;
  }
  

  .about-two__feature__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 188%;
    margin-bottom: -10px;
    padding-bottom: 0;
    color: white;
  }
  .about-two .solinom-btn {
    padding: 11px 40px;
    border: 1px solid transparent;
  }
  .about-two .solinom-btn:hover {
    border-color: rgba(var(--solinom-white-rgb, 255, 255, 255), 0.4);
  }


/* Existing CSS for .about-two__content */
.about-two__content {
    /* Existing styles, if any. Ensure no explicit width/margin conflicts here. */
    /* If you have a max-width, make sure it's wide enough for centering */
}

/* Force centering for the title container on smaller screens */
.about-two__content .sec-title > div { /* Target the flex container around the h2 */
    display: flex;
    justify-content: center; /* Center horizontally */
    width: 100%; /* Ensure it takes full available width */
}

/* Ensure the h2 itself allows centering of its content */
.about-two__content .sec-title__title { /* Assuming your h2 has this class or similar */
    text-align: center; /* Center the text inside the h2 */
}

/* Apply centering to the paragraph text on mobile */
.about-two__top__text {
    text-align: center; /* Center the paragraph text */
    /* Remove the max-width if it's preventing centering by making text wrap too early */
    /* If you need max-width, ensure the text-align works within that width */
    max-width: none; /* Temporarily remove for testing centering */
}


/* Centering the "Book Now" button */
.about-two__content .group { /* Target the 'a' tag which has 'group' class */
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center its content horizontally */
    margin: 0 auto; /* Fallback for block-level centering if flex fails or for margins */
    width: fit-content; /* Make the button only as wide as its content for proper centering */
    /* If you removed 'inline-flex' from HTML, add 'display: inline-flex;' here */
}

/* Ensure the parent of the button is a block or flex container that allows centering */
.about-two__content > div:last-of-type { /* Targeting the div that wraps the button */
    display: flex; /* Make sure this div is a flex container */
    justify-content: center; /* Center its content (the button) */
    width: 100%; /* Ensure this div takes full width for centering */
}


/* Media query for larger screens to revert to left-aligned (if desired) */
@media (min-width: 768px) { /* Adjust breakpoint as per your Tailwind md: */
    .about-two__content .sec-title > div,
    .about-two__content .sec-title__title, /* If you want text aligned left too */
    .about-two__top__text,
    .about-two__content > div:last-of-type {
        text-align: left; /* Revert text alignment to left */
        justify-content: flex-start; /* Align flex items to the start */
        margin-left: 0; /* Remove auto margins */
        margin-right: 0;
        width: auto; /* Allow width to be determined by content or grid */
    }
}

  @media screen and (max-width: 991px) {
   
    .about-two__thumb__small img{
        display:none !important;
    }
    .about-two__content{
        margin-top: 30px !important;
    }
    
 }

.main-content {
  margin-top: 0 !important; /* Remove margin that pushes content below navbar */
}

section:first-of-type {
  padding-top: 80px !important; /* Add padding so content is not hidden under navbar, but still appears behind it for blur */
}




.Slogan .bg {
    background: url('../img/vila-ergi1.jpg') rgba(0, 0, 0, 0.582);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    height: 500px;

    /* These make it a flex container */
    display: flex;
    align-items: center;     /* Vertical center */
    justify-content: center; /* Horizontal center */
}








.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 40px;
    height: 600px;

}

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

.room-card-inner {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.room-carousel {
    position: relative;
    flex: 1;
    min-width: 40%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.room-image {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-navigation.left {
    left: 20px;
}

.carousel-navigation.right {
    right: 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #894329;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.room-content {
    padding: 30px;
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.room-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #894329;
    margin: 0;
}

.room-number {
    background: linear-gradient(135deg,#894329,#894329);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.room-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #D2B48C;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    z-index: 5;
}

@media (max-width: 992px) {
    .room-card {
        height: auto;
    }

    .room-card-inner {
        flex-direction: column;
    }

    .room-carousel {
        height: 400px;
    }

    .room-content {
        padding: 20px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .room-content {

    }

    .room-header {
        flex-direction: column;
        gap: 15px;
    }
}



.room-amenities {
    margin-bottom: 25px;
}

.amenities-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #894329;
    margin-bottom: 15px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.amenity-item i {
    color: #D2B48C;
    width: 20px;
}

/* Book Now Button Styles */
.book-now-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg,#D2B48C,#D2B48C); /* Main gradient */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2); /* soft glow */
    margin-bottom: 10px;
}

.book-now-btn:hover {
    background: linear-gradient(135deg,#894329); /* Darker gradient */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
    text-decoration: none;
}

@media only screen and (max-width: 689px) {
    .navbar-2{
        background-color: rgb(20, 20, 20)!important;
        padding: 15px 0;
    }
}





.Rooms-head {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/vila-ergi27.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.Rooms-head .container {
    position: relative;
    z-index: 2;
}



.Rooms-head h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    z-index: 2;
    position: relative;
}





.About-head {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/vila-ergi17.jpg') center center/cover no-repeat;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.About-head .container {
    position: relative;
    z-index: 2;
}



.About-head h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    z-index: 2;
    position: relative;
}




.Gallery-head {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/vila-ergi19.jpg') center center/cover no-repeat;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

Gallery-head .container {
    position: relative;
    z-index: 2;
}



.Gallery-head h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    z-index: 2;
    position: relative;
}




.Contact-head {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/vila-ergi10.jpg') center center/cover no-repeat;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.Contact-head .container {
    position: relative;
    z-index: 2;
}



.Contact-head h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    z-index: 2;
    position: relative;
}









