/* =========================
   CONTACT (NAVBAR-DARK HERO + LIGHT STAGE + DARK GLASS CARDS)
   - Hero: navbar dili (koyu mavi)
   - Stage: resim 2 (light radial)
   - Cards/Inputs: resim 1 (dark glass)
========================= */

:root{
  --page:#ffffff;
  --ink:#60bbb9;
  --muted:#9fb7da;

  --blue-900:#4a8aba;
  --blue-700:#1d4ed8;
  --blue-600:#25ebde;
  --cyan-500:#06b6d4;

  --lineA: rgba(78, 129, 239, 0.55);
  --lineB: rgba(6, 182, 212, .45);

  --glassA: rgba(72, 137, 210, 0.92);
  --glassB: rgba(48, 213, 133, 0.88);

  --shadow: 0 22px 55px rgba(68, 152, 182, 0.18);
  --r-lg: 22px;
  --r-md: 16px;
}

body{ background: var(--page) !important; }

/* =========================================================
   HERO  
========================================================= */
.contact-hero{
  position: relative;
  overflow: visible;          /* ✅ bandın shadow'u kesilmesin */
  padding: 110px 0 90px;
  text-align: center;
  color: #eaf3ff;

  background: transparent;    /* ✅ background artık panel pseudo’da */
  isolation: isolate;         /* ✅ z-index güvenli */
}

/* Asıl hero paneli (şekli burada veriyoruz) */
.contact-hero::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;

  /* ✅  */
  border-bottom-left-radius: 200px;
  border-bottom-right-radius: 200px;

  /* ✅ RENKLER */
  background:
    radial-gradient(900px 420px at 12% 18%, rgba(111, 140, 202, 0.18), transparent 62%),
    radial-gradient(900px 420px at 82% 78%, rgba(53, 199, 225, 0.14), transparent 62%),
    linear-gradient(135deg, #5fab52, #5b84d5);

  /* ✅ panel hissi + gölge */
  box-shadow: 0 26px 70px rgb(3, 255, 247);
}

/* Üstten hafif ışık / premium highlight (resimdeki parlaklık hissi) */
.contact-hero::after{
  content:"";
  position:absolute;
  left: 22px;
  right: 22px;
  top: 14px;
  height: 38%;
  z-index: -1;

  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.697), transparent);
  opacity: .45;
  pointer-events: none;
}

/* Badge aynen */
.contact-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: #bff3ff;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.30);
  box-shadow: 0 16px 40px rgba(6,182,212,.10);
  margin-bottom: 16px;
}

.contact-hero h1{
  margin: 0 0 12px;
  font-size: 52px;
  font-weight: 950;
  letter-spacing: .01em;
}

.contact-hero p{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 20px;
}

/* Responsive: alt radius ve padding küçülsün */
@media (max-width: 900px){
  .contact-hero{
    padding: 92px 0 72px;
  }
  .contact-hero::before{
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
  }
  .contact-hero h1{
    font-size: 38px;
  }
}


.hero-gradient-text{
  background: linear-gradient(
    90deg,
    #ffffff,
    #00ffd5,
    #4facfe,
    #ffffff
  );
  background-size: 300% auto;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  animation: heroTextFlow 6s ease-in-out infinite;
}

@keyframes heroTextFlow{
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}



/* =========================================================
   STAGE BACKGROUND (resim 2)
========================================================= */
.contact-stage{
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;

  background:
    radial-gradient(950px 440px at 12% 18%, rgb(4, 232, 140), transparent 62%),
    radial-gradient(950px 440px at 82% 78%, rgba(6, 181, 212, 0.8), transparent 62%),
    #63d5e7;
}

/* =========================================================
   GRID
========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin: 0;
  align-items: start;
}

/* =========================================================
   GLASS CARD (resim 1)
========================================================= */
.glass-card{
  position: relative;
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;

  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}

.glass-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(135deg, var(--lineA), var(--lineB));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .85;
}

.glass-card::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 34%;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent);
  pointer-events:none;
  opacity: .30;
}

.glass-card:hover{
  transform: translateY(-1px);
  transition: .18s ease;
  box-shadow:
    0 16px 42px rgba(70, 197, 155, 0.14),
    0 0 0 5px rgba(98, 134, 210, 0.1),
    0 18px 55px rgba(90, 188, 128, 0.16);
}

.glass-card h3{
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  color: #eaf3ff;
}

.card-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(74, 188, 208, 0.12);
  border: 1px solid rgba(89, 167, 180, 0.28);
  box-shadow: 0 18px 45px rgba(6,182,212,.10);
  flex: 0 0 auto;
}

.ico-svg{
  width: 20px;
  height: 20px;
  fill: #79e7ff;
}

.card-sub{
  margin: 6px 0 16px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 1.7;
}

/* card-sub ikonlu versiyon */
.card-sub--icon{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.card-sub-ico{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  background: linear-gradient(
    145deg,
    rgba(37,99,235,.22),
    rgba(6,182,212,.18)
  );
  border: 1px solid rgba(6,182,212,.35);
  box-shadow: 0 12px 30px rgba(6,182,212,.18);
}

.sub-ico-svg{
  width: 20px;
  height: 20px;
  fill: #79e7ff;
}

.card-sub-text{
  line-height: 1.7;
}


.divider-vertical{
  width:1px;
  height:60px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(6,182,212,.28),
    transparent
  );
}

.divider-soft{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,.28), transparent);
  margin: 18px 0;
}

/* =========================================================
   INFO (Email + Social like resim 1)
========================================================= */
.info-block{
  margin-top: 0px;
}

.info-label{
  font-size: 15-px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234,243,255,.78);
  margin-bottom: 8px;
}

.info-link{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 14px;

  color: #eaf3ff;
  text-decoration: none;

  padding: 8px 14px;   /* küçültülen kısım */

  border-radius: 10px;
  background: rgba(2,6,23,.50);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.info-link:hover{
  border-color: rgba(6,182,212,.45);
  box-shadow: 0 0 0 4px rgba(6,182,212,.12);
}

.social-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  text-decoration: none;

  background: rgba(2,6,23,.55);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: .18s ease;
}

.social-svg{
  width: 18px;
  height: 18px;
  fill: rgba(234,243,255,.88);
}

.social-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(6,182,212,.45);
  box-shadow:
    0 0 0 4px rgba(6,182,212,.12),
    0 18px 55px rgba(6,182,212,.10);
}

/* =========================================================
   FORM
========================================================= */
.form-desc{
  margin: 10px 0 18px;
  color: rgb(255, 255, 255);
  font-size: 17px;
  line-height: 1.7;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group{ margin-bottom: 14px; }

.form-group label{
  display:block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgb(238, 243, 249);
}

.contact-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:28px;
  margin-top:40px;
}


.divider-vertical{
  width:1px;
  height:60px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(6,182,212,.28),
    transparent
  );
}

.map-block{
  width:100%;
}

.map-frame{
  margin-top:10px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.map-frame iframe{
  width:100%;
  height:216px;
  border:0;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;

  background: rgba(3, 75, 134, 0.62);
  color: #eaf3ff;

  border: 1px solid rgba(148, 163, 184, .22);
  outline: none;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: .18s ease;
}

.contact-form textarea{ min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  border-color: rgba(6,182,212,.55);
  box-shadow:
    0 0 0 4px rgba(6,182,212,.18),
    0 18px 55px rgba(6,182,212,.10);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(234,243,255,.45);
}

.btn-submit{
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  cursor: pointer;

  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  color: #031018;
  font-weight: 950;
  letter-spacing: .02em;

  box-shadow:
    0 18px 55px rgba(6,182,212,.16),
    0 12px 30px rgba(37, 235, 192, 0.1);
  transition: .18s ease;
}

.btn-submit:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 22px 70px rgba(6,182,212,.18),
    0 16px 45px rgba(37, 235, 189, 0.14);
}

/* =========================================================
   ALERT
========================================================= */
.alert.success{
  background: #dcfce7;
  color: #166534;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(22,101,52,.20);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1000px){
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 700px){
  .contact-hero{ padding: 86px 0 70px; }
  .contact-hero h1{ font-size: 34px; }
  .form-row{ grid-template-columns: 1fr; }
  .glass-card{ padding: 26px; }
  .divider-vertical{
    display:none;
  }
}
