/**
 * Contact Section Styles
 * @package Karden_Avenir
 * @version 1.0.0
 */

/*  CONTACT SECTION  */
#contact {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0b1c3d 0%, #061226 55%, #00000d 100%);
  color: #ffffff;
}

#contact::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(41, 199, 218, 0.08), transparent 65%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

#contact .container {
  position: relative;
  z-index: 1;
}

#contact .two-cols {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

/*  CONTACT INFO  */
.contact-info h2 {
  font-family: "Good Times", sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.1;
  color: var(--cyan);
  margin-bottom: clamp(14px, 2.2vw, 22px);
}

.contact-info p {
  font-size: clamp(12px, 1.6vw, 14px);
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 10px;
}

.contact-info strong {
  color: var(--cyan);
}

/*  CONTACT FORM  */
.contact-form {
  width: 100%;
  max-width: 420px;
  padding: clamp(20px, 3vw, 34px) clamp(18px, 2.5vw, 30px);
  background: linear-gradient(180deg, #0b1c3d 0%, #08142b 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(41, 199, 218, 0.08);
}

/*  FORM FIELD  */
.contact-form .field {
  position: relative;
  margin-bottom: clamp(12px, 1.8vw, 16px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: clamp(10px, 1.5vw, 14px) clamp(14px, 1.8vw, 18px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(11px, 1.6vw, 13px);
  transition: all var(--transition-base);
}

.contact-form textarea {
  border-radius: var(--radius-md);
  min-height: clamp(80px, 10vw, 100px);
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(41, 199, 218, 0.2);
}

/*  FORM LABELS  */
.contact-form label {
  position: absolute;
  top: 50%;
  left: clamp(14px, 1.8vw, 18px);
  transform: translateY(-50%);
  font-size: clamp(10px, 1.4vw, 11.5px);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all var(--transition-base);
}

.contact-form .field:has(textarea) label {
  top: clamp(12px, 1.8vw, 16px);
  transform: none;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -6px;
  transform: translateY(0);
  background: #0b1c3d;
  padding: 0 7px;
  font-size: clamp(8px, 1.2vw, 9.5px);
  color: var(--cyan);
}

/*  FORM BUTTON  */
.contact-form button {
  margin-top: clamp(14px, 2vw, 20px);
  padding: clamp(10px, 1.5vw, 14px);
  border-radius: 34px;
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover::before {
  left: 100%;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(41, 199, 218, 0.4);
}

.contact-form button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/*  FORM MESSAGES  */
.form-message {
  display: none;
  padding: clamp(8px, 1.4vw, 12px) clamp(10px, 1.6vw, 14px);
  border-radius: var(--radius-sm);
  margin-top: clamp(10px, 1.5vw, 14px);
  font-size: clamp(10px, 1.4vw, 12px);
  text-align: center;
}

.form-message.success {
  background: rgba(41, 199, 218, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(41, 199, 218, 0.25);
}

.form-message.error {
  background: rgba(255, 100, 100, 0.1);
  color: #ff6464;
  border: 1px solid rgba(255, 100, 100, 0.25);
}