@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap);

.gallery-main,
.gallery-side-item {
  height: 100%;
  overflow: hidden
}

.btn-book-now,
.tab-btn {
  cursor: pointer;
  transition: .3s
}

:root {
  --primary-color: #2c3e50;
  --accent-color: #e67e22;
  --bg-light: #f9f9f9;
  --text-dark: #333;
  --text-muted: #777;
  --border-color: #eee;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05)
}

body {
  font-family: Outfit, sans-serif;
  color: var(--text-dark);
  background: #fff
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.highlight-accent,
.tab-content h3 span.highlight {
  color: var(--accent-color)
}

.property-title,
.tab-btn.active {
  color: var(--primary-color)
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 220px);
  grid-gap: 10px;
  margin-bottom: 30px;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 12px
}

.gallery-main {
  grid-column: 1/3;
  grid-row: 1/3;
  border-radius: 8px 0 0 8px
}

.gallery-main img,
.gallery-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.gallery-side {
  display: contents
}

.gallery-side-item:first-child {
  grid-column: 3/4;
  grid-row: 1/2
}

.gallery-side-item:nth-child(2) {
  grid-column: 3/4;
  grid-row: 2/3
}

.gallery-side-item:nth-child(3) {
  grid-column: 1/2;
  grid-row: 3/4
}

.gallery-side-item:nth-child(4) {
  grid-column: 2/3;
  grid-row: 3/4
}

.gallery-side-item:nth-child(5) {
  grid-column: 3/4;
  grid-row: 3/4
}

.gallery-main img:hover,
.gallery-side-item img:hover {
  transform: scale(1.05)
}

@media (max-width:992px) {
  .property-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 400px 200px 200px 200px
  }

  .gallery-main {
    grid-column: 1/3;
    grid-row: 1/2;
    border-radius: 8px 8px 0 0
  }

  .gallery-side-item {
    height: 200px
  }
}

@media (max-width:600px) {
  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto
  }

  .gallery-main {
    grid-column: 1;
    grid-row: auto;
    height: 300px
  }

  .gallery-side-item {
    height: 250px;
    grid-column: 1
  }
}

.property-header-section {
  text-align: center;
  margin-bottom: 50px
}

.property-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px
}

.property-header-meta {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: var(--text-muted);
  font-size: .95rem
}

.property-header-meta span i {
  margin-right: 5px;
  color: var(--accent-color)
}

.property-page-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px
}

.property-main-col {
  flex: 1
}

.property-side-col {
  width: 350px;
  position: sticky;
  top: 100px
}

.property-tabs {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px;
  display: flex;
  gap: 30px
}

.bedding-info-box h4,
.book-form-group,
.tab-content h3,
.tab-content p {
  margin-bottom: 15px
}

.tab-btn {
  padding: 15px 5px;
  background: 0 0;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color)
}

.tab-content {
  display: none;
  animation: .5s fadeIn
}

.tab-content.active {
  display: block
}

.tab-content p {
  line-height: 1.8;
  color: #555
}

.bedding-info-box {
  margin-top: 30px;
  padding: 20px;
  background: #fef9f5;
  border-radius: 8px
}

.bedding-list {
  list-style: none;
  padding: 0
}

.bedding-list li {
  margin-bottom: 10px
}

.amenities-title,
.booking-widget h4,
.location-title,
.rules-title {
  margin-bottom: 20px
}

.map-frame {
  border: 0;
  width: 100%;
  height: 450px;
  border-radius: 12px
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

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

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  padding: 10px;
  background: var(--bg-light);
  border-radius: 6px
}

.feature-item i {
  color: var(--accent-color);
  width: 20px;
  text-align: center
}

.booking-widget {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  border: 1px solid var(--border-color)
}

.booking-widget h4 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px
}

.book-form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-muted)
}

.book-form-group input,
.book-form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit
}

.btn-book-now {
  width: 100%;
  padding: 15px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px
}

.btn-book-now:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, .3)
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent-color)
}

.contact-direct {
  text-align: center;
  margin-top: 20px;
  font-size: .9rem;
  color: var(--text-muted)
}

.contact-direct a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none
}

@media (max-width:1024px) {
  .property-title {
    font-size: 2.2rem
  }

  .property-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px)
  }

  .gallery-main {
    grid-column: 1/3;
    grid-row: 1/3
  }

  .gallery-side-item:first-child {
    grid-column: 1;
    grid-row: 3
  }

  .gallery-side-item:nth-child(2) {
    grid-column: 2;
    grid-row: 3
  }

  .gallery-side-item:nth-child(3) {
    grid-column: 1;
    grid-row: 4
  }

  .gallery-side-item:nth-child(4) {
    grid-column: 2;
    grid-row: 4
  }

  .gallery-side-item:nth-child(5) {
    display: none
  }
}

@media (max-width:992px) {
  .property-page-layout {
    flex-direction: column;
    gap: 30px
  }

  .property-side-col {
    width: 100%;
    position: static
  }
}

@media (max-width:768px) {

  .features-container,
  .property-gallery {
    grid-template-columns: 1fr 1fr
  }

  .property-header-section {
    margin-bottom: 30px
  }

  .property-title {
    font-size: 1.8rem;
    padding: 0 10px
  }

  .property-header-meta {
    flex-wrap: wrap;
    gap: 10px 20px
  }

  .property-gallery {
    grid-template-rows: auto;
    height: auto
  }

  .gallery-main {
    grid-column: 1/3;
    grid-row: auto;
    height: 350px
  }

  .gallery-side-item {
    grid-column: span 1 !important;
    grid-row: auto !important;
    height: 180px
  }

  .gallery-side-item:nth-child(5) {
    display: block;
    grid-column: 1/3 !important
  }
}

@media (max-width:480px) {
  .property-title {
    font-size: 1.5rem
  }

  .checklist p,
  .tab-btn {
    font-size: .9rem
  }

  .property-header-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px
  }

  .gallery-main {
    height: 250px
  }

  .gallery-side-item {
    grid-column: 1/3 !important;
    height: 200px
  }

  .property-tabs {
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color)
  }

  .tab-btn {
    padding: 10px 2px
  }

  .features-container {
    grid-template-columns: 1fr
  }

  .booking-widget {
    padding: 15px
  }

  .page-title.property-hero {
    padding: 100px 0 60px !important
  }

  .page-title.property-hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
    padding: 0 15px
  }

  .property-header-section {
    padding-top: 20px
  }
}

@media (max-width:380px) {
  .page-title.property-hero h1 {
    font-size: 2rem !important
  }

  .property-gallery {
    padding: 5px;
    grid-gap: 5px
  }

  .gallery-main {
    height: 200px
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s
}

.lightbox.active {
  display: flex;
  opacity: 1
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border: 5px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, .8);
  transform: scale(.8);
  transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
  object-fit: contain
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: #fff;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  transition: .3s;
  cursor: pointer
}

.lightbox.active .lightbox-content {
  transform: scale(1)
}

.lightbox-close {
  top: 25px;
  right: 35px;
  font-size: 50px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center
}

.lightbox-nav,
.offcanvas-header {
  align-items: center;
  display: flex
}

.lightbox-close:hover {
  color: #fff;
  transform: rotate(90deg)
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  z-index: 10000;
  justify-content: center;
  user-select: none
}

.offcanvas-backdrop,
.offcanvas-drawer {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%
}

.lightbox-prev {
  left: 30px
}

.lightbox-next {
  right: 30px
}

.property-gallery img {
  cursor: zoom-in
}

.offcanvas-backdrop {
  left: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease-in-out
}

.offcanvas-backdrop.active {
  opacity: 1;
  visibility: visible
}

.offcanvas-drawer {
  right: -100%;
  max-width: 550px;
  background: #fff;
  z-index: 10002;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
  transition: right .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column
}

.offcanvas-drawer.active {
  right: 0
}

.offcanvas-header {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  gap: 20px
}

.offcanvas-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700
}

.btn-close-offcanvas {
  background: 0 0;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s
}

.btn-close-offcanvas:hover {
  background: #f0f0f0
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px
}

.amenity-group {
  margin-bottom: 40px
}

.amenity-group h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333
}

.amenity-group ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.amenity-group ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #555;
  padding-bottom: 15px;
  border-bottom: 1px solid #f9f9f9
}

.amenity-group ul li i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
  color: #333
}

@media (max-width:576px) {
  .offcanvas-drawer {
    max-width: 100%
  }

  .offcanvas-body,
  .offcanvas-header {
    padding: 20px
  }
}
/* --- Breadcrumb Styling Fix --- */
.page-title.property-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 180px !important; /* Push below navbar */
    padding-bottom: 80px !important;
}

.checklist p {
    font-size: 16px;
    color: #fff;
}

.breadcrumb-home, .breadcrumb-attractions, .breadcrumb-current {
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb-home span {
    color: #FFD700; /* Gold/Yellow for Home */
}

/* Fix for overlapping navbar */
.navbar {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.1); /* Transparent like reference */
}
