/* style/contact-style.css */

.bg-contact-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, #101a25 0%, #080a0c 100%);
  z-index: -1;
}

.contact-wrapper {
  padding: 180px 8% 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
}

.tag {
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.company-brand h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary); /* Fallback */
}

.company-brand p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.1rem;
}

.contact-details {
  margin-top: 50px;
}

.contact-details .item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-details .item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-right: 25px;
  width: 30px;
  text-align: center;
}

.contact-details h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: var(--text-main);
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* --- Form Style (BAGIAN YANG DIPERBAIKI) --- */
.form-container {
  background: rgba(255, 255, 255, 0.03);
  padding: 45px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* Base Input & Select */
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px;
  background: #0c1014;
  border: 1px solid #222;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.3s ease;
  display: block;
}

/* Khusus Perbaikan Select agar tidak Error Visual */
.field select {
  cursor: pointer;

  /* Urutan prefix yang benar untuk menghilangkan peringatan editor */
  -webkit-appearance: none; /* Untuk Safari & Chrome lama */
  -moz-appearance: none; /* Untuk Firefox lama */
  appearance: none; /* Versi standar (taruh paling bawah) */

  /* Menambahkan Icon Panah Kustom Biru */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 45px;
}

/* Focus State untuk semua input */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: #111;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.field select option {
  background: #080a0c;
  color: #fff;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .company-brand {
    text-align: center;
  }
  .contact-details .item {
    justify-content: center;
  }
  .contact-wrapper {
    padding-top: 140px;
  }
}
