/* ══════════════════════════════════════════════════
   PURA VIDA CASAS — villa-details.css
   ══════════════════════════════════════════════════ */

:root {
  --teal: #1a5e63;
  --brown: #4a3b2a;
  --cream: #f4f1ea;
  --text-dark: #2d2d2d;
  --text-mid: #666;
  --white: #ffffff;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* --- Hero Section --- */
.villa-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  margin-top: 65px;
}

.villa-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.villa-hero-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  color: white;
  z-index: 2;
}

.villa-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --- Content Wrapper --- */
.villa-main-wrap {
  padding: 80px 0;
  background: white;
}

/* --- Quick Specs Bar --- */
.villa-specs-bar {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.c2-amenities {
  padding: 90px 8%;
  background: var(--cream);
}

.c2-amenities__header {
  text-align: center;
  margin-bottom: 60px;
}

.serif {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
}

.c2-amenities__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
}

.c2-amenities__col {
  background: var(--white);
  padding: 44px 48px;
}

.c2-amenities__col li {
  font-size: 13.5px;
  line-height: 1.7;
  color: black;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid var(--cream);

  align-items: flex-start;

}

.c2-amenities__desc {
  padding: 30px;
}

.c2-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 52px;
  background: var(--gold);
  color: var(--brown);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.c2-cta__btn:hover {
  background: #fff;
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.c2-bedroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  min-height: 420px;
  margin-bottom: 31px;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.c2-bedroom__content {
  background: var(--off-white);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c2-bedroom__title em {
  font-style: italic;
  color: var(--teal);
}

.c2-bedroom__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}

.c2-bedroom__divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 22px;
}

.c2-more {
  padding: 90px 8%;
  background: var(--off-white);
  text-align: center;
}

.c2-bedroom__desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 28px;
}

.c2-bedroom__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c2-bedroom__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-mid);
  font-weight: 300;
}

.c2-bedroom__feature::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.c2-bedroom__gallery {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  display: flex;
  flex-direction: column;
}

.c2-bedroom__main-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.c2-amenities__col li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  text-transform: uppercase;
}

.vs-item i {
  font-size: 1.2rem;
}

/* --- Gallery Grid --- */
.villa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.vg-item {
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vg-item:hover img {
  transform: scale(1.05);
}

.vg-item.wide {
  grid-column: span 2;
  height: 500px;
}

/* --- Amenities Section --- */
.amenities-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--brown);
  margin-bottom: 30px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--cream);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.amenity-item i {
  color: var(--teal);
  font-size: 1.3rem;
}

/* --- Booking Card Sidebar --- */
.booking-card-wrap {
  position: sticky;
  top: 100px;
}

.booking-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.bc-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.bc-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
}

.bc-btn {
  background: var(--teal);
  color: white;
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.bc-btn:hover {
  background: var(--brown);
  color: white;
}

.bc-contact {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-mid);
}



.c2-more-card img {
  position: absolute;

  width: 50%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.6s, filter 0.4s;
}

.c2-more-card__content {
  position: relative;
  z-index: 2;
  padding: 36px;
  width: 100%;
  background: #ffffff38;
}


.c2-more__gallery-wrap {
  max-width: 800px;
  margin: 30px auto 0;
}

.c2-more__main-slide {
  height: 450px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.c2-more__main-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.c2-more__thumb-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.c2-more__thumb-row img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.c2-more__thumb-row img:hover,
.c2-more__thumb-row img.active {
  opacity: 1;
  border-color: var(--teal);
  transform: translateY(-3px);
}

.c2-more__grid {
  display: none; /* Removed in favor of gallery */
}

.bc-contact a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .villa-hero {
    height: 40vh;
  }

  .villa-gallery-grid {
    grid-template-columns: 1fr;
  }

  .vg-item.wide {
    grid-column: span 1;
  }

  .booking-card-wrap {
    margin-top: 50px;
  }
}