/* Vine + Vista Property Page Styles */

/* Property Header */
.property-header {
  padding: 120px 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.property-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #3A5F45;
  margin-bottom: 0.5rem;
}

.property-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
}

/* Carousel */
.carousel-container {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(58, 95, 69, 0.2);
  cursor: pointer;
  background: #f6f0e7;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn,
.lightbox-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3A5F45;
  transition: all 0.3s ease;
  pointer-events: all;
  padding-bottom: 5px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.lightbox-btn {
  width: 60px;
  height: 60px;
  font-size: 2rem;
}

.carousel-btn:hover,
.lightbox-btn:hover {
  background: #B87333;
  color: white;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(58, 95, 69, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.indicator.active {
  background: #B87333;
  transform: scale(1.4);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #3A5F45;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2001;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lightbox-close:hover {
  background: #B87333;
  color: white;
  transform: scale(1.1);
}

.lightbox-controls {
  position: fixed;
  top: 50%;
  left: 2rem;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 2001;
  pointer-events: none;
}

.lightbox-controls .lightbox-btn {
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lightbox-counter {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  z-index: 2001;
}

/* Content Wrapper - Two Column Layout */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* Sticky Booking Sidebar */
.booking-sidebar {
  position: sticky;
  top: 100px;
}

.booking-sidebar-inner {
  border-radius: 20px;
  overflow: hidden;
}

.booking-widget iframe {
  display: block;
  width: 100%;
}

/* Content Sections */
.section-area {
  padding: 2rem 0;
}

.section-area-header {
  margin: 0 auto 2rem;
}

.section-area-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #3A5F45;
  margin-bottom: 1rem;
}

.section-content {
  margin: 0 auto;
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.section-content ul {
  margin-left: 2rem;
}

/* Amenities */
.amenity-category {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  margin: 4rem auto 2rem;
  box-shadow: 0 10px 30px rgba(58, 95, 69, 0.08);
}

.amenity-category h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #3A5F45;
  margin-bottom: 1.5rem;
}

.amenity-category h3 i {
  color: #B87333;
  margin-right: 0.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(58, 95, 69, 0.05);
}

.amenity-icon {
  font-size: 1.5rem;
  color: #B87333;
  min-width: 30px;
}

.amenity-item span {
  color: #3A5F45;
  font-size: 1rem;
}

/* House Rules & Safety - Shared Grid Styles */
.rules-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.rule-card,
.safety-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(58, 95, 69, 0.08);
}

.rule-card {
  line-height: 1.6;
}

.safety-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rule-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #3A5F45;
  margin-bottom: 1rem;
}

.rule-card h3 i {
  color: #B87333;
  margin-right: 0.5rem;
}

.rule-card p {
  color: #666;
  margin: 0.5rem 0;
}

.info-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #B87333;
}

.safety-icon {
  font-size: 2.5rem;
  color: #B87333;
  margin-bottom: 1rem;
}

.safety-item span {
  color: #3A5F45;
  font-weight: 500;
}

/* House Rules Background */
.house-rules {
  background: #f6f0e7;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 2rem 0 3rem;
}

.booking-disclaimer {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #B87333;
  box-shadow: 0 5px 20px rgba(58, 95, 69, 0.1);
}

.disclaimer-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.disclaimer-text strong {
  color: #3A5F45;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0;
  }

  .booking-sidebar {
    position: relative;
    top: 0;
    order: -1;
    width: 320px;
    margin: 0 auto;
  }

  .booking-widget iframe {
    height: 800px !important;
  }
}

@media (max-width: 768px) {
  .property-header h1 {
    font-size: 2.5rem;
  }

  .carousel-slide {
    height: 400px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-image {
    max-height: 70vh;
  }

  .lightbox-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .carousel-indicators {
    gap: 0.3rem;
    max-width: 600px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .rules-grid,
  .safety-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-category {
    padding: 1.5rem;
  }

  .booking-disclaimer {
    padding: 1.5rem;
  }

  .disclaimer-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .property-header {
    padding: 100px 1rem 1rem;
  }

  .carousel-container {
    padding: 0 1rem;
  }

  .carousel-slide {
    height: 300px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .lightbox-controls {
    left: 0.5rem;
    right: 0.5rem;
  }

  .lightbox-counter {
    bottom: 1rem;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .section-area {
    padding: 2rem 0;
  }

  .content-wrapper {
    padding: 1rem;
  }

  .booking-disclaimer {
    padding: 1rem;
  }

  .disclaimer-text {
    font-size: 0.85rem;
  }
}
