/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1e1030;
  --teal:    #9e4ccd;
  --teal-lt: #b56de0;
  --cream:   #f8f6fd;
  --white:   #ffffff;
  --text:    #2c2040;
  --text-lt: #6b5f80;
  --border:  #e8e0f0;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(30,16,48,.09);
}

html { scroll-behavior: smooth; }

/* Scroll-reveal başlangıç durumu */
.about-card, .service-card, .contact-item, .contact-map, .section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
/* Sıralı gecikme */
.about-card:nth-child(2)  { transition-delay: .12s; }
.service-card:nth-child(2){ transition-delay: .1s; }
.service-card:nth-child(3){ transition-delay: .2s; }
.service-card:nth-child(4){ transition-delay: .1s; }
.service-card:nth-child(5){ transition-delay: .2s; }
.service-card:nth-child(6){ transition-delay: .3s; }
.contact-item:nth-child(2){ transition-delay: .1s; }
.contact-item:nth-child(3){ transition-delay: .2s; }
.contact-map               { transition-delay: .15s; }

.revealed {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-lt); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 16px rgba(26,46,74,.1); }

.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: .95rem; font-weight: 600;
  color: var(--navy); white-space: nowrap;
  text-decoration: none;
}
.nav-logo-img {
  height: 38px; width: auto;
  object-fit: contain;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; letter-spacing: .03em;
  color: var(--text-lt); text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--teal);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* =============================================
   HERO ANİMASYONLARI
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatPhoto {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulsGlow {
  0%, 100% { opacity: .18; transform: scale(1); }
  50%       { opacity: .28; transform: scale(1.08); }
}
@keyframes pulsGlow2 {
  0%, 100% { opacity: .12; transform: scale(1); }
  50%       { opacity: .2;  transform: scale(1.1); }
}
@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to   { width: 56px; opacity: 1; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(145deg, #0d0820 0%, var(--navy) 50%, #2d1050 100%);
  padding: 100px 24px 60px;
  position: relative; overflow: hidden;
}

/* Hareket eden arka plan ışık topları */
#hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,127,135,.18) 0%, transparent 70%);
  pointer-events: none;
  animation: pulsGlow 6s ease-in-out infinite;
}
#hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,127,135,.12) 0%, transparent 70%);
  pointer-events: none;
  animation: pulsGlow2 8s ease-in-out infinite;
}

.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: fadeIn 1.5s ease both;
}

.hero-content {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 72px;
  position: relative; z-index: 2;
}

.hero-text { display: flex; flex-direction: column; gap: 22px; }

/* Sıralı giriş animasyonları */
.hero-eyebrow  { animation: fadeUp .7s ease both; animation-delay: .1s; }
.hero-content h1 { animation: fadeUp .7s ease both; animation-delay: .25s; }
.hero-divider  { animation: expandLine .6s ease both; animation-delay: .45s; }
.hero-sub      { animation: fadeUp .7s ease both; animation-delay: .5s; }
.hero-phones   { animation: fadeUp .7s ease both; animation-delay: .65s; }
.btn-primary   { animation: fadeUp .7s ease both; animation-delay: .8s; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-lt);
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 2px; background: var(--teal-lt);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.12;
}
.hero-content h1 span { color: var(--teal-lt); }

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.6);
  font-weight: 400; letter-spacing: .02em;
}

/* İnce yatay ayraç */
.hero-divider {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.hero-phones {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.hero-phones a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px; padding: 8px 20px;
  transition: background .2s, border-color .2s;
}
.hero-phones a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.hero-phones .sep { color: rgba(255,255,255,.2); font-size: 1.2rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: .9rem; font-weight: 600; letter-spacing: .05em;
  padding: 15px 36px; border-radius: 50px;
  transition: background .25s, transform .2s, box-shadow .25s;
  align-self: flex-start;
  box-shadow: 0 8px 24px rgba(42,127,135,.35);
}
.btn-primary:hover {
  background: var(--teal-lt); transform: translateY(-2px);
  color: #fff; box-shadow: 0 12px 32px rgba(42,127,135,.45);
}

/* Foto alanı */
.hero-photo-outer {
  position: relative; flex-shrink: 0;
  width: 300px;
  animation: fadeIn .9s ease both .3s, floatPhoto 5s ease-in-out infinite 1.2s;
}
/* Teal aksanlı arka dekor kutu */
.hero-photo-outer::before {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 100%; height: 100%;
  border-radius: 20px;
  border: 2px solid rgba(42,127,135,.45);
  z-index: 0;
}

.hero-photo-wrap {
  width: 100%;
  border-radius: 20px;
  border: 3px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  overflow: hidden;
  position: relative; z-index: 1;
  background: #fff;
}
.hero-photo-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin-top: 8px; }
.section-header.light h2 { color: var(--white); }
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--teal); border-radius: 50px;
  padding: 4px 14px;
}
.section-header.light .section-tag { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.4); }

/* =============================================
   ABOUT
   ============================================= */
#about { padding: 96px 24px; background: var(--cream); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 1100px; margin: 0 auto;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}

.about-icon {
  width: 48px; height: 48px;
  color: var(--teal); margin-bottom: 20px;
}
.about-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-size: 1.2rem; color: var(--navy); margin-bottom: 20px;
}

.about-card ul { display: flex; flex-direction: column; gap: 14px; }
.about-card li {
  font-size: .92rem; color: var(--text-lt); line-height: 1.6;
  padding-left: 14px; border-left: 2px solid var(--border);
}
.about-card li strong { color: var(--text); display: block; margin-bottom: 2px; }

/* =============================================
   SERVICES
   ============================================= */
#services {
  padding: 96px 24px;
  background: linear-gradient(160deg, #0d0820 0%, var(--navy) 60%, #2d1050 100%);
}

.services-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px;
}
.services-grid .service-card {
  flex: 1 1 280px; max-width: calc(33.333% - 16px);
}

.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background .25s, transform .25s;
}
.service-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px; height: 44px; color: var(--teal-lt); margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.05rem; color: var(--white); margin-bottom: 10px;
}
.service-card p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* =============================================
   CONTACT
   ============================================= */
#contact { padding: 96px 24px; background: var(--white); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 40px; align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
}

.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--teal);
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-item h4 {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 4px;
}
.contact-item p { font-size: .92rem; color: var(--text-lt); line-height: 1.65; }
.contact-item a { color: var(--text); font-weight: 500; }
.contact-item a:hover { color: var(--teal); }

.contact-map {
  border-radius: var(--radius); overflow: hidden;
  height: 340px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--navy);
  padding: 28px 24px;
}
.footer-inner {
  text-align: center;
}
footer p {
  font-size: .82rem; color: rgba(255,255,255,.45);
  letter-spacing: .03em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid .service-card { max-width: calc(50% - 12px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 280px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; color: var(--text); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  #hero { padding: 100px 24px 80px; }
  .hero-content { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .hero-text { align-items: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-divider { display: none; }
  .hero-photo-outer { width: 200px; order: -1; }
  .btn-primary { align-self: center; }
  .hero-phones { justify-content: center; flex-wrap: wrap; gap: 8px; }

  .services-grid .service-card { max-width: 100%; }
  .about-card { padding: 28px 22px; }
}
