/* --- NEW HOVER & ANIMATION STYLES --- */

/* === 1. Button Hover Effect === */
/* Make the button pulse gently on hover */
.btn.btn-primary {
    transition: all 0.3s ease-in-out;
}

.btn.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px -5px rgba(0, 123, 255, 0.4);
}


/* === 2. Feature Box Hover Effect === */
/* Make the 4 feature boxes lift up */
.box-feature {
    transition: all 0.4s ease-out;
}

.box-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px -10px rgba(0, 0, 0, 0.1);
}


/* === 3. GSAP "Fade-in" Setup === */
/* This is for GSAP. We will make elements 'hidden' by default, 
  and GSAP will use JavaScript to fade them in.
*/

/* Hides the "About" section elements initially */
.section-4 .img-about,
.section-4 .feature-h {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
}

/* Hides the Counter boxes initially */
.section-counter .counter-wrap {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
}

/* --- Fixes for "About Us" Section Icons --- */

/* 2a. Style the H2 heading icon */
.section-4 .heading i {
  margin-right: 15px;
  font-size: 0.9em;
  vertical-align: middle;
}

/* 2b. Style the 3 feature icons (Affordable Luxury, etc.) */
.section-4 .feature-h .wrap-icon {
  background-color: #f8f9fa; /* Light gray circle */
  border: 1px solid #dee2e6;
  width: 70px; 
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0; /* Prevents shrinking */
}

.section-4 .feature-h .wrap-icon i {
  font-size: 28px; /* Makes icon bigger */
  color: #0d6efd; /* Sets a primary blue color */
}

/* --- Fix for "Our Rooms" Dropdown Arrow --- */

.site-nav .site-menu .has-children > a {
  position: relative; /* Needed to place the arrow */
  padding-right: 20px; /* Make space for the arrow */
}

.site-nav .site-menu .has-children > a::after {
  font-family: "Font Awesome 6 Free"; /* Use Font Awesome */
  font-weight: 900; /* Solid style */
  content: "\f078"; /* This is the code for the 'chevron-down' icon */
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em; /* Make it subtle */
  transition: transform 0.3s ease;
}

/* Optional: Flips the arrow on hover */
.site-nav .site-menu .has-children:hover > a::after {
   transform: translateY(-50%) rotate(180deg);
}


/* --- Fix for Footer Social Icons --- */

.site-footer .social li a {
  background: none; /* Remove the old gray circle */
  width: 40px; 
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.site-footer .social li a i {
  font-size: 24px; /* Makes icon MUCH bigger */
  color: #333; /* A default dark gray color */
  transition: all 0.3s ease;
}

/* Add the brand colours and 'pop' effect on HOVER */
.site-footer .social li a:hover .fa-instagram {
  color: #E1306C; /* Instagram Pink */
  transform: scale(1.2) translateY(-3px);
}
.site-footer .social li a:hover .fa-twitter {
  color: #1DA1F2; /* Twitter Blue */
  transform: scale(1.2) translateY(-3px);
}
.site-footer .social li a:hover .fa-facebook-f {
  color: #1877F2; /* Facebook Blue */
  transform: scale(1.2) translateY(-3px);
}
.site-footer .social li a:hover .fa-linkedin-in {
  color: #0A66C2; /* LinkedIn Blue */
  transform: scale(1.2) translateY(-3px);
}



/* --- CSS for Round Logo --- */
.site-nav .logo img {
  border-radius: 50%; /* This is what makes it round */
  
  /* Use the lines below to force the logo into a perfect circle, 
  even if your image file is a rectangle. 
  Adjust the 50px value to get the size you want.
  */
  width: 50px;
  height: 50px;
  object-fit: cover; /* This stops the image from stretching */
}


/* --- Sticky WhatsApp Icon Styles --- */

/* The 'jiggle' animation */
@keyframes jiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}

.whatsapp-sticky {
  position: fixed;  /* Makes it sticky */
  bottom: 30px;
  left: 30px;
  
  /* Icon Styling */
  background-color: #25D366; /* WhatsApp Green */
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  
  /* Centering the icon */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Icon Size */
  font-size: 40px;
  
  /* Drop shadow */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  
  /* z-index to keep it on top */
  z-index: 1000;
  
  /* --- The Animation --- */
  animation: jiggle 1s; /* Plays the jiggle animation */
  animation-iteration-count: infinite; /* Makes it repeat forever */
  
  /* Wait 4s, then jiggle, wait 4s, then jiggle... */
  animation-delay: 4s; 
}





/* --- Advanced "Dark Mode" Google Map Style --- */

.map-container-advanced {
  /* No border, no radius. Just full-width. */
  width: 100%;
  line-height: 0; /* Fixes small gap under iframe */
}

.map-container-advanced iframe {
  /* This is the "Dark Mode" filter!
     1. Invert(100%): Flips all colors (white becomes black).
     2. Hue-rotate(180deg): Flips the color spectrum. This turns 
        the inverted blues into nice dark-mode blues and oranges.
  */
  filter: invert(100%) hue-rotate(180deg);
  
  transition: filter 0.5s ease-in-out;
  display: block;
}

/* On hover, smoothly fade back to the normal map colors */
.map-container-advanced iframe:hover {
  filter: invert(0%) hue-rotate(0deg);
}



/* --- START: FINAL Mobile Responsive Fixes --- */
@media (max-width: 991.98px) {

  /* 1. Hero Section Fix (1:1 Ratio & Visibility) 
     This forces the .hero container to a 1:1 square
     and makes the JS-generated slider fill it.

  

  /* 2. Feature Boxes Fix (Stack Vertically) */
  .section.bg-light .col-6.col-lg-3 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .section.bg-light .box-feature {
    margin-bottom: 30px !important; 
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  

  /* 3. Counter Section Fix (Center Align) */
  .section-counter .counter-wrap {
    text-align: center !important;
    margin: 0 auto 30px auto !important;
    width: 100% !important;
  }
  .section-counter .counter-wrap .number,
  .section-counter .counter-wrap .caption {
    display: block !important;
    width: 100% !important;
  }


  /* 4. Footer Alignment Fix (Center Align Lists) */
  .site-footer .widget {
    text-align: center !important; /* Centers the H3 */
    margin-bottom: 40px;
  }
  .site-footer .widget h3 {
    text-align: center !important;
  }
  
  /* Force ALL lists to be centered as blocks */
  .site-footer .widget ul.links {
    display: inline-block !important; /* This makes the block center-able */
    list-style: none;
    padding-left: 0;
    text-align: left !important; /* Text inside the block is left-aligned */
    margin-bottom: 0;
  }
  
  /* Force floated lists to also center */
  .site-footer .widget .float-start.links {
    float: none !important;
    margin-right: 0;
    display: inline-block !important;
  }
  
  /* Force social icons to center */
  .site-footer .widget .social {
    justify-content: center !important;
    padding-left: 0;
  }


  /* 5. Copyright Text Fix (Uppercase & Style) */
  .site-footer .row.mt-5 {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    margin-top: 0 !important;
  }
  .site-footer .col-12.text-center p {
    font-family: "Work Sans", sans-serif;
    text-transform: uppercase !important; /* ALL CAPS */
    font-size: 13px !important;
    letter-spacing: 1px;
    line-height: 1.8;
    color: #888 !important;
    margin-bottom: 10px;
  }


  /* 6. Mobile Menu Fix (Dark, Bold, Lines) */
  .site-mobile-menu {
    background: #1a1a1a !important; /* Dark background */
  }
  .site-mobile-menu-close .js-menu-toggle {
    color: #fff !important; /* White 'X' */
    opacity: 1;
    font-size: 24px; /* Make 'X' bigger */
  }
  .site-nav-wrap {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .site-nav-wrap li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #444; /* Partition lines */
  }
  .site-nav-wrap li:first-child {
    border-top: 1px solid #444;
  }
  .site-nav-wrap li a {
    padding: 12px 20px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600 !important; /* Bolder text */
    text-transform: uppercase;
  }
  .site-nav-wrap li.active > a {
    color: #3e9bff !important; /* Bright blue for active link */
  }
  .site-nav-wrap .dropdown {
    padding-left: 0;
  }
  .site-nav-wrap .dropdown li {
    border-bottom: none;
  }
  .site-nav-wrap .dropdown li a {
    padding-left: 30px;
    color: #ccc !important;
    font-weight: 400 !important;
    text-transform: none;
    font-size: 15px;
  }
  .site-nav-wrap .arrow-collapse {
    color: #fff !important;
    border-color: #fff !important;
  }
  .site-nav-wrap .arrow-collapse.collapsed {
    color: #888 !important;
    border-color: #888 !important;
  }
}
/* --- END: FINAL Mobile Responsive Fixes --- */
