/* =============================================
   ARSLAN İNŞAAT
   References Page — references.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); }

/* =============================================
   INTRO
   ============================================= */
.ref-intro {
  background: #fff;
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.ref-intro-inner { max-width: 760px; margin: 0 auto; }

.ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  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: 1.5rem;
}
.ref-eyebrow--white {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.ref-intro-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.ref-intro-title em { font-style: normal; color: var(--color-navy-light); }

.ref-intro-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ref-intro-line {
  width: 65px; height: 3px;
  background: linear-gradient(90deg, var(--color-navy), #c49e54);
  border-radius: 3px;
  margin: 0 auto;
}

/* =============================================
   STATS BAND
   ============================================= */
.ref-stats-band {
  background: var(--color-navy);
  padding: 2.5rem 2rem;
}
.ref-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex: 1;
}
.ref-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.ref-stat-num sup { font-size: 1rem; color: #c49e54; vertical-align: super; }
.ref-stat-label {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ref-stat-div {
  width: 1px;
  height: 45px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* =============================================
   MAIN SECTION
   ============================================= */
.ref-section {
  position: relative;
  background: linear-gradient(160deg, #f4f6fb 0%, #eef1f8 55%, #f4f6fb 100%);
  padding: 6rem 2rem;
  overflow: hidden;
}
.ref-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ref-bg-shape--1 {
  width: 650px; height: 650px;
  top: -200px; right: -180px;
  background: radial-gradient(circle, rgba(0,46,108,.05) 0%, transparent 70%);
}
.ref-bg-shape--2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(196,158,84,.06) 0%, transparent 70%);
}
.ref-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Category Label ---- */
.ref-category-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0,46,108,.1);
}
.ref-category-label svg { width: 18px; height: 18px; }
.ref-category-label--mt { margin-top: 5rem; }

/* ---- Logo Grid ---- */
.ref-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ref-logo-card {
  background: #fff;
  border: 1px solid rgba(0,46,108,.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,29,71,.05);
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              box-shadow .35s cubic-bezier(.4,0,.2,1),
              border-color .35s;
  cursor: default;
  overflow: hidden;
}
.ref-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(0,29,71,.1);
  border-color: rgba(0,46,108,.22);
}

.ref-logo-inner {
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ref-logo-img-wrap {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .35s, opacity .35s;
}
.ref-logo-card:hover .ref-logo-img-wrap {
  filter: grayscale(0);
  opacity: 1;
}

.ref-logo-svg { width: 100%; max-width: 190px; height: 72px; }

.ref-logo-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: .02em;
  border-top: 1px solid rgba(0,46,108,.07);
  padding-top: .9rem;
  width: 100%;
  text-align: center;
  transition: color .3s;
}
.ref-logo-card:hover .ref-logo-name { color: var(--color-navy); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.ref-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.ref-tcard {
  background: #fff;
  border: 1px solid rgba(0,46,108,.08);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: 0 6px 28px rgba(0,29,71,.06);
  position: relative;
  transition: transform .35s, box-shadow .35s;
}
.ref-tcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0,29,71,.1);
}
.ref-tcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy), #c49e54);
  border-radius: 18px 18px 0 0;
}

.ref-tcard-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .6;
  color: rgba(0,46,108,.1);
  margin-bottom: 1rem;
  user-select: none;
}

.ref-tcard-text {
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.ref-tcard-footer {
  display: flex;
  align-items: center;
  gap: .85rem;
  border-top: 1px solid rgba(0,46,108,.07);
  padding-top: 1.25rem;
}

.ref-tcard-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ref-tcard-name {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.2;
}
.ref-tcard-role {
  font-size: .76rem;
  color: var(--color-text-muted);
}
.ref-tcard-stars {
  margin-left: auto;
  color: #c49e54;
  font-size: .85rem;
  letter-spacing: .05em;
  flex-shrink: 0;
}

/* =============================================
   CTA
   ============================================= */
.ref-cta {
  background: var(--color-navy);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ref-cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.ref-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ref-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 1rem 0 1.25rem;
}
.ref-cta-title em { font-style: normal; color: #c49e54; }
.ref-cta-desc {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.ref-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ref-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.ref-cta-btn svg { width: 18px; height: 18px; }
.ref-cta-btn--primary {
  background: #c49e54;
  color: #fff;
  box-shadow: 0 6px 20px rgba(196,158,84,.3);
}
.ref-cta-btn--primary:hover { background: #e2c07a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196,158,84,.45); }
.ref-cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}
.ref-cta-btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .ref-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ref-testimonials { grid-template-columns: 1fr 1fr; }
  .ref-stats-inner { flex-wrap: wrap; gap: 2rem; }
  .ref-stat-div { display: none; }
  .ref-stat { min-width: 40%; }
}
@media (max-width: 700px) {
  .ref-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-testimonials { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .ref-intro, .ref-section { padding: 4rem 1rem; }
  .ref-cta { padding: 4rem 1rem; }
  .ref-logo-grid { gap: 1rem; }
  .ref-logo-inner { padding: 1.25rem 1rem 1rem; }
  .ref-cta-btns { flex-direction: column; width: 100%; }
  .ref-cta-btn { width: 100%; justify-content: center; white-space: normal; }
}
