/*Contact Banner*/

.contact-banner {
  width: 100%;
  height: 80vh;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("/images/discover-conservation.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.contact-banner-inner {
  width: 100%;
  max-width: 1600px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.contact-banner-inner span {
  color: #fff;
  font-family: Jost;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.345rem;
  text-transform: uppercase;
}

.contact-banner-inner h1 {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 7.3125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 7.375rem;
}

.contact-banner p {
  color: #fff;
  font-family: Jost;
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.15438rem;
}

/*Contact Form Section*/

.contact-form-section {
  background: #f0eeea;
  padding: 6rem 3rem;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
}

.contact-form-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/*Left Column - Contact Info*/

.contact-info span {
  color: var(--accent-color);
  font-family: Jost;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.345rem;
  text-transform: uppercase;
}

.contact-info h2 {
  color: var(--text-color);
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-style: italic;
  font-weight: 400;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
}

.contact-info h2 em {
  font-style: italic;
}

.contact-info p {
  color: var(--text-color);
  font-family: Jost;
  font-size: 1.063rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.15438rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-detail .icon-wrap {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .detail-label {
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--accent-color);
  display: block;
  font-family: "Jost", sans-serif;
}

.contact-detail .detail-value {
  font-size: 1.063rem;
  font-weight: 300;
  font-family: "Jost", sans-serif;
  color: var(--text-color);
  line-height: 1.65;
  margin: 0;
}

.contact-cta-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: var(--accent-color);
  color: #f0ede6;
  border: none;
  padding: 0.8rem 1.6rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: #574a30;
}

.btn-book {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 0.8rem 1.6rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 400;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-book:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/*Right Column - Form*/

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.875rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--form-text-color);
  font-weight: 400;
  font-family: "Jost", sans-serif;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--form-text-color);
  padding: 1rem;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-color);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--form-text-color);
  font-weight: 400;
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border: 1px solid var(--text-color);
}

.form-field select {
  padding-right: 1.8rem;
  cursor: pointer;
  color: var(--form-text-color);
}

.form-field select.selected,
.form-field select:not([value=""]) {
  color: #2b2416;
}

.form-field select option {
  color: var(--text-color);
  background: #f0ede6;
}

.form-field textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.6;
}

.btn-submit {
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 1.1rem 2rem;
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.26rem;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  font-weight: 400;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: #574a30;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit:disabled:hover {
  background: var(--accent-color);
}

/* Two-column row (arrival + guests) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-feedback {
  padding: 1rem 1.25rem;
  font-family: "Jost", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.04rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 0.25rem;
}

.form-feedback.success {
  background: rgba(118, 96, 65, 0.08);
  color: var(--accent-color);
  border: 1px solid rgba(118, 96, 65, 0.25);
}

.form-feedback.error {
  background: rgba(180, 60, 60, 0.06);
  color: #7a1f1f;
  border: 1px solid rgba(180, 60, 60, 0.2);
}

.faq-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 2rem;
}

.faq-container {
  width: 100%;
  text-align: center;
}

.faq-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-container span {
  color: var(--accent-color);
  text-align: center;
  font-family: Jost;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.345rem;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.faq-container h2 {
  color: var(--text-color);
  text-align: center;
  font-family: "Cormorant Garamond";
  font-size: 3.6875rem;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.faq-resource-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--accent-background-color);
  padding: 2.5rem 3rem;
  width: 100%;
  gap: 1rem;
  background: #f0eeea;
  box-sizing: border-box;
}

.faq-resource-box span {
  color: var(--accent-color);
  font-family: Jost;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.345rem;
  text-transform: uppercase;
}

.faq-resource-box p {
  color: var(--text-color);
  font-family: Jost;
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.15438rem;
}

.btn-download {
  display: inline-block;
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 0.75rem 1.8rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  margin-top: 0.5rem;
}

.btn-download:hover {
  background: var(--accent-color);
  color: #f0ede6;
  border-color: var(--accent-color);
}

/*FAQ Accordion*/

.faq-accordion {
  width: 100%;
  margin-top: 5rem;
}

.faq-item {
  border-bottom: 1px solid var(--text-color);
  padding: 0.5rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 1.4rem 0;
  cursor: pointer;
  text-align: left;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-color);
  letter-spacing: 0.02rem;
  transition: color 0.2s ease;
}

.faq-question span {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.813rem;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: invert(1);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
}

.faq-answer-inner p {
  color: var(--text-color);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.813rem;
}

.faq-answer-inner ul {
  padding-left: 1.2rem;
  margin: 0;
}

.faq-answer-inner ul li {
  color: var(--text-color);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  list-style: disc;
}

/*Infinite Gallery Carousel*/

.gallery-carousel-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 5rem;
  margin-bottom: 5rem;
  overflow: hidden;
}

.gallery-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  cursor: pointer;
}

.gallery-slide {
  width: 427px;
  height: 427px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.gallery-slide:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-slide:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border: none;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 10000;
}

.lightbox-close img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 10000;
}

.lightbox-prev img,
.lightbox-next img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .contact-banner {
    padding: 0 2rem;
  }

  .contact-banner h1 {
    font-size: 5rem;
    line-height: 5.5rem;
  }

  .contact-form-section {
    padding: 4rem 2rem;
  }

  .faq-section {
    padding: 4rem 2rem;
  }

  .faq-container h2 {
    font-size: 3rem;
  }

  .faq-resource-box {
    padding: 2.5rem 2rem;
  }

  .gallery-slide {
    width: 340px;
    height: 340px;
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .contact-form-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Tablet small */
@media (max-width: 768px) {
  .contact-banner {
    height: auto;
    min-height: 70vh;
    padding: 4rem 1.5rem;
    gap: 1.25rem;
  }

  .contact-banner h1 {
    font-size: 3.5rem;
    line-height: 4rem;
  }

  .contact-banner p {
    font-size: 1rem;
  }

  .contact-form-section {
    padding: 3rem 1.5rem;
  }

  .contact-info h2 {
    font-size: 2.4rem;
  }

  .faq-section {
    padding: 3.5rem 1.5rem;
  }

  .faq-container h2 {
    font-size: 2.4rem;
  }

  .faq-container span {
    font-size: 0.7rem;
  }

  .faq-resource-box {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .faq-resource-box p {
    font-size: 1rem;
  }

  .faq-question span {
    font-size: 1.05rem;
    line-height: 1.5rem;
  }

  .faq-answer-inner p {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .faq-answer-inner ul li {
    font-size: 0.9rem;
  }

  .gallery-carousel-section {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .gallery-slide {
    width: 260px;
    height: 260px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-accordion {
    width: 100%;
    margin-top: 0;
  }

  .contact-banner {
    padding: 3rem 1rem;
    gap: 1rem;
  }

  .contact-banner h1 {
    font-size: 2.5rem;
    line-height: 2.8rem;
  }

  .contact-banner p {
    font-size: 0.9rem;
  }

  .contact-form-section {
    padding: 2.5rem 1rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-cta-row {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-book {
    justify-content: center;
    text-align: center;
  }

  .faq-section {
    padding: 3rem 1.25rem;
  }

  .faq-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .faq-resource-box {
    padding: 1.75rem 1.25rem;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .faq-resource-box p {
    font-size: 0.9rem;
    letter-spacing: 0.08rem;
  }

  .btn-download {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .faq-item {
    padding: 0.25rem 0;
  }

  .faq-question {
    padding: 1.1rem 0;
  }

  .faq-question span {
    font-size: 0.95rem;
    line-height: 1.4rem;
  }

  .faq-icon {
    width: 22px;
    height: 22px;
  }

  .faq-answer-inner p {
    font-size: 0.9rem;
    line-height: 1.5rem;
  }

  .gallery-carousel-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .gallery-slide {
    width: 200px;
    height: 200px;
  }

  .lightbox-prev {
    left: 0.4rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-next {
    right: 0.4rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
  }

  .lightbox-close img {
    width: 13px;
    height: 13px;
  }
}

/* Small mobile */
@media (max-width: 360px) {
  .contact-banner h1 {
    font-size: 2.1rem;
    line-height: 2.4rem;
  }

  .contact-info h2 {
    font-size: 1.75rem;
  }

  .faq-container h2 {
    font-size: 1.75rem;
  }

  .faq-question span {
    font-size: 0.875rem;
  }

  .gallery-slide {
    width: 170px;
    height: 170px;
  }
}
