
/* ============================================================
   Core / Base Styles (applies to all pages)
============================================================ */
body {
  font-family: "Open Sans", sans-serif;
  color: #444;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #4fa6d5;
}
a:hover {
  color: #45beff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.font-primary {
  font-family: "Roboto", sans-serif;
}

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos].aos-animate {
  opacity: 1;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  right: 15px;
  bottom: 15px;
  background: #68A4C4;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 8px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #85b6cf;
  transition: background 0.2s ease-in-out;
}

/* ============================================================
   Header (all pages)
============================================================ */
#header {
  position: absolute; /* overlay hero */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 20px 0;
  -webkit-backface-visibility: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

#header .logo {
  display: flex;
  align-items: center;
  margin: 0;
}

.header-logo {
  max-height: 105px;
  display: block;
}

.nav-menu {
  margin: 0;
  padding: 0;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-menu ul li {
  display: inline-block;
}

.nav-menu a {
  display: inline-block;
  color: #fff;
  padding: 10px 12px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color .2s ease, background .2s ease;
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  color: #ffcc66;
}

/* "Book Now" Button in Nav */
.nav-menu .book-now a {
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 8px 18px;
  margin-left: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #fff;
  background: transparent;
}
.nav-menu .book-now a:hover {
  background: #fff;
  color: #0b212d;
  text-decoration: none;
}

/* Header when scrolled */
#header.header-scrolled {
  position: fixed;
  background: #2f527e;
  padding: 10px 0;
  box-shadow: none;
  opacity: 0.9;
  transition: 0.3s ease;
}

/* Header Link Hover Color (all pages) */
#header .nav-menu a:hover,
#header .nav-menu li:hover > a,
#header .nav-menu .active > a {
  color: #ffcc66; /* orange for all pages */
}

/* ============================================================
   Mobile Navigation (all pages)
============================================================ */
.nav-menu.mobile-nav {
  display: none;                 /* hidden by default */
  position: fixed;                /* fixed so menu overlays content */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;                  /* full screen */
  background: #2f527e;            /* matches header */
  z-index: 9999;
  padding-top: 80px;              /* leave space for header */
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;               /* scroll if needed */
  transition: all 0.3s ease;
  text-align: center;
}

.nav-menu.mobile-nav.active {
  display: flex;
}

.nav-menu.mobile-nav ul {
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}

.nav-menu.mobile-nav ul li {
  margin: 20px 0;
}

.nav-menu.mobile-nav ul li a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
  display: inline-block;
}

.nav-menu.mobile-nav ul li a:hover {
  color: #ffcc66;
}

/* Hamburger Menu Icon Fix */
.mobile-nav-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle.active i.bx-x {
  color: #ffcc66; /* color when menu is open */
  transform: rotate(90deg); /* smooth rotation effect */
}

/* Modern Hamburger Menu Icon */
.mobile-nav-toggle {
  width: 30px;
  height: 22px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  z-index: 10000;
}

.mobile-nav-toggle span {
  display: block;
  height: 3px;              /* thinner lines */
  width: 100%;
  background: #fff;          /* line color */
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.4s ease;
}

/* Position the three lines */
.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

/* Transform to X when active */
.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/***** Close the nav menu *****/
.mobile-nav-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 34px;
  line-height: 1;
  background: none;
  border: none;
  color: #fff; /* matches your white menu text */
  cursor: pointer;
  z-index: 9999;
}

.mobile-nav-close:focus {
  outline: none;
}

/* ============================================================
   Footer (all pages)
============================================================ */
#footer {
  background: #0b212d;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}
#footer .copyright {
  text-align: center;
  padding-top: 30px;
}
#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

/* ============================================================
   Index Page Styles
============================================================ */
.index-page #hero.hero-fullscreen {
  background-image: url("../img/bg8.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 5%;
  min-height: 520px;
  width: 100%;
  position: relative;
}
.index-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.30);
  z-index: 1;
}
.index-page .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}
.index-page .hero-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 46px;
  margin: 0 0 12px;
  letter-spacing: 1px;
}
.index-page .hero-sub {
  font-size: 18px;
  margin: 0 0 18px;
  font-style: italic;
}
.index-page .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.index-page .hero-buttons a.btn-get-started {
  background-color: #0083ca;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}
.index-page .hero-buttons a.btn-get-started:hover {
  background-color: #005f8a;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.index-page .hero-text-bg {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 25px 40px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

/* Home / Features Section */
.index-page .home-text-block {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
  text-align: center;
}
.index-page .home-text-block h3 {
  color: #0303AD;
}
.index-page .home-text-block h2 {
  font-size: 42px;
  color: #0083ca;
  margin-bottom: 40px;
  position: relative;
}
.index-page .home-text-block h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff914d;
  margin: 18px auto 0;
  border-radius: 3px;
}
.index-page .home-text-block p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.index-page .home-text-block ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  display: inline-block;
  text-align: center;
}
.index-page .home-text-block ul li {
  position: relative;

  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}
.index-page .home-text-block ul li i.icofont-check {
  color: #0083ca;
  margin-right: 10px;
}

/* Feature / Service Cards */
.index-page .icon-box {
  width: 100%;
  padding: 30px 20px;
  margin-bottom: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.index-page .icon-box:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.14);
}
.index-page .icon-box .icon {
  font-size: 42px;
  margin-bottom: 15px;
  color: #0083ca;
  transition: transform 0.3s ease, color 0.3s ease;
}
.index-page .icon-box:hover .icon {
  transform: scale(1.15);
  color: #ff914d;
}
.index-page .icon-box .title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}
.index-page .icon-box .description {
  font-size: 16px;
  color: #444;
}
.index-page .icon-box.icon-box-pink .icon { color: #ff6b81; }
.index-page .icon-box.icon-box-cyan .icon { color: #00cfe8; }
.index-page .icon-box.icon-box-green .icon { color: #28a745; }
.index-page .icon-box.icon-box-blue .icon { color: #0083ca; }

/*--------------------------------------------------------------
# INDEX PAGE - REVIEWS WIDGET CENTERING & SPACING
--------------------------------------------------------------*/
.index-page .ownerrez-widget, 
#ownerrez-reviews-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  
  /* --- ADDED SPACING --- */
  padding-top: 60px !important;    /* Gap above reviews */
  padding-bottom: 80px !important; /* Gap below reviews */
  margin-bottom: 40px !important;  /* Extra push from the next section */
}

.index-page .ownerrez-widget iframe,
.index-page .ownerrez-widget > div {
  max-width: 900px !important; 
  width: 100% !important;
  margin: 0 auto !important;
}

/* ============================================================
   Subpage Styles
============================================================ */
body.subpage #header {
  background: #2f527e;
  padding: 15px 0;
  transition: all 0.4s;
  box-shadow: 0px 2px 20px rgba(0,0,0,0.1);
}
body.subpage .nav-menu > ul > li > a {
  color: #fff;
}
body.subpage .nav-menu > ul > li:hover > a,
body.subpage .nav-menu > ul > li.active > a {
  color: #1977cc;
}

/* Policy Cards (policies page) */
body.subpage.policies-page .policy-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 30px;
  margin: 35px 0;
  border: 1px solid #e6e6e6;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;

  /* 3D floating card effect */
  transform-style: preserve-3d;
  perspective: 1000px;
}
body.subpage.policies-page .policy-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 20px 30px rgba(0,0,0,0.4);
}
body.subpage.policies-page .policy-card h3 {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #333;
}
body.subpage.policies-page .policy-card .policy-icon {
  font-size: 30px;
  margin-right: 14px;
  opacity: 0.95;
  transition: all 0.25s ease;
}
body.subpage.policies-page .policy-card:hover .policy-icon {
  transform: scale(1.15) rotate(-3deg);
  opacity: 1;
}
body.subpage.policies-page .policy-card p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}
body.subpage.policies-page .policy-icon.credit-card { color: #0083ca; }
body.subpage.policies-page .policy-icon.shield-check { color: #2daaaa; }
body.subpage.policies-page .policy-icon.x-circle { color: #d9534f; }
body.subpage.policies-page .policy-icon.umbrella { color: #ff8f47; }
body.subpage.policies-page .policy-icon.cloud-lightning { color: #6f42c1; }
body.subpage.policies-page .policy-icon.people { color: #009688; }
body.subpage.policies-page .policy-icon.clock-history { color: #ffb400; }
body.subpage.policies-page .policy-icon.door-closed { color: #8f6e54; }
body.subpage.policies-page .policy-icon.exclamation-triangle { color: #dc3545; }
body.subpage.policies-page .policy-icon.people-fill { color: #4a90e2; }
body.subpage.policies-page .policy-icon.cash { color: #008000; }
body.subpage.policies-page .policy-icon.octagon-fill { color: #FF0000; }
body.subpage.policies-page .policy-icon.water { color: #0000FF; }

/* Add spacing below header only for subpages (all subpages) */
body.subpage .section-title {
  margin-top: 120px;
}

/* Hide hero section on subpages */
body.subpage #hero,
body.subpage .hero-overlay,
body.subpage .hero-content,
body.subpage .hero-text-bg {
  display: none;
}

/* Subpage main padding */
body.subpage main {
  padding-top: 40px;
}

/* ============================================================
   Subpage Section Titles 
============================================================ */
body.subpage .section-title {
  margin-top: 120px;      /* spacing below header */
  text-align: center;     /* center the text */
}

body.subpage .section-title h2 {
  display: inline-block;
  font-size: 42px;
  color: #0083ca;
  position: relative;
}

body.subpage .section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff914d;    /* orange line */
  margin: 18px auto 0;
  border-radius: 3px;
}

/* ============================================================
   General Responsive Tweaks
============================================================ */
@media (max-width: 991px) {
  .nav-menu.d-none.d-lg-block { display: none !important; }
  .header-logo { max-height: 76px; }
  .index-page .hero-title { font-size: 34px; }
  .index-page .hero-sub { font-size: 15px; }
}

@media (max-width: 600px) {
  .policy-card {
    padding: 20px;
  }
  .policy-card h3 {
    font-size: 22px;
  }
  .policy-card .policy-icon {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  #header { padding: 12px 0; }
  .index-page .hero-title { font-size: 26px; }
  .index-page .hero-sub { font-size: 13px; }
  .btn-get-started { padding: 10px 18px; font-size: 14px; }
}

/* ============================================================
   Page Specific Tweaks
============================================================ */
/***** Gallery Images *****/
.gallery .gallery-item {
  background: #1e4356;
  overflow: hidden;
  min-height: 200px;
  position: relative;
  border-radius: 4px;
  margin: 0 0 30px 0;
}

.gallery .gallery-item img {
  transition: all 0.3s ease-in-out;
}

.gallery .gallery-item .gallery-info {
  opacity: 0;
  position: absolute;
  transition: all .3s linear;
  text-align: center;
  top: 10%;
  left: 0;
  right: 0;
}

.gallery .gallery-item .gallery-info h3 {
  font-size: 22px;
}

.gallery .gallery-item .gallery-info h3 a {
  color: #fff;
  font-weight: bold;
}

.gallery .gallery-item .gallery-info a i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  transition: 0.3s;
}

.gallery .gallery-item .gallery-info a i:hover {
  color: white;
}

.gallery .gallery-item:hover img {
  opacity: 0.6;
  transform: scale(1.1);
}

.gallery .gallery-item:hover .gallery-info {
  opacity: 1;
  top: calc(50% - 30px);
}

/***** Availability & Booking Fix - Ultra Precision *****/

.booking {
  position: relative !important;
  width: 100% !important;
  height: 1350px !important; 
  margin: 0 auto !important;
  display: block !important;
}

/* 1. Tighten the Calendar window */
#booking-calendar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 280px !important; /* Reduced to pull form up further */
  overflow: hidden !important;
  z-index: 1;
}

/* 2. Move the Form up to the 280px mark */
#booking-inquiry {
  position: absolute !important;
  top: 280px !important; 
  left: 0;
  width: 100% !important;
  height: auto !important;
  min-height: 800px;
  background: #fff;
  z-index: 2;
}

/**** Mobile Adjustments - Cinching the gap for phones ****/
@media (max-width: 920px) {
  .booking { height: 2000px !important; }
  #booking-calendar { height: 580px !important; } 
  #booking-inquiry { top: 580px !important; }
}

@media (max-width: 600px) {
  .booking { height: 2400px !important; }
  #booking-calendar { height: 860px !important; } 
  #booking-inquiry { top: 860px !important; }
}

/***** Things to Do *****/
.things-to-do .card {
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.things-to-do .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.things-to-do .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.things-to-do .card-body {
  z-index: 10;
  background: #fff;
  border-top: 4px solid #fff;
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.things-to-do .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.things-to-do .card-title a {
  color: #1e4356;
  transition: 0.3s;
}

.things-to-do .card-text {
  color: #5e5e5e;
}

.things-to-do .read-more a {
  color: #777777;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
}

.things-to-do .read-more a:hover {
  color: #68A4C4;
}

.things-to-do .card:hover img {
  transform: scale(1.1);
}

.things-to-do .card:hover .card-body {
  border-color: #68A4C4;
}

.things-to-do .card:hover .card-body .card-title a {
  color: #68A4C4;
}

/*--------------------------------------------------------------
# OWNERREZ CONTACT FIX
--------------------------------------------------------------*/
#contact-section {
  padding: 60px 0;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Target the container and the widget itself */
.contact, 
.ownerrez-widget,
.ownerrez-widget iframe {
  display: block !important;
  width: 100% !important;
  /* OwnerRez widgets need a fixed height or they clip */
  height: 1200px !important; 
  min-height: 1200px !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Mobile: OwnerRez forms get much longer when fields stack */
@media (max-width: 768px) {
  .ownerrez-widget,
  .ownerrez-widget iframe {
    height: 1800px !important;
    min-height: 1800px !important;
  }
}

#footer {
  margin-top: 50px !important;
  position: relative !important;
  clear: both !important;
}

/* OwnerRez: Force the container on your website to allow full width for the widget */
/* 1. Stop the site from squeezing the widget into a narrow column */
#reviews-section, 
.custom-html-block {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* 2. Pull the next section up to kill the white space gap */
.ownerrez-widget-container {
    margin-bottom: -60px !important; /* Forces the Gulf Front section to move up */
}