@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/fontAwesome/fa-solid-900.woff2") format("woff2"),
    url("../fonts/fontAwesome/fa-solid-900.woff") format("woff"),
    url("../fonts/fontAwesome/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/fontAwesome/fa-regular-400.woff2") format("woff2"),
    url("../fonts/fontAwesome/fa-regular-400.woff") format("woff"),
    url("../fonts/fontAwesome/fa-regular-400.ttf") format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/fontAwesome/fa-brands-400.woff2") format("woff2"),
    url("../fonts/fontAwesome/fa-brands-400.woff") format("woff"),
    url("../fonts/fontAwesome/fa-brands-400.ttf") format("truetype");
}

/* --- Nunito Sans webfont --- */
/* nunito-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-500italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-600italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-600italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-700italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-800 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-800italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-800italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-900 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-900.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-900italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/nunitoSans/nunito-sans-v15-latin-900italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal overflow */
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111111;
  /*##212529*/
  background-color: #fff;

}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  font-size: 16px;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a {
  text-decoration: underline;
  outline: none;
  color: #02448a;
}

a:hover,
a:focus {
  outline: none;
  color: #035ebe;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/* Reset some default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#headerWrapper {
  display: block;
  position: relative;
  z-index: 1000;
  width: 100%;
  background-color: #f7f7f7;
}


header {
  width: 100%;
}

/* Top Contacts Container */
#topContactsContainer {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e5e5;
}

#topContacts {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#topContacts li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

#topContacts li a:hover {
  color: #011326;
}

#topContacts li a i {
  margin-right: 5px;
  color: #007bff;
}

#topBookingBtn {
  background-color: #007bff;
  color: #fff;
  padding: 18px 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

#topBookingBtn:hover {
  background-color: #0056b3;
}

/* Main Navigation Container */
.mainNavContainer {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  /*border-bottom: 1px solid #e5e5e5;*/
}

/* Logo styling */
.logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* or center if you want centered text */
  text-decoration: none;
  color: #0e2a47;
  line-height: 1.2;
}

.logo a {
  display: inline-block;
}

.logoImage {
  max-width: 180px;
  /* Adjust to fit your layout */
  height: auto;
  display: block;
}


/* Navigation links */
#mobileNavContainer {
  padding: 0;
  margin: 0;
}

#mobileNavContainer #mobileLogoWrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e5e5;
  padding: 30px 20px;
}

.mainNavLinksContainer ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.mainNavLinksContainer ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mainNavLinksContainer ul li a:hover,
.mainNavLinksContainer ul li a.active {
  color: #007bff;
}

/* Hamburger menu (hidden by default on desktop) */
.mobileMenuToggle {
  display: none;
  font-size: 25px;
  cursor: pointer;
}

/* Full-screen Mobile Nav Overlay */
#mobileNavContainer {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When active, use a class like `.showMobileNav` to show it */
#mobileNavContainer.active {
  display: flex;
}

/* Close Button */
#closeMobileNavBtn {
  align-self: flex-end;
  font-size: 25px;
  cursor: pointer;
  color: #333;
  margin-bottom: 10px;
  margin-right: 20px;
}

/* Mobile logo */
.mobileLogo a {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
  text-align: center;
}

.mobileLogo a span {
  display: block;
  font-size: 0.9rem;
  color: #007bff;
  margin-top: 2px;
}

/* Mobile nav links */
#mobileNavContainer ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
}

#mobileNavContainer ul li {
  margin: 10px 0;
  text-align: right;
}

#mobileNavContainer ul li a {
  display: block;
  padding: 5px 20px;
  margin: 0 10px;
  border-bottom: 1px dashed #f7f7f7;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

#mobileNavContainer ul li a:hover,
#mobileNavContainer ul li a.active {
  color: #007bff;
}

#mobileNavContainer #mobileContacts {
  display: block;
  border-top: 1px solid #d5d6ec;
  font-size: 16px;
}

#mobileNavContainer #mobileContacts li a i,
#mobileNavContainer #mobileNavLocation p a i {
  color: #007bff;
}

#mobileNavContainer #mobileNavLocation {
  display: block;
  width: 100%;
  text-align: right;
  padding: 0;
  margin-top: 20px;
  border-top: 1px solid #d5d6ec;
}

#mobileNavContainer #mobileNavLocation {
  padding: 30px;
  padding-bottom: 50px;
}

#mobileNavContainer #mobileNavLocation p a {
  font-weight: 800;
  text-decoration: none;
  color: #333
}

#mobileNavContainer #mobileNavLocation p a:hover {
  color: #007bff;
}

/*************************************************/
/* ========== FOOTER GLOBAL ========== */
footer {
  background-color: #f8f8f8;
  color: #181818;
  padding-bottom: 30px;
  border-top: 1px solid #e0e0e0;
}

/* MAIN FOOTER LAYOUT */
.footerMainWrapper {
  padding: 40px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 30px;
  gap: 40px;
}

/* INDIVIDUAL BLOCKS */
.footerBranding,
.footerContactWrapper,
.footerLocationWrapper,
.footerNav {
  flex: 1;
  min-width: 220px;
}

/* BRANDING SECTION */
.footerBranding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footerBranding img {
  max-height: 60px;
  margin-bottom: 8px;
}

/* SECTION HEADINGS */
.footerMainWrapper h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

/* CONTACT & LOCATION TEXT */
.footerContactWrapper p,
.footerLocationWrapper p {
  font-size: 16px;
  margin: 8px 0;
  line-height: 1.6;
}

.footerContactWrapper i,
.footerLocationWrapper i {
  color: #007bff;
  margin-right: 6px;
}

.footerContactWrapper a,
.footerLocationWrapper a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.footerContactWrapper a:hover,
.footerLocationWrapper a:hover {
  color: #007bff;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.footer-phones a {
  display: inline-flex;
  align-items: center;
}

.footer-phones i {
  width: 20px;
  text-align: center;
}

/* NAVIGATION */
.footerNav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerNav li {
  margin-bottom: 6px;
}

.footerNav a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footerNav a:hover {
  color: #007bff;
}

/* BOTTOM SECTION */
.footerBottomContainer {
  border-top: 1px solid #ddd;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 50px;
  color: #666;
}

.footerBottomContainer p {
  font-size: 14px;
}

.footerBottomContainer a {
  color: #181818;
  text-decoration: none;
}

.footerBottomContainer a:hover {
  color: #000;
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
  .footerMainWrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footerBranding {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .footerBranding p {
    margin-top: 0;
  }
}


/************************************************/



/* Show this only on small screens */
@media (min-width: 849px) {
  #mobileNavContainer {
    display: none !important;
  }

  .mobileMenuToggle {
    display: none;
  }
}


/* Responsive layout */
@media (max-width: 850px) {
  #topContactsContainer {
    display: none;
  }

  .mainNavContainer {
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 20px;
  }

  .mainNavLinksContainer {
    display: none;
  }

  .mobileMenuToggle {
    margin: 10px;
    display: block;
  }

  .logoImage {
    max-width: 120px;
    padding: 0;
  }
}

/**************************************************************/
/** HERO SECTION ***/
.hero-section {
  position: relative;
  height: 100vh;
  /* Full viewport height */
  background-image: url('../images/hero.jpg');
  background-size: cover;
  /* Cover the entire section */
  background-position: center;
  /* Center the image */
  background-attachment: fixed;
  /* Fixed background effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f1eaea;
  /* White text */
  background-attachment: fixed;
  /* Enable fixed background on larger screens */
}

/* Overlay to darken the background image */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black overlay */
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  /* Place content above the overlay */
}

/* Text shadow for better visibility */
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  /* Text shadow */
  margin-bottom: 20px;
  color: #e8efef;
}

.hero-content p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  /* Text shadow */
  margin-bottom: 30px;
}

.hero-content .btn {
  font-size: 1.2rem;
  padding: 10px 30px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  /* Button shadow */
}

.hero-content .btn {
  transition: transform 0.3s ease;
}

.hero-content .btn:hover {
  transform: scale(1.1);
  /* Slightly enlarge the button on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    /* Smaller font size for mobile */
  }

  .hero-content p {
    font-size: 1.2rem;
    /* Smaller font size for mobile */
  }

  .hero-content .btn {
    font-size: 1rem;
    /* Smaller button text for mobile */
    padding: 8px 20px;
  }

  .hero-section {
    background-attachment: scroll;
    /* Disable fixed background on small screens */
  }
}

/* Back to Top Button */
#backToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  border: none;
  outline: none;
  background-color: #eee;
  /* Primary theme color */
  color: #007bff;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, opacity 0.3s ease;
  border: 1px solid #c9d1da;
}

/* Darker shade for hover */
#backToTopBtn:hover {
  background-color: #0056b3;
  color: white;
}


/*************************************
Room section
*/
/* Main Card Container */
.card-container {
  display: flex;
  max-width: 900px;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  align-self: center;
  padding: 0;
  border: 1px solid #d8dce4;
  margin-bottom: 70px;
}

/* Image Section */
.card-image-section {
  width: 50%;
  position: relative;
}

.card-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details Section */
.card-details-section {
  width: 50%;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Header: Title and Price */
.card-price {
  display: flex;
  border-top: 1px solid #b4bdce;
  border-bottom: 1px solid #b4bdce;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
}

.card-price .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #353d4d;
  padding: 0 20px;
  padding-left: 0;
  margin: 0;
}

.card-price .price span {
  display: block;

}

.card-price .price span i {
  color: rgb(36, 71, 71);
  font-size: 0.8rem;
}

.card-price .price .startingAt {
  font-size: 14px;

  font-weight: 500;
  font-style: italic;
  color: #515968;
  border-bottom: 1px solid #b4bdce;
}

.card-price .per-night {
  font-size: 1.2rem;
  color: #515968;
  padding: 20px;
  border-left: 1px solid #b4bdce;
  margin: 0;
  font-style: italic;
}

/* Description */
.card-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Book Now Button */
.btn-book {
  border: 2px solid #d97706;
  color: #b45309;
  background-color: transparent;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  /* Pushes the button to the bottom */

  border: 1px solid #0d6efd;
  color: #0d6efd;
}

.btn-book:hover {
  background-color: #d97706;
  color: white;

  background-color: #0d6efd;
}

.btn-book span {
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    max-width: 93%;
  }

  .card-image-section,
  .card-details-section {
    width: 100%;
  }

  .card-image-section img {
    min-height: 250px;
  }
}

/* Gallery Section */
.gallery-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.gallery-section h2 {
  margin-bottom: 20px;
}

.gallery-section p.lead {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Masonry Gallery Layout */
.gallery-section .gallery-grid {
  position: relative;
  /* Required for the fade-out effect */
  column-count: 3;
  column-gap: 15px;
}

.gallery-section .gallery-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  /* The height of the fade effect */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 90%);
  pointer-events: none;
  /* Allows clicking on images 'under' the gradient */
  transition: opacity 0.5s ease-in-out;
}

/* Hide the gradient when all images are loaded */
.gallery-section .gallery-grid.all-images-loaded::after {
  opacity: 0;
}

.gallery-section .gallery-grid .gallery-item {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section .gallery-grid .gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-section .gallery-grid .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-section .gallery-grid .gallery-item:hover img {
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2a2b2c;
  /* Solid black background */
  z-index: 1050;
  /* Higher z-index to be on top of everything */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Prevent clicks when transparent */
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
  /* Allow clicks when visible */
}

/* Lightbox Image */
.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;

  padding: 0 15px;
  background-color: #323334;
  border-radius: 5px;
}

.lightbox.active .close {
  display: block;
}

.close:hover {
  color: #ccc;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;

  padding: 0 10px;
  background-color: #323334;
  border-radius: 5px;
}

.lightbox.active .prev,
.lightbox.active .next {
  display: block;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.prev:hover,
.next:hover {
  color: #ccc;
}

/* Image Count */
.image-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  background-color: #323334;
  padding: 5px 10px;
  border-radius: 5px;
}

/* Loading Spinner */
.lightbox::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-section .gallery-grid {
    column-count: 2;
  }
}

/*Gallery section end*/

/* Testimonials Section */
.testimonials-section {
  background-color: #f8f9fa;
  /* A light background to separate it */
}

.testimonials-section .row#reviews-grid {
  position: relative;
  padding-bottom: 30px;
  /* Add space at the bottom so fade doesn't cover content */
}

.testimonials-section .row#reviews-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(248, 249, 250, 0), #f8f9fa 90%);
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

/* Hide the gradient when all reviews are loaded */
.testimonials-section .row#reviews-grid.all-reviews-loaded::after {
  opacity: 0;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  /* Pulls the avatar up to overlap the card top */
  margin-bottom: 1rem;
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: #ffc107;
  /* Bootstrap warning color for stars */
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  margin-top: auto;
  /* Pushes author to the bottom */
}

/* Page Header for sub-pages */
.page-header-section {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.page-header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-header-section .container {
  position: relative;
  z-index: 2;
}

.blog-post-header {
  background: linear-gradient(to bottom, #f7f6f4 0%, #ffffff 100%);
  /*border-bottom: 1px solid rgba(0, 0, 0, 0.02);*/
}

.tracking-wider {
  letter-spacing: 0.1em;
}

/* Room Card Gallery New Layout */
.room-main-view {
  position: relative;
  width: 100%;
  height: 300px;
  /* Fixed height for consistency */
  overflow: hidden;
  background-color: #f0f0f0;
}

.room-main-view .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.room-main-view:hover .main-img {
  transform: scale(1.02);
}

.room-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.room-nav-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.room-nav-arrow.nav-left {
  left: 10px;
}

.room-nav-arrow.nav-right {
  right: 10px;
}

.room-thumbs-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 10px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.room-thumbs-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.room-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 4px;
  transition: opacity 0.2s, border 0.2s;
  border: 2px solid transparent;
}

.room-thumb:hover {
  opacity: 1;
}

.room-thumb.active {
  opacity: 1;
  border-color: #007bff;
}

/* =========================================
   NEW ROOM CARD STYLINGS
   ========================================= */
:root {
  --primary-theme: #007bff;
  --dark-text: #1a1a1a;
  --light-text: #666;
  --bg-white: #ffffff;
  --card-radius: 16px;
}

.room-card {
  display: flex;
  max-width: 1050px;
  background: var(--bg-white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  /* Very subtle, diffused shadow */
  font-family: 'Nunito Sans', sans-serif;
  margin: 60px auto;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 0;
}

/* Left Side: Image Wrapper (Contains Main Image + Thumbs) */
.room-gallery-wrapper {
  position: relative;
  flex: 1.3;
  /* Give images slightly more width */
  min-width: 480px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 0;
  margin: 0;
}

/* Background shade for Rooms Section */
.bg-light-custom {
  background-color: #f4f6f9;
}

/* Room Preview Card (Static, no hover) */
.room-preview-card {
  display: flex;
  max-width: 1050px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  font-family: 'Nunito Sans', sans-serif;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Preview Wrapper (Checkered Grid) */
.preview-wrapper {
  flex: 1.3;
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 0;
  background-color: #fff;
  /* Ensure no background bleed */
}

/* The Main Image View */
.room-image {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 450px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* The sliding track for images */
.room-image-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  /* Smooth sliding effect */
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  /* Prevent images from squishing */
  padding: 0;
  margin: 0;
}

/* Images inside the preview wrapper grid */
.preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Buttons - Minimal Circles */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.room-image:hover .nav-btn {
  opacity: 1;
  /* Show on hover */
}

.nav-btn:hover {
  background: var(--primary-theme);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
  left: 20px;
}

.nav-btn.next {
  right: 20px;
}

/* Right Side: Info */
.room-info {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-row {
  margin-bottom: 20px;
}

.room-title {
  font-size: 36px;
  /* Matches global h2 size */
  font-weight: 400;
  /* Matches global h2 weight */
  color: var(--dark-text);
  line-height: 1.1;
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.room-price .from {
  color: #9d6c10;
  /*#888;*/
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.room-price .price {
  font-size: 1.6rem;
  color: var(--primary-theme);
}

.room-price .per-night {
  color: #9d6c10;
  /*#999;*/
  font-size: 0.9rem;
}

.description {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
  font-weight: 400;
}

/* Amenities Grid - Minimal */
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 40px;
  padding-top: 25px;
  border-top: 1px solid #f0f0f0;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 0.85rem;
  font-weight: 600;
}

.amenity .icon {
  font-size: 1rem;
  color: var(--primary-theme);
  width: 32px;
  height: 32px;
  background: rgba(0, 123, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.amenity:hover .icon {
  background: var(--primary-theme);
  color: #fff;
}

/* Action Buttons Container */
.room-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Button - Modern Pill */
.book-btn {
  width: fit-content;
  padding: 14px 35px;
  background: var(--primary-theme);
  border: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

.book-btn:hover {
  background: #0062cc;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.35);
}

.book-btn span {
  font-size: 1.1rem;
  line-height: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .room-card {
    flex-direction: column;
    max-width: 94%;
  }

  .room-gallery-wrapper {
    min-width: 100%;
  }

  .room-preview-card {
    flex-direction: column;
    max-width: 94%;
  }

  .preview-wrapper {
    min-width: 100%;
    height: 400px;
  }

  .room-image {
    height: 320px;
  }

  .room-info {
    padding: 35px;
  }

  .room-title {
    font-size: 1.75rem;
  }
}

/* Ghost Button Styles */
.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--primary-theme);
  color: var(--primary-theme);
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.btn-ghost:hover {
  background-color: var(--primary-theme);
  color: #fff;
}

.btn-ghost i {
  transition: transform 0.3s ease;
}

.btn-ghost:hover i {
  transform: translateX(5px);
}

/* Contact Page Styles */
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
}

.contact-form .form-control {
  background-color: #fbfcf6;
  border: 1px solid #d9d9de;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background-color: #ffffff;
  border-color: var(--primary-theme);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.btn-send {
  background-color: var(--primary-theme);
  color: #fff;
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-send:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.25);
  color: #fff;
}

.contact-details .icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-details .d-flex:hover .icon-box {
  transform: scale(1.1);
  background-color: var(--primary-theme);
}

.contact-details .d-flex:hover .icon-box i {
  color: #fff !important;
}

.map-container iframe {
  width: 100%;
  display: block;
  min-height: 450px;
}

.watamu-activities-section,
.watamu-activities-section .container {
  padding: 0 10px;
}

/* Booking Modal Styles */
.booking-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  height: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease-out;
  overflow-y: visible;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-booking {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close-booking:hover,
.close-booking:focus {
  color: #000;
  text-decoration: none;
}

.booking-header h2 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--dark-text);
}

/* Ensure modal buttons text remains white when active/pressed */
.booking-info-body .btn:active,
.booking-info-body .btn:focus {
  color: #fff !important;
}

/* =========================================
   MINIMALIST ABOUT PAGE STYLES
   ========================================= */
.section-padding {
  padding: 100px 0;
}

.about-heading {
  font-weight: 300;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-text {
  color: #666;
  line-height: 1.9;
  font-size: 1.05rem;
  font-weight: 300;
}

.minimal-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.minimal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.minimal-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-theme);
  font-size: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.minimal-card:hover .icon-wrapper {
  background: var(--primary-theme);
  color: #fff;
}

.minimal-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.minimal-card p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

.attraction-img {
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.attraction-img {
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

#bookingModal .bookingBtnsWrapper a {
  font-size: 16px;
}

/* ============================================================
   BLOG — Listing Page
   ============================================================ */
.blog-listing-section {
  background-color: #f8f9fa;
  min-height: 60vh;
}

/* --- Card --- */
.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}

/* --- Image wrapper --- */
.blog-card-img-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.blog-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e9ecef;
  position: relative;
}

.blog-card-img .blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.07);
}

/* Placeholder when no featured image */
.blog-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3c5e 0%, #2a6496 100%);
}

.blog-placeholder-inner {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Card body --- */
.blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- Meta row --- */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-date,
.blog-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}

.blog-category {
  color: #2a6496;
}

/* --- Title --- */
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #1a3c5e;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: #2a6496;
}

/* --- Excerpt --- */
.blog-card-excerpt {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

/* --- Read More CTA --- */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #2a6496;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}

.blog-read-more i {
  transition: transform 0.25s ease;
  font-size: 0.8rem;
}

.blog-read-more:hover {
  color: #1a3c5e;
  gap: 10px;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

/* --- Pagination --- */
.blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 3px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  color: #1a3c5e;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: #2a6496;
  border-color: #2a6496;
  color: #fff;
}

/* --- Empty state --- */
.blog-empty-state {
  padding: 80px 20px;
}

.blog-empty-icon {
  font-size: 4rem;
  color: #2a6496;
  opacity: 0.35;
}

/* ============================================================
   BLOG — Single Post Page
   ============================================================ */
.blog-single-section {
  background: #fff;
}

/* Social Sharing Buttons */
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none !important;
  font-size: 16px;
  transition: transform 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  color: #fff;
}

.share-facebook {
  background-color: #3b5998;
}

.share-twitter {
  background-color: #1da1f2;
}

.share-whatsapp {
  background-color: #25d366;
}

.share-linkedin {
  background-color: #0077b5;
}

.share-copy {
  background-color: #6c757d;
}

.blog-single-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 14px;
}

.blog-single-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

.blog-single-content h2,
.blog-single-content h3 {
  color: #1a3c5e;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-single-content a {
  color: #2a6496;
  text-decoration: underline;
}

.blog-single-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.blog-single-content ul,
.blog-single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-single-content li {
  margin-bottom: 0.4rem;
}

.blog-single-content blockquote {
  border-left: 4px solid #2a6496;
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: #e8f0f8;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #444;
}

/* --- Tags --- */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  background: #e8f0f8;
  color: #1a3c5e;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* --- Post navigation --- */
.blog-post-nav {
  border-top: 1px solid #dee2e6;
  gap: 20px;
}

.blog-nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  max-width: 200px;
}

.blog-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2a6496;
  margin-bottom: 4px;
}

.blog-nav-title {
  font-size: 0.87rem;
  font-weight: 600;
  color: #1a3c5e;
  line-height: 1.3;
  transition: color 0.2s;
}

.blog-nav-link:hover .blog-nav-title {
  color: #2a6496;
}

/* --- Breadcrumb style override --- */
.blog-single-section .breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
}

.blog-single-section .breadcrumb-item a {
  color: #2a6496;
  text-decoration: none;
}

.blog-single-section .breadcrumb-item.active {
  color: #6c757d;
}

.blog-single-section .breadcrumb-item+.breadcrumb-item::before {
  content: '›';
  color: #adb5bd;
}

/* Archive Back Link */
.archive-back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s ease;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.archive-back-link:hover {
  color: #007bff;
  border-bottom-color: rgba(0, 123, 255, 0.2);
}

.archive-back-link i {
  transition: transform 0.3s ease;
}

.archive-back-link:hover i {
  transform: translateX(-5px);
}

/* --- 404 Error Page --- */
.error-404-navigation {
  background-color: #fff;
}

.error-hero h1 {
  font-size: 8rem;
  letter-spacing: -5px;
  line-height: 1;
  opacity: 0.9;
}

.error-hero h2 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.error-icon-wrapper i {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.error-content h3 {
  color: #1a3c5e;
  font-weight: 700;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.error-search {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #eee;
}

.error-search .search-form {
  display: flex;
  gap: 10px;
}

.error-search .search-field {
  flex-grow: 1;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 10px 20px;
  outline: none;
  transition: border-color 0.3s;
}

.error-search .search-field:focus {
  border-color: #007bff;
}

.error-search .search-submit {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: background 0.3s;
}

.error-search .search-submit:hover {
  background: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .error-hero h1 {
    font-size: 5rem;
  }
}