.hero-section {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.description {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}


.description p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.video-section {
    margin: 60px auto;
    max-width: 960px;
    padding: 0 20px;
}
.video-section iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.villa-list {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.villa-title {
    font-size: 2rem;
    color: var(--color-primary);
    font-family: var(--font-title);
    margin-bottom: 5px;
}

.villa-subtitle {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.villa-card {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s;
}

.villa-card:hover {
    transform: translateY(-5px);
    background-color: #002b80;
}

.villa-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-decoration: underline;
}

.villa-card p {
    font-size: 0.9rem;
    line-height: 1.4;
}
.villa-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.villa-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.villa-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px;
}

.villa-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.villa-description {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.villa-description h2 {
  text-align: center;
  color: var(--blue-main);
  margin-bottom: 20px;
}

.villa-prices {
  margin-top: 30px;
}

.price-row {
  background: #f4f4f4;
  margin-bottom: 10px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  border-radius: 6px;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  cursor: zoom-out;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* --- Galería Responsive --- */
.villa-gallery {
    display: grid;
    gap: 10px;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.villa-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.villa-gallery img:hover {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .villa-gallery {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .villa-gallery img {
        height: 140px;
    }
}
/* --- Estilos de Precios Individual Villa --- */
.villa-prices {
    margin-top: 30px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.price-line {
    background: #f7faff;
    border-left: 4px solid var(--blue-main);
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 1rem;
    border-radius: 8px;
}

.price-line strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 6px;
}

.price-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--blue-main);
}
