/* =========================================================
   IVORY Dental Labor — Ana stil dosyası
   ========================================================= */

:root {
  /* Kurumsal renkler (logodan) */
  --navy-950: #0d1638;
  --navy-900: #12204f;
  --navy-800: #1b2a6b;
  --navy-700: #263a86;
  --navy-600: #34499e;
  --navy-500: #4a5cb8;
  --navy-100: #e7ebfa;

  --ivory-50: #fbf9f3;
  --ivory-100: #f5f1e6;
  --ivory-200: #ece3cf;
  --gold-500: #c9a876;
  --gold-600: #b08f5c;

  --white: #ffffff;
  --gray-900: #1b1d29;
  --gray-700: #4b5468;
  --gray-500: #6b7288;
  --gray-300: #d7dae4;
  --gray-100: #f2f3f7;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 16px rgba(13, 22, 56, 0.08);
  --shadow-md: 0 12px 32px rgba(13, 22, 56, 0.12);
  --shadow-lg: 0 24px 64px rgba(13, 22, 56, 0.18);

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 600;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

section { position: relative; }
.section-pad { padding: 96px 0; }
@media (max-width: 720px) { .section-pad { padding: 64px 0; } }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-700); font-size: 1.05rem; }

.bg-ivory { background: var(--ivory-100); }
.bg-navy {
  background: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--navy-700); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--navy-800);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(13,22,56,0.06);
  transition: box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(13,22,56,0.1);
  padding: 8px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; transition: filter 0.3s ease; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--navy-100);
  color: var(--navy-800);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  padding: 6px;
}
.burger span {
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .burger { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu a.close-btn { color: var(--white); font-size: 1.6rem; background: none; border: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .btn { margin-top: 30px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 15% 10%, rgba(201,168,118,0.12), transparent 55%),
              linear-gradient(160deg, var(--white), var(--ivory-50) 75%);
  color: var(--gray-900);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy .eyebrow { color: var(--gold-600); }
.hero-copy h1 {
  color: var(--navy-900);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}
.hero-copy h1 span { color: var(--gold-600); }
.hero-copy p {
  color: var(--gray-700);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--navy-900);
}
.hero-stats .stat span { font-size: 0.85rem; color: var(--gray-500); }

.hero-canvas-wrap {
  position: relative;
  height: 480px;
  perspective: 900px;
  animation: idleBob 4.5s ease-in-out infinite;
}
@keyframes idleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.smile-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.smile-wrap svg { width: 92%; max-width: 480px; height: auto; overflow: visible; }
#lowerJaw { transition: none; }
.hero-canvas-wrap .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 58%, rgba(201,168,118,0.22), transparent 62%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray-500);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.scroll-cue .line { width: 1px; height: 34px; background: var(--gray-300); overflow: hidden; position: relative; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold-500);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 170px 0 90px;
  background: linear-gradient(160deg, var(--white), var(--ivory-100) 85%);
  color: var(--gray-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(201,168,118,0.16), transparent 55%);
}
.page-hero h1 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 2.9rem); position: relative; }
.page-hero p { color: var(--gray-700); max-width: 560px; margin: 14px auto 0; position: relative; }
.breadcrumb { position: relative; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--navy-800); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--navy-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--navy-800);
}
.card .icon-badge svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--gray-700); font-size: 0.96rem; }

.card.glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.card.glass p { color: rgba(255,255,255,0.72); }
.card.glass .icon-badge { background: rgba(255,255,255,0.12); color: var(--gold-500); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 20px 20px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.step .num {
  position: absolute; top: -18px; left: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 1rem; margin: 10px 0 8px; }
.step p { font-size: 0.9rem; color: var(--gray-700); }

/* ---------- Tabs (hizmetler) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab-btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: all 0.25s ease;
}
.tab-btn.active, .tab-btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 20px 0;
}
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; } }
.service-detail .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-100), var(--ivory-100));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-detail .visual svg { width: 46%; height: 46%; color: var(--navy-800); }
.service-detail .visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201,168,118,0.25), transparent 60%);
}
.service-detail ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.service-detail li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--gray-700); align-items: flex-start; }
.service-detail li svg { width: 18px; height: 18px; color: var(--gold-600); flex-shrink: 0; margin-top: 3px; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-thumb {
  aspect-ratio: 1/1;
  background: linear-gradient(155deg, var(--navy-100), var(--ivory-100));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.gallery-thumb svg { width: 38%; height: 38%; color: var(--navy-800); }
.gallery-item .cap { padding: 18px 20px; }
.gallery-item .cap span { font-size: 0.78rem; color: var(--gold-600); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.gallery-item .cap h4 { font-size: 1rem; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.testi-card .stars { color: var(--gold-500); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 20px; font-style: italic; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600;
}
.testi-card .who b { display: block; font-size: 0.92rem; }
.testi-card .who small { color: var(--gray-500); font-size: 0.8rem; }
.testi-note { margin-top: 18px; font-size: 0.8rem; color: var(--gray-500); text-align: center; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-300); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-900);
}
.faq-q .plus { transition: transform 0.3s ease; font-size: 1.3rem; color: var(--gold-600); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding-bottom: 20px; color: var(--gray-700); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(201,168,118,0.3), transparent 55%);
}
.contact-info-card .item { position: relative; display: flex; gap: 14px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-card .item .ic {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--gold-500);
}
.contact-info-card .item h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card .item p, .contact-info-card .item a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-info-card .socials { position: relative; display: flex; gap: 10px; margin-top: 10px; }
.contact-info-card .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-info-card .socials a:hover { background: var(--gold-500); transform: translateY(-3px); }

.contact-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--gray-100);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px var(--navy-100);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 6px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,168,118,0.3), transparent 55%);
}
.cta-band h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 8px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.75); position: relative; }
.cta-band .actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { height: 38px; margin-bottom: 16px; }
.footer-grid p { font-size: 0.9rem; line-height: 1.7; }
.footer-grid h5 { color: var(--white); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Misc ---------- */
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 600;
}
.divider-fade { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-300), transparent); margin: 60px 0; }
