/* =========================================================
   SERIN MAKINA — Çok sayfalı yapı eklemeleri
   (style.css'teki tasarım dili korunarak: renkler, köşe, gölge, tipografi)
   ========================================================= */

.text-orange { color: var(--orange); }
.hero-content h1 .hero-highlight { white-space: nowrap; }

/* ---------- Açılır menü ---------- */
.nav li { position: relative; }
.nav-caret { font-size: 0.62rem; margin-left: 4px; opacity: 0.6; transition: var(--transition); }
.sub-toggle { display: none; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1200;
  flex-direction: column !important;
  gap: 2px !important;
  display: flex;
}
.sub-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav .sub-menu a:hover, .nav .sub-menu a.active { padding-left: 18px; }
@media (min-width: 1025px) {
  .nav li.has-sub:hover > .sub-menu,
  .nav li.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav li.has-sub:hover .nav-caret { transform: rotate(180deg); opacity: 1; }
}
@media (max-width: 1024px) {
  .nav li.has-sub > a { padding-right: 56px; }
  .nav-caret { display: none; }
  .sub-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 6px; right: 4px;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: var(--text-2);
    transition: var(--transition);
  }
  .sub-toggle:hover { background: rgba(243, 146, 0, 0.08); color: var(--orange); }
  .has-sub.open > .sub-toggle { transform: rotate(180deg); color: var(--orange); }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 6px 14px; min-width: 0;
    display: none;
    background: transparent;
  }
  .has-sub.open > .sub-menu { display: flex; }
  .nav .sub-menu a { font-size: 0.97rem; padding: 12px 14px; white-space: normal; border-bottom: 1px dashed var(--border); }
}

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 90px 0 80px;
  overflow: hidden;
}
.page-hero.has-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(120deg, rgba(15,20,25,0.94) 0%, rgba(15,20,25,0.80) 55%, rgba(15,20,25,0.55) 100%), var(--hero-img);
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-inner > h1, .page-hero-inner > .hero-sub { max-width: 860px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 14px 0 16px; }
.page-hero .hero-sub { margin-bottom: 0; max-width: 680px; }
.page-hero .hero-tag { margin-bottom: 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}
.breadcrumb i { font-size: 0.65rem; opacity: 0.6; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb a i { font-size: 0.8rem; margin-right: 4px; opacity: 1; color: var(--orange); }
.breadcrumb span { color: var(--orange-light); }

/* ---------- İçerik düzeni ---------- */
.inner-section { padding: 90px 0; }
.inner-grid { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.inner-grid--right { grid-template-columns: 1fr 340px; }
.inner-single { max-width: 980px; }
.inner-main { min-width: 0; }
.side-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
.side-nav-card, .spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.side-nav-card h4, .spec-card h4 {
  font-size: 1.08rem;
  padding-bottom: 14px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.side-nav-card h4::after, .spec-card h4::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 44px; height: 2px; background: var(--orange);
}
.spec-card h4 i { color: var(--orange); margin-right: 6px; }
.side-nav-card ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-weight: 500; font-size: 0.95rem;
}
.side-nav-card ul li a i { color: var(--orange); width: 16px; text-align: center; font-size: 0.85rem; }
.side-nav-card ul li a:hover, .side-nav-card ul li a.active { background: rgba(243,146,0,0.08); color: var(--orange); padding-left: 16px; }
.side-nav-card ul li a.active { font-weight: 700; }
.side-help {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.side-help::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(243,146,0,0.35), transparent 70%); }
.side-help > i { font-size: 2rem; color: var(--orange); margin-bottom: 12px; position: relative; }
.side-help h4 { color: var(--white); margin-bottom: 8px; position: relative; }
.side-help p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 14px; position: relative; }
.side-help-tel { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--orange-light); margin-bottom: 16px; position: relative; }
.side-help .btn { position: relative; }
.btn-wa { background: #25d366; color: var(--white); margin-top: 10px; }
.btn-wa:hover { background: #1eb755; transform: translateY(-2px); }

.spec-card dl { margin: 6px 0 18px; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 0.93rem; }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--text-light); }
.spec-card dd { color: var(--text); font-weight: 600; text-align: right; }
.spec-card dd a { color: var(--orange); }
.spec-bullets { margin: 0 0 18px; }
.spec-bullets li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-weight: 500; color: var(--text); font-size: 0.94rem; }
.spec-bullets i { width: 22px; height: 22px; border-radius: 50%; background: rgba(243,146,0,0.12); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }

/* ---------- Zengin metin ---------- */
.prose { color: var(--text-2); font-size: 1.04rem; line-height: 1.8; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 36px 0 16px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.prose h4 { margin: 22px 0 10px; }
.prose strong { color: var(--text); }
.prose a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; }
.prose ul li { position: relative; padding: 6px 0 6px 30px; }
.prose ul li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(243,146,0,0.12); color: var(--orange);
  font-size: 0.6rem; display: flex; align-items: center; justify-content: center;
}
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ol li { padding: 4px 0 4px 6px; }
.prose ol li::marker { color: var(--orange); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--orange); background: var(--light); padding: 18px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 22px; font-style: italic; color: var(--text); }
.prose img { border-radius: var(--radius); margin: 10px 0 20px; box-shadow: var(--shadow); height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--light); color: var(--text); }
.prose .about-list { margin-top: 10px; }
.prose .about-list li { padding: 10px 0; }
.prose .about-list li::before { display: none; }

.content-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.content-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.block-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 56px 0 24px; position: relative; padding-left: 18px; }
.block-title::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--orange), var(--orange-light)); }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 40px; }
.info-cards .feature-card { padding: 30px 26px; }
.info-cards .feature-card p { margin-bottom: 0; }

/* ---------- Alt sayfa kartları ---------- */
.subpage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 46px; }
.subpage-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  overflow: hidden;
}
.subpage-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.subpage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.subpage-card:hover::before { transform: scaleX(1); }
.subpage-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 800; color: rgba(243,146,0,0.18); line-height: 1; display: block; margin-bottom: 12px; }
.subpage-card h3 { margin-bottom: 10px; }
.subpage-card p { font-size: 0.95rem; margin-bottom: 16px; }

/* ---------- Galeri / ürün görselleri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 40px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--light); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: var(--white); font-size: 0.85rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.product-media { margin-bottom: 36px; }
.product-media-main { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--light); }
.product-media-main img { width: 100%; max-height: 560px; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.product-thumbs a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; transition: var(--transition); }
.product-thumbs a:hover { border-color: var(--orange); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700;
  position: relative; overflow: hidden;
}
.product-placeholder::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(243,146,0,0.3), transparent 70%); }
.product-placeholder .service-icon { margin: 0; flex-shrink: 0; }

/* ---------- Ürün ve proje kartı bağlantıları ---------- */
.service-card--link { display: block; color: inherit; }
.service-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--orange-light); font-weight: 600; font-size: 0.92rem; }
.service-more i { transition: var(--transition); }
.service-card--link:hover .service-more i { transform: translateX(4px); }
.service-image { margin: -38px -30px 24px; height: 190px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card--link:hover .service-image img { transform: scale(1.06); }
.service-card.has-image .service-num { top: 210px; }
a.project-card { display: block; color: inherit; }
.project-thumb.has-photo { background-size: cover; background-position: center; }
.project-thumb.has-photo::before { display: none; }
.project-grid--3 { grid-template-columns: repeat(3, 1fr); }
.section-more { text-align: center; margin-top: 46px; }
.empty-note { text-align: center; color: var(--text-light); padding: 40px 0; }
.section-dark .empty-note { color: rgba(255,255,255,0.6); }

/* ---------- Filtre ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-bar button {
  padding: 10px 20px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--white);
  font-weight: 600; font-size: 0.9rem; color: var(--text-2);
  transition: var(--transition);
}
.filter-bar button:hover { border-color: var(--orange); color: var(--orange); }
.filter-bar button.is-on { background: var(--orange); border-color: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.filter-item[hidden] { display: none; }

/* ---------- Marka logoları / yorum fotoğrafı ---------- */
a.brand-item { color: inherit; }
.brand-item--logo { display: flex; align-items: center; justify-content: center; }
.brand-item--logo img { max-height: 46px; width: auto; filter: grayscale(1); opacity: 0.75; transition: var(--transition); }
.brand-item--logo:hover img { filter: none; opacity: 1; }
img.testimonial-photo { object-fit: cover; padding: 0; }

/* ---------- Formlar ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.94rem; font-weight: 500; }
.form-alert--success { background: rgba(76,175,80,0.10); color: #2e7d32; border: 1px solid rgba(76,175,80,0.30); }
.form-alert--error { background: rgba(231,76,60,0.08); color: #c0392b; border: 1px solid rgba(231,76,60,0.25); }
.form-success.is-error { background: rgba(231,76,60,0.08); color: #c0392b; border-color: rgba(231,76,60,0.25); }
.form-note a { color: var(--orange); }

.contact-form-section { background: var(--light); }
.contact-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.map-wrap { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; flex: 1; min-height: 360px; border: 0; display: block; }
.map-info { padding: 24px 28px; }
.map-info p { display: flex; gap: 12px; margin-bottom: 12px; color: var(--text); }
.map-info i { color: var(--orange); margin-top: 5px; }

/* ---------- Sayfa altı teklif bandı ---------- */
.cta-band { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%); position: relative; overflow: hidden; padding: 70px 0; }
.cta-band::before { content: ''; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(243,146,0,0.25), transparent 70%); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 16px 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 620px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Görsel slayt (kendi görselim) ---------- */
.visual-photo { padding: 0; overflow: hidden; }
.visual-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: inherit; }

/* ---------- Basit görsel büyütme ---------- */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(10,12,16,0.92); display: flex; align-items: center; justify-content: center; padding: 30px; opacity: 0; transition: opacity 0.25s; }
.lb.show { opacity: 1; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); box-shadow: 0 20px 80px rgba(0,0,0,0.6); }
.lb figcaption { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.95rem; padding: 0 60px; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.10); color: var(--white); font-size: 1.1rem; transition: var(--transition); }
.lb button:hover { background: var(--orange); }
.lb .lb-x { top: 20px; right: 20px; }
.lb .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .inner-grid, .inner-grid--right { grid-template-columns: 1fr; gap: 40px; }
  .side-nav { position: static; }
  .inner-grid:not(.inner-grid--right) .side-nav { order: 2; }
}
@media (max-width: 980px) {
  .content-split, .contact-split { grid-template-columns: 1fr; }
  .project-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 70px 0 60px; }
}
@media (max-width: 680px) {
  .project-grid--3 { grid-template-columns: 1fr; }
  .inner-section { padding: 60px 0; }
  .cta-band { padding: 56px 0; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
  .product-placeholder { padding: 28px; font-size: 1.15rem; }
}

/* Ana sayfa SSS: çerçeveli buton açık zeminde okunur olsun */
.faq-head .btn-outline { color: var(--dark); border-color: var(--dark); }
.faq-head .btn-outline:hover { color: var(--white); background: var(--orange); border-color: var(--orange); }
