/* ==========================================================================
   Contact Page Styles - Guestopolis
   Visual source of truth: Reference Screenshots
   ========================================================================== */

/* Global Reset & Body Box Model */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION — CONTACT US
   -------------------------------------------------------------------------- */
.contact-hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #0b0f14;
  border: none;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.46);
  z-index: 1;
}

.contact-hero-content-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1030px;
  margin: 0 auto;
  padding-top: 195px;
  padding-bottom: 120px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.contact-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: normal;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 18px 0;
  letter-spacing: -0.4px;
}

.contact-hero-description {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
  max-width: 520px;
  opacity: 0.95;
}

/* ==========================================================================
   Bottom Layered Animated Waves Shape
   ========================================================================== */
.hero-bottom-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-waves-svg {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: -1px;
  min-height: 80px;
  max-height: 150px;
  display: block;
}

/* Multi-layered Wave Parallax Animation */
.wave-parallax > use {
  animation: moveWave 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  will-change: transform;
}

.wave-parallax > use.wave-1 {
  animation-delay: -2s;
  animation-duration: 7s;
}

.wave-parallax > use.wave-2 {
  animation-delay: -3s;
  animation-duration: 10s;
}

.wave-parallax > use.wave-3 {
  animation-delay: -4s;
  animation-duration: 13s;
}

.wave-parallax > use.wave-4 {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   2. WHITE CONTACT SECTION (2-COLUMN: RECEPTION INFO & FORM)
   -------------------------------------------------------------------------- */
.contact-main-section {
  background-color: #ffffff;
  width: 100%;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333333;
  box-sizing: border-box;
}

.contact-main-container {
  max-width: 1030px;
  margin: 0 auto;
  padding: 80px 20px 85px;
  box-sizing: border-box;
}

.contact-two-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: RECEPTION INFORMATION
   -------------------------------------------------------------------------- */
.contact-info-col {
  flex: 1;
  max-width: 480px;
  min-width: 0;
}

.contact-group-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  line-height: 1.4;
  letter-spacing: -0.1px;
}

.contact-info-block {
  margin-bottom: 28px;
}

.contact-branch-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.contact-branch-address {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.2px;
}

.contact-hours-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}

.contact-phone-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 4px 0;
}

.contact-phone-line a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-line a:hover {
  color: #135293;
}

.contact-email-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 8px 0 0 0;
  word-break: break-word;
}

.contact-email-line a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email-line a:hover {
  color: #135293;
}

/* Social Media Icons under Follow Us */
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: inherit;
}

.contact-social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.contact-social-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-social-telegram {
  color: #7b42bc;
}

.contact-social-tripadvisor {
  color: #00af87;
}

.contact-social-facebook {
  color: #1877f2;
}

.contact-social-twitter {
  color: #1da1f2;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-form-col {
  flex: 1;
  max-width: 480px;
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form-label {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 7px;
  line-height: 1.2;
}

.required-star {
  color: #e53e3e;
  font-weight: 700;
  margin-left: 2px;
}

.optional-text {
  font-size: 12px;
  font-weight: 400;
  color: #777777;
  margin-left: 4px;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  padding: 12px 14px;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  color: #333333;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-input {
  height: 46px;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.08);
}

.contact-form-input.is-invalid,
.contact-form-textarea.is-invalid {
  border-color: #e53e3e;
  background-color: #fffaf9;
}

.contact-form-input.is-invalid:focus,
.contact-form-textarea.is-invalid:focus {
  border-color: #e53e3e;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15);
}

/* Field Inline Error Message */
.contact-field-error {
  display: none;
  color: #dc2626;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 5px;
}

.contact-field-error.active {
  display: block;
}

/* Form Alert Box */
.contact-form-alert,
.contact-form-feedback {
  padding: 12px 16px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 0;
  margin-top: 10px;
}

.contact-form-alert.alert-success,
.contact-form-feedback.is-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-form-alert.alert-danger,
.contact-form-feedback.is-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 157px;
  height: 45px;
  background-color: #292929;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid #292929;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  margin-top: 4px;
}

.btn-contact-submit:hover,
.btn-contact-submit:focus {
  background-color: #404040;
  border-color: #404040;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. GOOGLE MAPS FULL-WIDTH EMBED SECTION
   -------------------------------------------------------------------------- */
.contact-map-section {
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-map-iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .contact-hero-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .contact-hero-content-wrapper {
    padding: 160px 25px 95px;
  }

  .hero-bottom-shape,
  .hero-waves-svg {
    height: 90px;
    min-height: 60px;
  }

  .contact-hero-title {
    font-size: 44px;
  }

  .contact-two-columns {
    gap: 35px;
  }

  .contact-branch-title {
    font-size: 21px;
  }

  .contact-branch-address,
  .contact-hours-value,
  .contact-phone-line,
  .contact-email-line {
    font-size: 16.5px;
  }

  .contact-map-iframe {
    height: 360px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .contact-hero-content-wrapper {
    padding: 135px 16px 75px;
  }

  .hero-bottom-shape,
  .hero-waves-svg {
    height: 65px;
    min-height: 45px;
  }

  .contact-hero-title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .contact-hero-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-main-container {
    padding: 45px 16px 55px;
  }

  .contact-two-columns {
    flex-direction: column;
    gap: 45px;
  }

  .contact-info-col,
  .contact-form-col {
    max-width: 100%;
    width: 100%;
  }

  .contact-branch-title {
    font-size: 20px;
  }

  .contact-branch-address,
  .contact-hours-value,
  .contact-phone-line,
  .contact-email-line {
    font-size: 16px;
  }

  .btn-contact-submit {
    width: 100%;
    max-width: 180px;
  }

  .contact-map-iframe {
    height: 300px;
  }
}
