:root {
  --verde: #557c55;
  --dorado: #a68b6b;
  --bg: #f9f9f9;
  --font: 'Open Sans', sans-serif;
  --title: 'Playfair Display', serif;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  color: #333;
  line-height: 1.6;
}

.logo {
  max-width: 150px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.hero {
  background: url('img7.jpg') center/cover no-repeat;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  position: relative;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-family: var(--title);
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: var(--dorado);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.section {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1rem;
}

.section h2 {
  text-align: center;
  color: var(--verde);
  font-family: var(--title);
}

.section img {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

.bg-light {
  background-color: #f3f3f3;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.galeria img {
  width: calc(33% - 1rem);
  border-radius: 8px;
  object-fit: cover;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

textarea {
  resize: vertical;
  height: 120px;
}

button {
  background-color: var(--verde);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.whatsapp {
  margin-top: 1rem;
  display: inline-block;
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #eee;
}

@media (max-width: 768px) {
  .galeria img {
    width: 100%;
  }
}

.swiper {
    width: 100% !important;
    max-width: 1000px !important;
    margin: auto !important;
    padding-bottom: 40px !important;
}

.swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

    .swiper-slide img {
        width: 100% !important;
        border-radius: 8px !important;
        object-fit: cover !important;
    }

.swiper-button-next,
.swiper-button-prev {
    color: #a68b6b !important; /* verde elegante */
}

.swiper-pagination-bullet-active {
    background: #a68b6b!important; /* dorado */
}

.swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 300px !important; /* Fija la altura */
    overflow: hidden !important;
    border-radius: 8px !important;
}

    .swiper-slide img {
        height: 100% !important; /* imagen se ajusta a la altura del slide */
        width: 100% !important; /* ocupa todo el ancho */
        object-fit: cover !important; /* mantiene proporción recortando */
        border-radius: 8px !important;
    }


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.3s;
}

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
    }

    .lightbox .close {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
    }

.hidden {
    display: none;
}