/* =============================================
   ARSLAN İNŞAAT
   Contact Page — contact.css
   ============================================= */

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* =============================================
   MAIN SECTION
   ============================================= */
.contact-section {
  position: relative;
  background: linear-gradient(160deg, #f4f6fb 0%, #eef1f8 50%, #f4f6fb 100%);
  padding: 6rem 2rem 8rem;
  overflow: hidden;
}
.contact-bg-shape {
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; left: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,46,108,.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =============================================
   INFO CARDS
   ============================================= */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.c-info-card {
  background: #fff;
  border: 1px solid rgba(0,46,108,.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,29,71,.05);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.c-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-navy-light));
}
.c-info-card:nth-child(2)::before { background: linear-gradient(90deg, #c49e54, #e2c07a); }
.c-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,29,71,.12);
}

.c-info-icon {
  width: 70px; height: 70px;
  background: rgba(0,46,108,.06);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background .3s, color .3s;
}
.c-info-card:nth-child(2) .c-info-icon {
  background: rgba(196,158,84,.1);
  color: #b08a3a;
}
.c-info-card:hover .c-info-icon { background: var(--color-navy); color: #fff; }
.c-info-card:nth-child(2):hover .c-info-icon { background: #c49e54; color: #fff; }
.c-info-icon svg { width: 30px; height: 30px; }

.c-info-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: .75rem;
}

.c-info-text {
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-height: 48px;
}

.c-info-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy);
  text-decoration: none;
  transition: color .3s;
}
.c-info-card:nth-child(2) .c-info-link { color: #b08a3a; }
.c-info-link:hover { color: var(--color-navy-light); }
.c-info-card:nth-child(2) .c-info-link:hover { color: #c49e54; }

/* =============================================
   MAIN AREA (Form & Map)
   ============================================= */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0,46,108,.08);
  box-shadow: 0 15px 50px rgba(0,29,71,.08);
  overflow: hidden;
}

/* ---- Form Side ---- */
.contact-form-wrapper {
  padding: 4rem 3rem;
}

.c-form-header { margin-bottom: 2.5rem; }
.c-form-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(0,46,108,.07);
  border: 1px solid rgba(0,46,108,.14);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.c-form-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.c-form-desc {
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.c-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.c-form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.c-form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-navy-dark);
}
.c-form-group input,
.c-form-group select,
.c-form-group textarea {
  width: 100%;
  padding: .9rem 1.2rem;
  background: #f8fafd;
  border: 1px solid rgba(0,46,108,.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--color-text);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.c-form-group input:focus,
.c-form-group select:focus,
.c-form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 4px rgba(0,46,108,.08);
}
.c-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.c-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  margin-top: 1rem;
}
.c-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,46,108,.35);
}
.c-form-submit svg { width: 18px; height: 18px; }

/* ---- Map Side ---- */
.contact-map-wrapper {
  min-height: 400px;
  position: relative;
  background: #eef1f8;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
  }
  .c-info-card { padding: 2rem 1.5rem; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-map-wrapper { min-height: 400px; }
  .contact-section { padding: 5rem 1.5rem 6rem; }
}

@media (max-width: 768px) {
  .c-form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .contact-section { padding: 4rem 1rem 5rem; }
  .contact-form-wrapper { padding: 2rem 1.25rem; }
  .contact-map-wrapper { min-height: 280px; }
  .c-info-card { padding: 1.75rem 1.25rem; }
  .c-form-submit { width: 100%; }
}
