/* # ============================================================
# File Name    : contact.css
# Created On   : 19-12-2025
# Last Update  : 29-12-2025
# Project      : Website Contact Page
# Customized By: Sharissa Marian Hurtis
# Description  : Contact page styling including form layouts,
#                input fields, validation states, contact info
#                blocks, and embedded map sections.
# Usage        : Loaded ONLY on contact page
# ============================================================ */



/*--------------------------------------------------------------
# Contact Page Spacing
--------------------------------------------------------------*/
.contact-page .contact.section {
  margin-bottom: 150px;
  padding-bottom: 50px;
}

.contact-page .footer {
  padding-top: 50px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-info-section {
  position: relative;
  padding: 100px 0 70px;
  color: #ffffff;
  background: #000000;
  min-height: auto;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.contact-box {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-box:nth-child(4n) {
  border-right: none;
}

.contact-box:nth-child(n+5) {
  border-bottom: none;
}

.contact-box:hover {
  border: 2px solid #d1ae2e !important;
  box-shadow: 0 0 25px rgba(254, 254, 254, 0.4);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
  z-index: 10;
}

.contact-box:hover+.contact-box {
  border-left: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.contact-icon i {
  font-size: 20px;
  color: #d1ae2e;
  transition: all 0.4s ease;
}

.contact-box:hover .contact-icon {
  transform: scale(1.1);
}

.contact-box:hover .contact-icon i {
  color: #fff;
}

.contact-box h4 {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
  transition: color 0.4s ease;
}

.contact-box h4::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 30px;
  height: 1px;
  background: #f7faf9;
  transition: width 0.4s ease, background 0.4s ease;
}

.contact-box:hover h4 {
  color: #f5fcf9;
}

.contact-box:hover h4::after {
  width: 50px;
  background: #fff;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-details p {
  font-size: 14px;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
  font-weight: 300;
  transition: color 0.4s ease;
}

.contact-box:hover .contact-details p {
  color: #ddd;
}

.contact-image-section {
  position: relative;
  width: 100%;
  min-height: 300px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../img/gallery/AboutBG.jpeg') center center / cover no-repeat;
  z-index: 1;
}

.contact-image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
  color: #fff;
}

.contact-image-title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
  text-transform: none;
}

.contact-image-title br {
  display: block;
  margin-bottom: 5px;
}

.contact-image-text {
  font-size: 16px;
  color: #ddd;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.contact-image-divider {
  width: 60px;
  height: 1px;
  background: #d1ae2e;
  margin: 20px auto;
}

.contact-image-cta {
  margin-top: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 2px solid #d1ae2e;
}

.cta-subtitle {
  font-size: 12px;
  color: #d1ae2e;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-subtitle:before {
  content: '';
  width: 30px;
  height: 1px;
  background: #d1ae2e;
}

.cta-description {
  font-size: 18px;
  color: #fff;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 25px 0;
  font-family: 'Georgia', serif;
}

.cta-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 22px;
  color: #d1ae2e;
  font-weight: 400;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Responsive Design - Contact Page
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .contact-info-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-box {
    padding: 25px 15px;
  }
  .contact-box:nth-child(2n) {
    border-right: none;
  }
  .contact-box:nth-child(n+3) {
    border-bottom: none;
  }
  .contact-box:nth-child(4n),
  .contact-box:nth-child(n+5) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .contact-image-section {
    min-height: 250px;
    margin-top: 15px;
  }
  .contact-image-title {
    font-size: 28px;
  }
  .contact-image-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .contact-info-section {
    padding: 40px 0 20px;
  }
  .contact-info-row {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }
  .contact-box {
    padding: 20px 15px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .contact-box:last-child {
    border-bottom: none !important;
  }
  .contact-box:nth-child(2n),
  .contact-box:nth-child(4n),
  .contact-box:nth-child(n+3),
  .contact-box:nth-child(n+5) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .contact-image-section {
    min-height: 200px;
    margin-top: 10px;
  }
  .contact-image-content {
    padding: 30px 15px;
  }
  .contact-image-title {
    font-size: 24px;
  }
  .contact-image-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact-info-section {
    padding: 30px 0 15px;
  }
  .contact-box {
    padding: 18px 12px;
  }
  .contact-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 12px;
  }
  .contact-icon i {
    font-size: 18px;
  }
  .contact-box h4 {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .contact-details {
    gap: 6px;
  }
  .contact-details p {
    font-size: 13px;
  }
  .contact-image-section {
    min-height: 180px;
    margin-top: 5px;
  }
  .contact-image-title {
    font-size: 20px;
  }
  .contact-image-text {
    font-size: 13px;
  }
}