* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body, system-ui, sans-serif);
  color: #1f2430;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: var(--font-heading, system-ui, sans-serif); line-height: 1.25; margin: 0 0 .5em; }
img { max-width: 100%; display: block; }
a { color: var(--color-primary, #2563eb); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.btn-block {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-primary, #2563eb);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-block:hover { opacity: .9; }

/* site header/footer */
.site-header { padding: 16px 0; border-bottom: 1px solid #eaeaea; position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-header .logo img { max-height: 44px; }
.site-header .logo { font-weight: 700; font-size: 20px; color: var(--color-secondary, #1e293b); text-decoration: none; }
.site-mobile-toggle { display: none; background: none; border: none; padding: 4px; color: var(--color-secondary, #1e293b); cursor: pointer; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.site-nav a { color: var(--color-secondary, #1e293b); text-decoration: none; font-weight: 500; }
.site-nav a.is-active { color: var(--color-primary, #2563eb); font-weight: 700; }

@media (max-width: 640px) {
  .site-mobile-toggle { display: block; order: 2; }
  .site-nav { display: none; width: 100%; order: 3; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0 4px; }
  .site-nav ul li a { display: block; padding: 12px 4px; border-top: 1px solid #eee; }
}
.site-footer { padding: 32px 0; margin-top: 40px; background: var(--color-secondary, #1e293b); color: #fff; }
.site-footer a { color: #fff; }

/* blocks */
.block { padding: 64px 0; }
.block-hero { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 100px 20px; }
.block-hero.no-bg { background: var(--color-secondary, #1e293b); }
.block-hero h1 { font-size: 40px; }
.block-hero p { font-size: 18px; max-width: 640px; margin: 0 auto 24px; }

.services-grid, .team-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card, .team-card, .testimonial-card {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.service-card img, .team-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; }
.testimonial-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.testimonial-card .quote { font-style: italic; color: #444; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.cta-banner { background: var(--color-primary, #2563eb); color: #fff; text-align: center; border-radius: 12px; padding: 48px 24px; }
.cta-banner .btn-block { background: #fff; color: var(--color-primary, #2563eb); }

#contact-form { scroll-margin-top: 90px; }
.contact-form .field { margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d5d7dd; border-radius: 6px; font: inherit;
}

.prose { max-width: 760px; margin: 0 auto; }

/* blog yazısı paylaş butonu */
.share-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.share-label { font-size: 14px; color: #6b7280; font-weight: 600; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px; border: none;
  background: var(--color-primary, #2563eb); color: #fff;
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.share-btn:hover { opacity: .9; }
.share-fallback { display: flex; flex-wrap: wrap; gap: 8px; }
.share-fallback a, .share-fallback button.share-copy {
  padding: 8px 14px; border-radius: 6px; border: 1px solid #d5d7dd;
  background: #fff; color: #1f2430; font: inherit; font-size: 14px;
  text-decoration: none; cursor: pointer;
}
.share-fallback a:hover, .share-fallback button.share-copy:hover { background: #f4f5f7; }

.map-embed { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.map-embed iframe { display: block; }

/* video (YouTube/Vimeo embed) */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* SSS */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-weight: 400; color: var(--color-primary, #2563eb); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { margin-top: 10px; color: #444; }

/* slider */
.site-slider { position: relative; overflow: hidden; height: 480px; }
.site-slider-track { position: relative; height: 100%; }
.site-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-secondary, #1e293b);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.site-slide.is-active { opacity: 1; visibility: visible; }
.site-slide-overlay {
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4));
  color: #fff;
  text-align: center;
}
.site-slide-overlay .container { width: 100%; }
.site-slide-overlay h2 { font-size: 36px; }
.site-slide-overlay p { font-size: 17px; max-width: 600px; margin: 0 auto 20px; }
.site-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
}
.site-slider-nav.prev { left: 16px; }
.site-slider-nav.next { right: 16px; }
.site-slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.site-slider-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.site-slider-dot.is-active { background: #fff; }
@media (max-width: 640px) {
  .site-slider { height: 360px; }
  .site-slide-overlay h2 { font-size: 26px; }
}

/* 404 sayfası */
.error-page { padding: 100px 0; text-align: center; }
.error-page .error-code {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 96px;
  font-weight: 700;
  color: var(--color-primary, #2563eb);
  margin: 0;
  line-height: 1;
}
.error-page h1 { margin-top: 12px; }
.error-page .error-text { color: #6b7280; margin-bottom: 28px; }
.error-page .error-links { margin-top: 40px; }
.error-page .error-links span { display: block; color: #6b7280; font-size: 14px; margin-bottom: 12px; }
.error-page .error-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 0; margin: 0; }
.error-page .error-links a { font-weight: 500; }
@media (max-width: 640px) {
  .error-page { padding: 64px 0; }
  .error-page .error-code { font-size: 64px; }
}

/* yüzen butonlar */
.floating-widgets { position: fixed; z-index: 60; inset: auto 0 0 0; pointer-events: none; }
.floating-widget {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  pointer-events: auto;
  transition: transform .15s;
}
.floating-widget:hover { transform: scale(1.08); text-decoration: none; }
.fw-pos-bottom-right { right: 20px; }
.fw-pos-bottom-left { left: 20px; }
.floating-widget .fw-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1f2430;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.fw-pos-bottom-left .fw-tooltip { right: auto; left: calc(100% + 12px); }
.floating-widget:hover .fw-tooltip { opacity: 1; }
@media (max-width: 640px) {
  .fw-hide-mobile { display: none; }
}
@media (min-width: 641px) {
  .fw-hide-desktop { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .block { padding: 40px 0; }
  .block-hero { padding: 64px 16px; }
  .block-hero h1 { font-size: 28px; }
  .block-hero p { font-size: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
