/* ================================
   MAIN WRAPPER (UZAY ÇERÇEVESİ)
================================ */
.contact-component {
  padding: 80px 0;
  font-family: 'Rubik', sans-serif;
}

.contact-component .contact-wrapper {
  width: 70%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;

  padding: 60px;
  border-radius: 10px;

  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);

  background-color: rgb(255, 251, 251);
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 15px rgba(255, 255, 255, 0.3), 0px 0px 20px rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

/* ================================
   LEFT – INFO
================================ */
.contact-component .contact-info {
  display: flex;
  flex-direction: column;
}


.contact-component .contact-info h2 {
  font-family: 'NovaSquare', cursive;
  font-size: 38px;
  margin-bottom: 14px;
}

.contact-component .contact-info>p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 38px;
}

/* ================================
   INFO + WHATSAPP (ORTAK UZAY EFFECT)
================================ */
.contact-component .info-box,
.contact-component .whatsapp-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  margin: 10px 0px;

  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  background: transparent;
  overflow: hidden;

  transition: transform .35s ease, box-shadow .35s ease;
}

/* 🌈 YEŞİL SHIMMER */
.contact-component .info-box::before,
.whatsapp-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent,
      rgba(37, 211, 102, 0.35),
      transparent);
  transform: translateX(-120%);
  transition: .7s ease;
}

.contact-component .info-box:hover::before,
.contact-component .whatsapp-box:hover::before {
  transform: translateX(120%);
}

.contact-component .info-box:hover,
.contact-component .whatsapp-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(37, 211, 102, 0.25);
}

.contact-component .info-box span,
.contact-component .whatsapp-box span {
  font-size: 30px;
}

.contact-component .info-box h4 {
  font-family: 'NovaSquare', cursive;
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-component .info-box p {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  opacity: 0.8;
}

/* WHATSAPP EXTRA */
.contact-component .whatsapp-box {
  text-decoration: none;
  color: inherit;
}

.contact-component .whatsapp-box h4 {
  font-family: 'Audiowide', cursive;
  letter-spacing: 1px;
}

/* ================================
   RIGHT – FORM
================================ */
.contact-component .contact-form {
  padding: 48px 44px;
  border-radius: 26px;

  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);

  background: transparent;
}

.contact-component .contact-form h3 {
  font-family: 'NovaSquare', cursive;
  font-size: 26px;
  margin-bottom: 35px;
}

/* ================================
   FORM ELEMENTS
================================ */

.contact-component form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-component .form-group {
  position: relative;
  margin-bottom: 30px;
}


.contact-component .form-group input,
.contact-component .form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
  padding: 14px 2px;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  background: transparent;
  outline: none;
  transition: border-color .3s;
  transition: all 0.3s;
  border-radius: 5px 5px 0px 0px;
}

.contact-component .form-group textarea {
  resize: none;
}

.contact-component .form-group label {
  position: absolute;
  left: 2px;
  top: 0px;
  left: 0px;
  font-size: 0.9rem;
  opacity: 0.65;
  pointer-events: none;
  transition: .3s ease;
  font-family: 'Rubik';
  border-radius: 3px;
  padding: 4px 10px;
  background-color: transparent;
}

.contact-component .form-group input:focus,
.contact-component .form-group textarea:focus {
  border-color: currentColor;
}

.contact-component .form-group input:focus ~ label, 
.contact-component .form-group textarea:focus ~ label, 
.contact-component .form-group input:valid ~ label, 
.contact-component .form-group textarea:valid ~ label {
  top: -17px;
  left: 20px;
  font-size: 0.8rem;
}


/* ================================
   BUTTON (TECH FEEL)
================================ */
.contact-component .contact-form button {
  margin-top: 8px;
  width: 100%;
  padding: 15px;
  border-radius: 16px;

  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.25);

  font-family: 'Audiowide', cursive;
  letter-spacing: 1px;
  cursor: pointer;
  font-weight: 700;

  transition: transform .3s, box-shadow .3s;
}

.contact-component .contact-form button:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

/* ================================
   RESPONSIVE (991px SWEET SPOT)
================================ */
@media (max-width: 991px) {
  .contact-component .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 42px;
    width: 82%;
    padding: 48px;
  }

  .contact-component .contact-info h2 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .contact-component .contact-wrapper {
    width: 92%;
    padding: 36px 26px;
  }
}