/* Fix language dropdown positioning ONLY on home pages - responsive fix */
.navbar-center .navbar-nav .dropdown:first-child .dropdown-menu {
  left: 0 !important;
  right: auto !important;
  min-width: 150px !important;
  max-width: 200px !important;
}

/* Responsive fix for different screen sizes - ONLY home pages */
@media (max-width: 1200px) {
  .navbar-center .navbar-nav .dropdown:first-child .dropdown-menu {
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 992px) {
  .navbar-center .navbar-nav .dropdown:first-child .dropdown-menu {
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .navbar-center .navbar-nav .dropdown:first-child .dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }
}

/* Buscat Premium Resort Custom Styles */
/* Change blue text to dark green, keep original dark backgrounds */

/* Dark Forest Green Color Variables */
:root {
  --buscat-forest-green: #2d5016;
  --buscat-forest-green-light: #3a6b1e;
}

/* Make logo much bigger when at top of page (before scrolling) */
.navbar-brand .logobig .logo,
.navbar-brand .logobig .logodark {
  max-height: 300px !important;
  width: auto !important;
  transition: max-height 0.3s ease !important;
}

/* Keep current (smaller) size when scrolled down */
.top-nav-collapse .navbar-brand .logobig .logo,
.top-nav-collapse .navbar-brand .logobig .logodark {
  max-height: 40px !important;
  width: auto !important;
}

/* Ensure logo is visible and properly sized */
.navbar-brand .logobig {
  display: flex !important;
  align-items: center !important;
}

/* Make hero slider text smaller but not too small */
.intro-body h1 {
  font-size: 3.5em !important;
  text-align: center !important;
  line-height: 1.6 !important;
  margin-bottom: 30px !important;
  color: white !important;
  display: block !important;
  width: 100% !important;
}

/* Simplify all text elements to single cell */
.intro-body h1 .big,
.intro-body h1 .span,
.intro-body h1 sup,
.intro-body h1 .blue,
.intro-body h1 .indent {
  display: inline !important;
  color: white !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
  font-size: inherit !important;
}

/* Change blue text to dark green */
.blue {
  color: var(--buscat-forest-green) !important;
}

/* Any other blue text elements */
[style*="color: blue"],
[style*="color: #007bff"],
[style*="color: #0066cc"],
[style*="color: #0056b3"] {
  color: var(--buscat-forest-green) !important;
}

/* Blue text in specific sections */
.intro-body .blue {
  color: var(--buscat-forest-green) !important;
}

/* Ensure the blue class maintains forest green color */
.span.blue {
  color: var(--buscat-forest-green) !important;
}

/* Make Book Now button same size as other navigation items */
.navbar-nav .btn-outline {
  font-size: 14px !important;
  padding: 15px 20px !important;
  margin: 0 !important;
  line-height: 20px !important;
  height: auto !important;
  border-radius: 0 !important;
  text-transform: none !important;
  font-weight: normal !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  text-decoration: none !important;
}

.navbar-nav .btn-outline:hover,
.navbar-nav .btn-outline:focus {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
}

/* Remove button styling completely and make it look like other nav items */
.navbar-nav li a.btn-outline {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-weight: normal !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.navbar-nav li a.btn-outline:hover,
.navbar-nav li a.btn-outline:focus {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
}

/* Override parallax effect for wellness section */
#wellness.bg-img-custom {
  background-attachment: scroll !important;
}
