/* Villas Page - Editorial Style */

.villas-hero-immersive {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../photos/Location-Villa-Luxe-Figari-Clos-Canarelli2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(50px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
}

.villas-hero-immersive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.villas-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.villas-hero-label {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: var(--spacing-md);
}

.villas-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  margin: 0 0 var(--spacing-lg) 0;
  letter-spacing: -0.02em;
}

.villas-hero-description {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  line-height: 1.7;
  color: #ffffff;
  max-width: 800px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.villas-intro-section {
  padding: clamp(6rem, 10vw, 12rem) var(--spacing-md);
  background: linear-gradient(to bottom, #fafaf8 0%, #ffffff 100%);
}

.villas-intro-container {
  max-width: 900px;
  margin: 0 auto;
}

.villas-intro-part {
  margin-bottom: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  position: relative;
}

.villas-intro-part:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15), transparent);
}

.villas-intro-part:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.villas-intro-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--color-ptext);
  line-height: 1.2;
  text-align: center;
  margin: 0 0 var(--spacing-md) 0;
  letter-spacing: -0.01em;
}

.villas-intro-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 var(--spacing-lg) 0;
}

.villas-intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 600;
  color: var(--color-ptext);
  line-height: 1.3;
  margin: 0 0 var(--spacing-md) 0;
  letter-spacing: -0.01em;
}

.villas-intro-experience {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--color-ptext);
  line-height: 1.3;
  text-align: center;
  margin: 0 0 var(--spacing-md) 0;
  letter-spacing: 0.05em;
}

.villas-intro-text {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.5rem, 1.8vw, 1.7rem);
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 1em 0;
}

.villas-intro-text:last-child {
  margin-bottom: 0;
}

.villas-intro-list {
  list-style: none;
  padding: 0;
  /* margin: var(--spacing-md) 0 var(--spacing-lg) 0; */
  margin: 1em 0 0 0;
  
}

.villas-intro-list li {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.5rem, 1.8vw, 1.7rem);
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
  padding-left: 2rem;
  position: relative;
}

.villas-intro-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.villas-intro-center {
  text-align: center;
}

.villa-editorial-section {
  margin-top: clamp(2rem, 10vw, 12rem);
  margin-bottom: clamp(6rem, 10vw, 12rem);
}

.villa-editorial-layout {
  position: relative;
}

.villa-editorial-image {
  position: relative;
  overflow: hidden;
}

.villa-editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.villa-editorial-layout:hover .villa-editorial-image img {
  transform: scale(1.05);
}

.villa-label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
  opacity: 0.8;
}

.villa-editorial-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 6vw, 6.5rem);
  font-weight: 600;
  color: var(--color-ptext);
  line-height: 1.1;
  margin: 0 0 var(--spacing-md) 0;
  letter-spacing: -0.01em;
}

.villa-editorial-text {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 var(--spacing-lg) 0;
  max-width: 600px;
}

.btn-editorial {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-ptext);
  text-decoration: none;
  padding: 0 0 0.5rem 0;
  border-bottom: 2px solid var(--color-ptext);
  transition: all var(--transition-base);
  letter-spacing: 0.05em;
}

.btn-editorial:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  transform: translateX(4px);
}

.villa-layout-full {
  position: relative;
  min-height: 85vh;
}

.villa-layout-full .villa-editorial-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.villa-layout-full .villa-editorial-image img {
  filter: brightness(0.75);
}

.villa-content-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 85vh;
  padding: var(--spacing-xl) var(--spacing-md);
  color: #fff;
}

.villa-content-overlay .villa-label {
  color: rgba(255, 255, 255, 0.9);
}

.villa-content-overlay .villa-editorial-title {
  color: #fff;
  font-size: clamp(5rem, 8vw, 9rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.villa-content-overlay .villa-editorial-text {
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
}

.villa-content-overlay .btn-editorial {
  color: #fff;
  border-bottom-color: #fff;
}

.villa-content-overlay .btn-editorial:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.villa-layout-split {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.villa-layout-split .villa-editorial-image {
  /* min-height: 60vh; */
}

.villa-layout-split .villa-editorial-content {
  padding: var(--spacing-xl) var(--spacing-md);
  /* background-color: #fff; */
}

.villas-experience {
  padding: clamp(8rem, 12vw, 14rem) 0;
  background: linear-gradient(135deg, #f8f8f6 0%, #fff 100%);
}

.container-fluid {
  max-width: 100%;
  padding: 0 var(--spacing-md);
}

.villas-experience-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.villas-experience-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 600;
  color: var(--color-ptext);
  line-height: 1.2;
  margin: 0 0 var(--spacing-lg) 0;
}

.villas-experience-text {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 var(--spacing-xl) 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.villas-experience-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .villas-hero-immersive {
    /* min-height: 85vh; */
    padding: calc(70px + var(--spacing-xl)) var(--spacing-lg) var(--spacing-xl);
  }

  .villas-intro-section {
    padding: clamp(8rem, 12vw, 14rem) var(--spacing-lg);
  }

  .villas-intro-container {
    max-width: 1000px;
  }

  .villa-layout-split {
    flex-direction: row;
    align-items: stretch;
  }

  .villa-layout-split .villa-editorial-image {
    flex: 1;
    min-height: 70vh;
  }

  .villa-layout-split .villa-editorial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
  }

  .villa-layout-reverse {
    flex-direction: row-reverse;
  }

  .villa-content-overlay {
    padding: var(--spacing-xl);
  }

  .villa-layout-split .villa-editorial-content {
    padding: clamp(4rem, 6vw, 8rem);
  }
}

@media (min-width: 1024px) {
  .villas-hero-immersive {
    padding: calc(70px + var(--spacing-xl)) var(--spacing-xl) var(--spacing-xl);
  }

  .villas-intro-section {
    padding: clamp(10rem, 14vw, 16rem) var(--spacing-xl);
  }

  .villas-intro-container {
    max-width: 1100px;
  }

  .villa-editorial-section {
    margin-bottom: clamp(8rem, 12vw, 15rem);
  }

  .villa-layout-split .villa-editorial-image {
    min-height: 75vh;
  }

  .villa-content-overlay {
    padding: clamp(6rem, 8vw, 10rem);
    justify-content: center;
  }

  .villa-layout-split .villa-editorial-content {
    padding: clamp(6rem, 8vw, 10rem);
  }

  .container-fluid {
    padding: 0 var(--spacing-xl);
  }
}

@media (min-width: 1280px) {
  .villa-layout-full .villa-editorial-image {
    width: 100%;
  }

  .villa-content-overlay {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(6rem, 10vw, 12rem);
    padding-right: clamp(6rem, 10vw, 12rem);
  }

  .villa-layout-split .villa-editorial-image {
    flex: 1.2;
  }

  .villa-layout-split .villa-editorial-content {
    flex: 0.8;
  }
}


.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-text);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
