/* Sanat Demir Metal — ana stil dosyası (mobil öncelikli) */
:root {
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --surface: #1a1e25;
  --surface-hover: #222731;
  --border: #2a303b;
  --text: #e9ecf1;
  --text-muted: #a3acb9;
  --accent: #ff7a1a;
  --accent-strong: #e8610a;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --whatsapp: #25d366;
  --whatsapp-strong: #1ebe5a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --container: 1200px;
  --header-height: 76px;
  --font-heading: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--text-muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: #111; padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: 200; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 700; font-family: var(--font-heading); border: 2px solid transparent; cursor: pointer; transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition); font-size: 1rem; }
.btn svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #14100b; box-shadow: 0 10px 24px -10px var(--accent); }
.btn-whatsapp { background: var(--whatsapp); color: #06280f; box-shadow: 0 10px 24px -10px var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-strong); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Üst bar + header */
.topbar { background: #08090b; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.45rem; }
.topbar a { color: var(--text-muted); transition: color var(--transition); }
.topbar a:hover { color: var(--accent); }
.topbar strong { color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13, 15, 18, 0.92); border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(13, 15, 18, 0.8); backdrop-filter: blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #14100b; font-size: 1.2rem; }
.logo small { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; color: var(--text-muted); text-transform: uppercase; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem 1rem 1.2rem; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
.main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav-list > li > a, .nav-list > li > .nav-parent { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0.5rem; border-bottom: 1px solid var(--border); font-weight: 600; font-family: var(--font-heading); width: 100%; background: none; border-inline: 0; border-top: 0; color: var(--text); font-size: 1.05rem; cursor: pointer; text-align: left; }
.nav-list a[aria-current="page"] { color: var(--accent); }
.submenu { display: none; padding: 0.4rem 0 0.4rem 1rem; background: var(--bg-alt); border-radius: var(--radius-sm); }
.has-submenu.is-open > .submenu { display: block; }
.submenu a { display: block; padding: 0.7rem 0.5rem; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.submenu li:last-child a { border-bottom: 0; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--accent); }
.nav-cta { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.header-cta { display: none; }
.chevron { width: 0.9em; height: 0.9em; transition: transform var(--transition); }
.has-submenu.is-open .chevron { transform: rotate(180deg); }

/* Hero */
.hero { position: relative; padding: 3rem 0 4rem; background: radial-gradient(900px 500px at 85% 0%, rgba(255, 122, 26, 0.16), transparent 60%), var(--bg); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: 1.1rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.hero-stats strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: var(--text); line-height: 1.1; }
.hero-stats span { font-size: 0.85rem; color: var(--text-muted); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.hero-collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-collage figure:first-child { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.hero-collage figure:first-child img { aspect-ratio: 3 / 5; }

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { font-size: 1.05rem; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--accent); margin: 0.9rem auto 0; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head.left h2::after { margin-inline: 0; }

/* Kartlar */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-hover); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; font-size: 0.97rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 700; font-family: var(--font-heading); }
.card-link svg { width: 1.1em; height: 1.1em; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(5px); }

/* Özellikler */
.feature-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.feature { padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.feature-icon svg { width: 26px; height: 26px; }
.feature p { margin: 0; font-size: 0.96rem; }

/* İki kolon */
.split { display: grid; gap: 2.2rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-media img { width: 100%; object-fit: cover; max-height: 560px; }
.check-list { display: grid; gap: 0.7rem; margin: 1.2rem 0 1.6rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Süreç */
.steps { display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem 5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.3rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #14100b; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; font-size: 0.95rem; }

/* Galeri */
.gallery-grid { columns: 1; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--border); background: var(--surface); }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem 0.8rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); font-size: 0.88rem; font-weight: 600; color: #fff; opacity: 0; transition: opacity var(--transition); pointer-events: none; }
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; margin: auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox img { max-height: 88vh; width: auto; max-width: 95vw; border-radius: var(--radius-sm); margin: auto; }
.lightbox p { text-align: center; color: #fff; margin: 0.6rem 0 0; }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #111; font-size: 1.6rem; line-height: 1; cursor: pointer; font-weight: 700; }

/* CTA bandı */
.cta-band { position: relative; padding: 3.5rem 0; background: linear-gradient(135deg, #1d1308, #2b1708 50%, #1a1006); border-block: 1px solid #3a2410; text-align: center; overflow: hidden; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 60ch; margin-inline: auto; color: #cdbfae; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.4rem; }

/* SSS */
.faq { display: grid; gap: 0.8rem; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary { padding: 1.1rem 1.3rem; font-weight: 600; font-family: var(--font-heading); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; }

/* Sayfa başlığı / breadcrumb */
.page-hero { padding: 3rem 0 3.2rem; background: radial-gradient(700px 300px at 90% 0%, rgba(255, 122, 26, 0.15), transparent 60%), var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 70ch; font-size: 1.05rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--accent); }

/* Hizmet detay */
.service-layout { display: grid; gap: 2rem; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); }
.photo-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin: 1.5rem 0; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.sidebar { display: grid; gap: 1.2rem; align-content: start; }
.side-box { padding: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.side-box h3 { font-size: 1.15rem; }
.side-links a { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border); color: var(--text-muted); transition: color var(--transition), padding var(--transition); }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--accent); padding-left: 0.4rem; }
.side-cta { background: linear-gradient(135deg, #2b1708, #1d1308); border-color: #3a2410; }
.side-cta .btn { width: 100%; margin-top: 0.6rem; }

/* İletişim */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card .feature-icon { margin: 0; flex-shrink: 0; }
.contact-card h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--text); font-weight: 600; }
.contact-card a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: #08090b; border-top: 1px solid var(--border); padding-top: 3.5rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer li a { display: inline-block; padding: 0.25rem 0; color: var(--text-muted); transition: color var(--transition), transform var(--transition); }
.site-footer li a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; font-size: 0.88rem; color: var(--text-muted); text-align: center; }
.footer-bottom p { margin: 0; }

/* Yüzen butonlar */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: grid; gap: 0.7rem; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.7); transition: transform var(--transition); }
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 30px; height: 30px; }
.float-whatsapp { background: var(--whatsapp); color: #fff; position: relative; }
.float-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2s infinite; }
.float-call { background: var(--accent); color: #14100b; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

/* Scroll animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Masaüstü */
@media (min-width: 992px) {
  :root { --header-height: 84px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; max-height: none; border: 0; overflow: visible; background: none; flex: 1; display: flex; justify-content: center; }
  .nav-list { display: flex; gap: 0.2rem; align-items: center; }
  .nav-list > li { position: relative; }
  .nav-list > li > a, .nav-list > li > .nav-parent { border: 0; padding: 0.6rem 0.9rem; border-radius: 999px; font-size: 0.98rem; gap: 0.4rem; width: auto; transition: color var(--transition), background var(--transition); }
  .nav-list > li > a:hover, .nav-list > li > .nav-parent:hover { background: var(--accent-soft); color: var(--accent); }
  .submenu { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 0.6rem; background: #000; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); display: block; }
  .has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
  .submenu a { padding: 0.8rem 1rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-family: var(--font-heading); border-bottom: 1px solid #1c1f26; }
  .submenu a:hover { background: var(--accent-soft); }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; padding: 0.7rem 1.3rem; }
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .section { padding: 5.5rem 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.reverse .split-media { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 5rem 1.4rem 1.4rem; }
  .step::before { left: 1.4rem; top: 1.3rem; }
  .gallery-grid { columns: 3; }
  .service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
  .sidebar { position: sticky; top: calc(var(--header-height) + 1.5rem); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (max-width: 991px) {
  .topbar .topbar-slogan { display: none; }
  .topbar .container { justify-content: center; }
}
