:root {
  --bg: #f7f7f7;
  --card: #ffffff;
  --text: #222;
  --muted: #6c757d;
  --red: #c62828;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--text); }

.container {
  width: min(1180px, 92%);
  margin: auto;
  padding: 0 0.5rem;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid #eee;
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 46px; height: 46px; object-fit: contain; }
.brand-title { font-weight: 700; }
.menu { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.menu a { opacity: .95; }
.menu a:hover { color: var(--red); }
.menu .call {
  padding: .45rem .7rem;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 8px;
}
.hamburger { display: none; border: 0; background: transparent; font-size: 20px; }

/* HERO */
.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.92) saturate(1.05);
  opacity: .45;
}
.hero-inner { position: relative; z-index: 2; }
.hero-logo {
  width: min(260px, 50vw);
  margin: 0 auto 12px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.14));
}
.hero h1 { font-size: clamp(26px,4.2vw,42px); margin: .2rem 0 0; }
.hero p { max-width: 820px; margin: 10px auto 22px; color: var(--muted); }

/* BUTTONS */
.cta { display: flex; justify-content: center; gap: 12px; }
.btn, .btn-outline {
  display: inline-block;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  transition: .18s;
}
.btn {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--red);
  color: var(--red);
  background: #fff;
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

/* QUICK BAR */
.quickbar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
  padding: 12px 0;
  font-size: 14px;
}
.quick-grid a, .quick-grid span {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.quick-grid i { color: var(--red); }

/* SECTIONS */
.section { padding: 70px 0; }
.section.alt { background: #fff; }
.kicker {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .8rem;
  font-weight: 700;
}
h2 { font-size: clamp(22px,3.6vw,32px); margin: .3rem 0 1rem; }

/* ABOUT (KURUMSAL) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.about-photo {
  display: flex;
  justify-content: center;
}
.about-photo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 0 auto;
}
@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; text-align: center; }
  .about-photo img { max-width: 260px; margin-top: 20px; }
}

/* SERVICES */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 18px;
}
.card {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s;
}
.card:hover { transform: translateY(-6px); }
.card img { height: 180px; width: 100%; object-fit: cover; }
.card h3 { margin: 12px 16px 6px; }
.card p { color: var(--muted); margin: 0 16px 12px; }

/* AUTO SLIDER (HİZMETLER) */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.slides {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}
.slides img {
  width: 100%;
  border-radius: 10px;
  flex-shrink: 0;
}
.autoplay .slides { animation: slideAnim 12s infinite linear; }
@keyframes slideAnim {
  0%,20% { transform: translateX(0); }
  25%,45% { transform: translateX(-100%); }
  50%,70% { transform: translateX(-200%); }
  75%,95% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

/* BLOG AUTO SLIDER */
.blog-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 25px;
}
.blog-slider .slides {
  display: flex;
  gap: 18px;
  animation: blogSlide 22s infinite linear;
}
.blog-card {
  flex: 0 0 30%;
  min-width: 340px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-card h3 { margin: 12px 14px 6px; font-size: 1.05rem; }
.blog-card p { margin: 0 14px 12px; color: var(--muted); font-size: 0.95rem; }
@keyframes blogSlide {
  0%,20% { transform: translateX(0); }
  25%,45% { transform: translateX(-33%); }
  50%,70% { transform: translateX(-66%); }
  100% { transform: translateX(0); }
}

/* PROJELER (GALERİ) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.gallery img:hover { transform: scale(1.04); }

/* TEKLİF AL (İLETİŞİM) */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}
.contact input,
.contact textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.2s ease;
}
.contact input:focus,
.contact textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}
.contact textarea {
  min-height: 120px;
  resize: vertical;
}
.contact button {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover { background: #a71c1c; }
.whatsapp-btn {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}
.whatsapp-btn:hover {
  background: var(--red);
  color: #fff;
}

/* FOOTER */
.site-footer {
  background: #f1f3f5;
  margin-top: 20px;
  border-top: 1px solid #e9ecef;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .6fr;
  gap: 18px;
  padding: 28px 0;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  margin-right: 8px;
  box-shadow: var(--shadow);
}
.social i { color: var(--red); }
.copy {
  text-align: center;
  font-size: .9rem;
  color: #666;
  padding: 10px 0;
  border-top: 1px solid #e9ecef;
}

/* RESPONSIVE */
@media (max-width:1024px) {
  .quick-grid { grid-template-columns: repeat(3,1fr); }
  .cards { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(3,1fr); }
  .blog-slider .slides { animation-duration: 28s; }
}
@media (max-width:640px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .blog-card { min-width: 100%; flex: 0 0 100%; }
}
/* --- DETAYLARI GÖR (AÇ/KAPA) --- */
.detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
  line-height: 1.6;
}
.detail.open {
  max-height: 600px;
  padding: 10px 15px 15px;
}
.more {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 10px 14px;
  transition: background 0.3s ease;
}
.more:hover { background: #a71c1c; }

