/* Additional custom styles for Orlicz32 */

/* Hide Quarto default elements */
#quarto-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Hide navbar text title - show only logo */
.navbar-brand:not(.navbar-brand-logo) {
  display: none !important;
}

.navbar-title {
  display: none !important;
}

.navbar .navbar-brand-logo img.navbar-logo,
img.navbar-logo {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
}

.navbar-brand-container {
  margin-left: 0 !important;
  margin-right: auto !important;
}

#quarto-content {
  margin-top: 0;
}

/* Smooth scrolling offset for fixed header */
html {
  scroll-padding-top: 80px;
}

/* Art Deco decorative elements */
.art-deco-border {
  border: 1px solid #C9A961;
  padding: 2rem;
  position: relative;
}

.art-deco-border::before,
.art-deco-border::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #C9A961;
}

.art-deco-border::before {
  top: -5px;
  left: -5px;
  border-right: none;
  border-bottom: none;
}

.art-deco-border::after {
  bottom: -5px;
  right: -5px;
  border-left: none;
  border-top: none;
}

/* Ornamental dividers */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ornament .line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #C9A961, transparent);
}

.ornament .symbol {
  color: #C9A961;
  font-size: 1.5rem;
}

/* Check-in/out info styling */
.check-times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.check-time-card {
  text-align: center;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 169, 97, 0.3);
}

.check-time-card h4 {
  color: #C9A961;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.check-time-card .time {
  font-size: 1.5rem;
  color: #2D2926;
  font-family: Georgia, serif;
}

/* UNESCO badge styling */
.unesco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2D2926;
  color: #C9A961;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Guesty widget container styling */
#guesty-booking-widget {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

/* Override Guesty widget styles (placeholders - adjust as needed) */
.guesty-widget {
  font-family: Georgia, serif !important;
}

.guesty-widget button {
  background-color: #C9A961 !important;
  color: #2D2926 !important;
  border-radius: 0 !important;
}

.guesty-widget button:hover {
  background-color: #D4AF37 !important;
}

/* Review widget styling */
.review-widget-container {
  background-color: #FFFFFF;
  padding: 2rem;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

/* Responsive image container */
.img-container {
  position: relative;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Parallax effect for hero backgrounds */
@media (min-width: 769px) {
  .parallax-bg {
    background-attachment: fixed;
  }
}

/* Gallery preview */
.gallery-preview {
  text-align: center;
  margin-top: 2rem;
}

.gallery-main-img {
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 97, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 97, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid img.gallery-img {
    height: 150px;
  }
}

/* Gallery iframe */
.gallery-iframe-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #F5F2ED;
  border: 1px solid rgba(201, 169, 97, 0.3);
}

.gallery-iframe {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .gallery-iframe {
    height: 600px;
  }
}

/* Booking CTA Box */
.booking-cta-box {
  background-color: #FFFFFF;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.booking-cta-content {
  color: #2D2926;
}

.booking-cta-content .booking-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.booking-cta-content h3 {
  color: #2D2926;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.booking-cta-content p {
  color: #666666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-book-large {
  display: inline-block;
  background-color: #C9A961;
  color: #2D2926;
  padding: 1.25rem 3rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #C9A961;
  transition: all 0.3s ease;
}

.btn-book-large:hover {
  background-color: #2D2926;
  color: #C9A961;
  border-color: #C9A961;
}

/* Booking page iframe */
.booking-page-container {
  width: 100%;
  min-height: calc(100vh - 80px);
  background-color: #F5F2ED;
}

.booking-iframe {
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 800px;
  border: none;
  display: block;
}

/* Print styles */
@media print {
  .navbar,
  .booking-section,
  .scroll-indicator {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem;
  }
}
