/* ==========================================================================
   CONTACT PAGE – Pisagor Danışmanlık
   ========================================================================== */

/* 1) Page shell */
.contact-page{
  padding: 48px 0 20px;
}

.contact-page h1,
.contact-page h2{
  color: var(--brand-blue);
  font-weight: 800;
}

.contact-page .lead,
.contact-page p.text-muted{
  color: rgba(17,17,17,.75) !important;
}

/* Bootstrap border + rounded utilities görünümü */
.contact-page .border.rounded-4{
  border-radius: 24px !important;
  border-color: rgba(11,60,93,.12) !important;
}

/* 2) Highlight card (üst sağ kutu) */
.contact-highlight{
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition:
    transform .22s cubic-bezier(.34,1.56,.64,1),
    box-shadow .22s ease;
  will-change: transform;
}

/* 3) Info cards */
.contact-info-card{
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden; /* ✅ responsive taşmayı kes */
}

.contact-info-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

/* ✅ Kart içindeki uzun metinlerin taşmasını engelle */
.contact-info-card p,
.contact-info-card a{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-info-card a{
  display: inline-block;
  max-width: 100%;
}

/* 4) Form controls */
.contact-page .form-control,
.contact-page .form-select{
  border-radius: 14px;
  border: 1px solid rgba(11,60,93,.18);
}

.contact-page .form-control:focus,
.contact-page .form-select:focus{
  border-color: rgba(11,60,93,.45);
  box-shadow: 0 0 0 4px rgba(11,60,93,.10);
}

/* 5) CTA Buttons (Contact scope) */
.contact-page .cta-btn{
  background: #0b1d36;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
  padding: 12px 16px;
  text-decoration: none !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transform: translateY(0) scale(1);
  transition:
    transform 220ms cubic-bezier(.34,1.56,.64,1),
    box-shadow 220ms ease,
    filter 220ms ease;
}

.contact-page .cta-btn:hover{
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* Outline varyant */
.contact-page .cta-btn.cta-outline{
  background: transparent;
  color: #0b1d36 !important;
  border: 2px solid rgba(11,29,54,.25);
  box-shadow: none;
}

.contact-page .cta-btn.cta-outline:hover{
  background: rgba(11,29,54,.06);
  transform: translateY(-2px);
}

/* 6) Map */
.contact-page iframe{
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.08) contrast(1.05);
}

/* ✅ 6.1) Map size – daha kompakt */
.contact-page .ratio.ratio-16x9{
  max-height: 420px;
}

@media (max-width: 768px){
  .contact-page .ratio.ratio-16x9{
    max-height: 300px;
  }
}

/* 7) Button reset */
.contact-page button{
  border: 0;
}

.contact-page button:focus,
.contact-page button:focus-visible,
.contact-page button:active{
  outline: none;
  box-shadow: none;
}

/* 8) Contact hero spacing */
.contact-hero{
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

.contact-hero-actions{
  margin-top: 40px;
}

/* Honeypot field */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* ✅ Gönder butonu ikon hover */
.contact-submit:hover i{
  transform: translateX(2px) rotate(-6deg);
  transition: transform 200ms ease;
}

/* ✅ İkon hizası/polish */
.contact-submit i{
  line-height: 1;
  transform: translateY(-1px);
}

/* ✅ Mobilde kart içi tipografi/padding biraz küçülsün (taşmayı iyice bitirir) */
@media (max-width: 576px){
  .contact-info-card{
    padding: 18px !important;
  }
  .contact-info-card p{
    font-size: 14px;
    line-height: 1.4;
  }
}

/* 9) Desktop polish */
@media (min-width: 992px){
  .contact-highlight{
    margin-top: 24px;
  }
}

/* 10) Hover-only */
@media (hover:hover) and (pointer:fine){
  .contact-highlight:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.12);
  }
}