@import url("variables.css");

/* HEADER */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  max-width: 1440px;
  margin: auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu {
  display: none;
  list-style: none;
  gap: 20px;
}

.header__menu a.active {
  color: var(--green);
  font-weight: bold;
}

.header__burger {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MENÚ HAMBURGUESA */
.menu--open {
  display: flex !important;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 80px;
  right: 0;
  width: 200px;
  padding: 20px;
  box-shadow: var(--shadow-medium);
}

.burger--active {
  transform: rotate(90deg);
  transition: var(--transition);
}

/* HERO */
.hero {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 125, 50, 0.6);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.hero__title--gold {
  color: #d4af37; /* Dorado elegante */
}


/* BOTONES */
.btn {
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-button);
  font-weight: 600;
  display: inline-block;
  margin: 10px;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: #c19a2f;
}

.btn--secondary {
  background: var(--green);
  color: var(--white);
}

.btn--secondary:hover {
  background: #388e3c;
}

/* WELCOME */
.welcome__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.welcome__image {
  display: block;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* FEATURES */
.features__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature__icon {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 16px;
}

/* SERVICES */
.services__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

/* GALLERY */
.gallery__carousel {
  overflow-x: scroll;
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  cursor: grab;
  scroll-snap-type: x mandatory;
}

.gallery__carousel img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  scroll-snap-align: center;
}

.gallery__carousel.active {
  cursor: grabbing;
}

/* TESTIMONIOS */
.testimonials__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial {
  background: var(--light-green);
  padding: 32px;
  border-radius: 8px;
}

/* CTA */
.cta {
  text-align: center;
  background: var(--gold);
  color: var(--white);
  padding: 80px 20px;
}

/* FOOTER */
.footer {
  background: var(--wood);
  color: var(--white);
  padding: 40px 20px;
}

.footer__copy {
  text-align: center;
  margin-top: 20px;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  cursor: pointer;
}

/* FORMULARIO VERTICAL */
.contact__form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form label {
  font-weight: 600;
  color: var(--green);
}

.contact__form input,
.contact__form textarea {
  padding: 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(46,125,50,0.2);
}

.contact__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__form button {
  width: 180px;
  align-self: flex-start;
}

/* LOGO */
.header__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -10px; /* súbelo 10px, ajusta según necesites */
}

.logo-img {
  width: 180px; /* tamaño exacto del logo */
  height: auto;
  object-fit: contain;
  margin-left: 10px;
  transform: translateY(-10px);
}

.header__logo img { 
  vertical-align: middle; 
}
