/* =========================================================
   Contact Page
   File: css/contact.css
   ========================================================= */

.contact-page {
  background: #fffdf8;
}

/* =========================================================
   Hero
   ========================================================= */

.contact-hero-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #021d13;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/contact-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 29, 19, 0.14) 0%,
      rgba(2, 29, 19, 0.48) 44%,
      rgba(2, 29, 19, 0.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 29, 19, 0.18),
      rgba(2, 29, 19, 0.42)
    );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  min-height: 500px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  padding: 70px 0;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.contact-breadcrumb a {
  color: #ead28a;
  font-weight: 700;
}

.contact-breadcrumb strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.contact-label,
.contact-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d5ad58;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-label::before,
.contact-label::after,
.contact-section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #d5ad58;
}

.contact-hero-content h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -1px;
}

.contact-hero-content p {
  margin: 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 2.1;
}

.contact-hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-btn-primary,
.contact-btn-outline {
  min-width: 188px;
  height: 54px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  transition: 0.25s ease;
}

.contact-btn-primary {
  background: linear-gradient(135deg, #e4c16c, #b98935);
  color: #021d13;
}

.contact-btn-outline {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.contact-btn-primary:hover,
.contact-btn-outline:hover {
  transform: translateY(-3px);
}

/* =========================================================
   Contact Cards
   ========================================================= */

.contact-cards-section {
  background: #fffdf8;
  padding: 44px 0 18px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-info-card {
  min-height: 210px;
  border: 1px solid #e9dfc9;
  border-radius: 15px;
  background: #ffffff;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.035);
  transition: 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(4, 53, 35, 0.13);
}

.contact-info-card i {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff7e4;
  color: #9c762e;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.contact-info-card h2 {
  margin: 0 0 8px;
  color: #063522;
  font-size: 20px;
  font-weight: 900;
}

.contact-info-card p {
  margin: 0 0 12px;
  color: #626a63;
  font-size: 14px;
  line-height: 2;
}

.contact-info-card a,
.contact-info-card span {
  color: #07452e;
  font-size: 15px;
  font-weight: 900;
}

/* =========================================================
   Main Contact
   ========================================================= */

.contact-main-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 173, 88, 0.08), transparent 430px),
    #fffdf8;
  padding: 52px 0 66px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
  gap: 42px;
}

.contact-form-box,
.contact-side-box {
  border: 1px solid #e9dfc9;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
  overflow: hidden;
}

.contact-form-box {
  padding: 34px 34px 38px;
}

.contact-form-box h2 {
  margin: 0 0 12px;
  color: #063522;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.5;
}

.contact-form-box p {
  margin: 0 0 26px;
  color: #626a63;
  font-size: 15px;
  line-height: 2;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: #063522;
  font-size: 14px;
  font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e0d5be;
  border-radius: 10px;
  background: #fffdf8;
  color: #273027;
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
  transition: 0.2s ease;
}

.form-group input,
.form-group select {
  height: 50px;
}

.form-group textarea {
  resize: vertical;
  min-height: 145px;
  line-height: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #d5ad58;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(213, 173, 88, 0.12);
}

.form-error {
  display: none;
  color: #b3261e;
  font-size: 12px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #b3261e;
}

.contact-submit-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 10px;
  background: #07452e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  transition: 0.25s ease;
}

.contact-submit-btn:hover {
  background: #d5ad58;
  color: #021d13;
  transform: translateY(-2px);
}

.contact-form-alert {
  display: none;
  border: 1px solid rgba(7, 69, 46, 0.18);
  border-radius: 10px;
  background: rgba(7, 69, 46, 0.07);
  color: #063522;
  padding: 14px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
}

.contact-form-alert.show {
  display: block;
}

.contact-side-image {
  height: 330px;
  overflow: hidden;
}

.contact-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-side-info {
  padding: 28px 26px 30px;
}

.contact-side-info h3 {
  margin: 0 0 10px;
  color: #063522;
  font-size: 24px;
  font-weight: 900;
}

.contact-side-info p {
  margin: 0 0 18px;
  color: #626a63;
  font-size: 15px;
  line-height: 2;
}

.contact-side-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-side-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #505950;
  font-size: 14px;
  line-height: 1.9;
}

.contact-side-info i {
  color: #9c762e;
  font-size: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.contact-side-info strong {
  color: #063522;
}

/* =========================================================
   Locations
   ========================================================= */

.contact-locations-section {
  background: #fffdf8;
  padding: 0 0 62px;
}

.contact-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.contact-section-head .contact-section-label {
  justify-content: center;
}

.contact-section-head h2 {
  margin: 0;
  color: #063522;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.45;
}

.contact-section-head p {
  margin: 10px 0 0;
  color: #626b62;
  font-size: 16px;
  line-height: 2;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-location-card {
  border: 1px solid #e9dfc9;
  border-radius: 16px;
  background: #ffffff;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.035);
}

.location-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff7e4;
  color: #9c762e;
  display: grid;
  place-items: center;
  font-size: 34px;
  flex: 0 0 auto;
}

.location-content h3 {
  margin: 0 0 8px;
  color: #063522;
  font-size: 22px;
  font-weight: 900;
}

.location-content p {
  margin: 0 0 18px;
  color: #626a63;
  font-size: 15px;
  line-height: 2;
}

.location-actions a {
  height: 42px;
  border-radius: 999px;
  background: #07452e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.location-actions a:hover {
  background: #d5ad58;
  color: #021d13;
}

/* =========================================================
   Map
   ========================================================= */

.contact-map-section {
  background: #fffdf8;
  padding: 0 0 66px;
}

.contact-map-box {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e9dfc9;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.contact-map-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/contact-map-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact-map-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 248, 0.95) 0%,
      rgba(255, 253, 248, 0.85) 46%,
      rgba(255, 253, 248, 0.18) 100%
    );
}

.contact-map-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 48px;
}

.contact-map-content h2 {
  margin: 0 0 12px;
  color: #063522;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.55;
}

.contact-map-content p {
  margin: 0;
  color: #626a63;
  font-size: 15px;
  line-height: 2.1;
}

.contact-map-actions {
  margin-top: 24px;
}

.contact-map-actions a {
  height: 48px;
  border-radius: 999px;
  background: #07452e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 900;
  transition: 0.25s ease;
}

.contact-map-actions a:hover {
  background: #d5ad58;
  color: #021d13;
}

/* =========================================================
   Visual
   ========================================================= */

.contact-visual-section {
  background: #fffdf8;
  padding: 0 0 68px;
}

.contact-visual-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.contact-visual-image {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e9dfc9;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.contact-visual-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.contact-visual-text h2 {
  margin: 0 0 14px;
  color: #063522;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.55;
}

.contact-visual-text p {
  margin: 0;
  color: #5c665f;
  font-size: 16px;
  line-height: 2.1;
}

.contact-visual-btn {
  margin-top: 24px;
  height: 48px;
  border-radius: 999px;
  background: #07452e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 900;
  transition: 0.25s ease;
}

.contact-visual-btn:hover {
  background: #d5ad58;
  color: #021d13;
}

.contact-bottom-cta {
  background: #fffdf8;
  padding: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1199px) {
  .contact-hero-content {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
  }

  .contact-breadcrumb,
  .contact-label,
  .contact-hero-actions {
    justify-content: center;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid,
  .contact-visual-grid {
    grid-template-columns: 1fr;
  }

  .contact-location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-hero-section,
  .contact-hero-content {
    min-height: 470px;
  }

  .contact-hero-content {
    padding: 48px 0;
  }

  .contact-hero-content h1 {
    font-size: 31px;
    line-height: 1.65;
  }

  .contact-hero-content p {
    font-size: 15px;
    line-height: 2;
  }

  .contact-hero-actions {
    flex-direction: column;
  }

  .contact-btn-primary,
  .contact-btn-outline {
    width: 100%;
  }

  .contact-cards-section {
    padding: 34px 0 8px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-main-section {
    padding: 38px 0 46px;
  }

  .contact-form-box {
    padding: 26px 18px 30px;
    border-radius: 14px;
  }

  .contact-form-box h2,
  .contact-section-head h2,
  .contact-map-content h2,
  .contact-visual-text h2 {
    font-size: 27px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-side-image {
    height: 245px;
  }

  .contact-locations-section,
  .contact-map-section,
  .contact-visual-section {
    padding-bottom: 44px;
  }

  .contact-location-card {
    flex-direction: column;
    padding: 24px 20px;
  }

  .contact-map-box {
    min-height: 410px;
  }

  .contact-map-box::after {
    background: rgba(255, 253, 248, 0.88);
  }

  .contact-map-content {
    padding: 32px 20px;
  }

  .contact-visual-image img {
    height: 240px;
  }
}