/*
Theme Name: Özboyacı & İnovya
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: ozin
*/
:root { --ink:#142a43; --blue:#176b9f; --red:#b12d2b; --paper:#fff; --muted:#596773; --border:#e3e7ea; --gutter:clamp(24px,5.1vw,88px); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:110px; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:"Avenir Next","Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button { font:inherit; }
img { display:block; max-width:100%; }
a:focus-visible, button:focus-visible { outline:3px solid var(--blue); outline-offset:5px; }
.skip { position:fixed; top:-100px; z-index:40; background:#fff; padding:15px; }
.skip:focus { top:10px; }
.header { height:98px; display:flex; align-items:center; justify-content:space-between; padding:0 var(--gutter); background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:20; }
.brand { width:300px; }
.brand img { width:100%; height:82px; object-fit:contain; }
.header nav { display:flex; gap:36px; align-items:center; font-size:15px; }
.header nav a { padding:12px 0; }
.header nav a:hover { color:var(--blue); }
.menu-toggle { display:none; }
.eyebrow { font-size:13px; font-weight:700; letter-spacing:.04em; line-height:1.7; margin:0 0 20px; color:var(--muted); }
h1,h2,h3,p { margin-top:0; }
h1 { font-weight:700; letter-spacing:-.035em; font-size:clamp(40px,4vw,64px); line-height:1.15; margin-bottom:25px; }
.button { background:var(--blue); color:#fff; display:inline-flex; align-items:center; padding:15px 24px; border-radius:3px; font-size:14px; transition:background .2s; }
.button:hover { background:var(--ink); }
.section { padding:68px var(--gutter); }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:32px; gap:28px; }
.section-heading .eyebrow { display:none; }
h2 { font-weight:700; font-size:36px; letter-spacing:-.025em; line-height:1.2; margin-bottom:0; }
.section-heading>p { font-size:15px; line-height:1.6; color:var(--muted); margin-bottom:3px; }
.projects { border-top:1px solid var(--border); }
.project-grid { display:grid; grid-template-columns:1fr 1fr; gap:34px 30px; }
.project-card { border:1px solid var(--border); border-radius:4px; overflow:hidden; background:#fff; }
.project-image { display:block; aspect-ratio:1.74; overflow:hidden; background:#e8edf0; }
.project-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.project-card:hover img { transform:scale(1.025); }
.project-label { display:flex; align-items:center; justify-content:space-between; padding:20px; gap:20px; }
.project-label h3 { font-size:21px; font-weight:700; margin:0; }
.project-label>span { font-size:12px; color:var(--muted); }
.about { display:grid; grid-template-columns:1fr 2fr; gap:6vw; background:#f4f7f9; }
.about-lead { font-size:20px; line-height:1.6; max-width:650px; margin-bottom:30px; }
.brand-stories { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.brand-stories h3 { font-size:19px; font-weight:700; margin-bottom:14px; }
.brand-stories p { font-size:15px; line-height:1.8; color:var(--muted); margin:0; }
.contact { display:grid; grid-template-columns:1fr 1.15fr; gap:5vw; padding-bottom:72px; }
.contact h2 { margin-bottom:22px; }
.company-name { font-size:14px; line-height:1.6; color:var(--muted); max-width:430px; margin-bottom:22px; }
.contact-phones { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-bottom:30px; }
.contact-phones a { font-size:22px; }
.contact-phones a:hover { color:var(--blue); }
.contact-addresses { display:grid; gap:23px; }
.contact-addresses h3 { font-size:16px; font-weight:600; margin-bottom:9px; }
.contact-addresses p { font-size:15px; line-height:1.7; color:var(--muted); margin:0; }
.contact-map { display:flex; flex-direction:column; align-self:center; min-width:0; }
.contact-map iframe { width:100%; height:410px; border:1px solid var(--border); border-radius:4px; background:#eef2f4; }
.map-link { display:inline-block; align-self:flex-start; color:var(--blue); text-decoration:underline; text-underline-offset:4px; margin-top:14px; font-size:13px; }
.footer { padding:25px var(--gutter) 85px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; font-size:12px; gap:20px; }
.footer small { color:var(--muted); font-size:11px; }
.whatsapp-float { position:fixed; bottom:max(24px,env(safe-area-inset-bottom)); right:max(24px,env(safe-area-inset-right)); z-index:30; display:flex; align-items:center; gap:12px; background:#168647; color:#fff; border-radius:30px; padding:15px 20px; box-shadow:0 4px 18px #0002; font-size:14px; font-weight:700; }
.whatsapp-float:hover { background:#10743d; }
.whatsapp-float svg { flex-shrink:0; }
dialog { border:0; padding:0; background:#fff; color:var(--ink); width:min(900px,calc(100% - 36px)); max-height:85vh; overflow:auto; border-radius:5px; }
dialog::backdrop { background:#071321b8; }
body.dialog-open { overflow:hidden; }
.dialog-close { position:absolute; right:15px; top:15px; z-index:2; border:0; background:#fff; border-radius:3px; font-size:30px; width:43px; height:43px; cursor:pointer; }
.dialog-photo { width:100%; max-height:390px; object-fit:cover; }
.dialog-copy { padding:35px; }
.dialog-copy h2 { font-size:32px; margin-bottom:20px; }
.dialog-copy p { font-size:15px; line-height:1.7; color:var(--muted); }
.project-facts { display:flex; gap:35px; margin:25px 0 30px; padding:20px 0; border-block:1px solid var(--border); flex-wrap:wrap; }
.project-facts strong { display:block; font-size:23px; font-weight:400; }
.project-facts span { display:block; font-size:10px; color:var(--muted); margin-top:7px; }
.dialog-catalog { display:block; margin-top:22px; font-size:13px; text-decoration:underline; text-underline-offset:5px; }
@media(max-width:1000px) {
  .header nav { gap:24px; }
  .brand { width:250px; }
  h1 { font-size:45px; }
  .about,.contact { gap:35px; }
  .brand-stories { grid-template-columns:1fr; }
  .contact-map iframe { height:400px; }
}
@media(max-width:700px) {
  html { scroll-padding-top:88px; }
  .header { height:85px; }
  .brand { width:224px; }
  .brand img { height:75px; }
  .menu-toggle { display:flex; align-items:center; gap:13px; border:0; background:none; padding:12px 0; font-size:12px; }
  .menu-toggle span { font-size:21px; }
  .header nav { display:none; position:absolute; top:85px; left:0; right:0; background:#fff; border-bottom:1px solid var(--border); padding:15px var(--gutter) 25px; flex-direction:column; gap:5px; align-items:stretch; }
  .header nav.open { display:flex; }
  .header nav a { padding:15px 0; }
  h1 { font-size:40px; margin-bottom:20px; }
  .desktop-break { display:none; }
  .button { padding:14px 20px; }
  .section { padding-block:45px; }
  .section-heading { display:block; margin-bottom:25px; }
  .section-heading>p { margin-top:15px; font-size:14px; }
  h2 { font-size:30px; }
  .project-grid { grid-template-columns:1fr; gap:23px; }
  .project-label { padding:17px; }
  .project-label h3 { font-size:18px; }
  .about,.contact { grid-template-columns:1fr; gap:28px; }
  .about-lead { font-size:18px; margin-bottom:24px; }
  .brand-stories { gap:25px; }
  .contact-phones a { font-size:22px; }
  .contact-map iframe { height:330px; }
  .footer { flex-wrap:wrap; padding-bottom:95px; font-size:11px; gap:18px; }
  .footer>span { flex-basis:100%; }
  .footer a { margin-left:auto; }
  .whatsapp-float { bottom:max(16px,env(safe-area-inset-bottom)); right:max(16px,env(safe-area-inset-right)); padding:12px 16px; gap:10px; font-size:13px; }
  .whatsapp-float svg { width:25px; height:25px; }
  .dialog-copy { padding:25px; }
  .dialog-copy h2 { font-size:28px; }
  .dialog-photo { height:230px; }
  .project-facts { gap:23px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; }
}
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.project-showcase { padding:28px var(--gutter) 35px; }
.carousel-stage { position:relative; height:clamp(360px,46vw,600px); overflow:hidden; border-radius:4px; touch-action:pan-y; }
.carousel-slide { position:relative; height:100%; }
.carousel-slide[hidden] { display:none; }
.carousel-slide>img { width:100%; height:100%; object-fit:cover; }
.slide-caption { position:absolute; left:30px; bottom:30px; padding:24px 28px; max-width:560px; background:#fffffff2; border-radius:3px; }
.slide-caption p { margin-bottom:8px; color:var(--muted); font-size:14px; }
.slide-caption h2 { font-size:32px; margin-bottom:18px; letter-spacing:0; }
.carousel-controls { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-top:18px; }
.carousel-projects { display:flex; flex-wrap:wrap; gap:8px 26px; }
.carousel-controls button { border:0; background:none; cursor:pointer; padding:10px 0; color:var(--muted); font-size:14px; }
.carousel-projects button { border-bottom:2px solid transparent; }
.carousel-projects button[aria-pressed="true"] { color:var(--blue); border-bottom-color:var(--blue); font-weight:700; }
.carousel-controls .carousel-playback { text-decoration:underline; text-underline-offset:4px; font-size:12px; white-space:nowrap; }
.project-card-commercial { grid-column:1/-1; }
.project-card-commercial .project-image { aspect-ratio:2.6; }
h2 { font-weight:700; letter-spacing:0; }
.project-label h3, .brand-stories h3 { font-weight:700; }
@media(max-width:700px) {
  .project-showcase { padding-top:18px; padding-bottom:25px; }
  .carousel-stage { height:450px; }
  .carousel-slide>img { height:270px; object-fit:cover; }
  .slide-caption { position:static; padding:20px; background:#f4f7f9; max-width:none; min-height:180px; border-radius:0; }
  .slide-caption h2 { font-size:25px; margin-bottom:15px; }
  .slide-caption p { font-size:13px; margin-bottom:6px; }
  .slide-caption .button { padding:12px 18px; font-size:13px; }
  .carousel-controls { align-items:flex-start; gap:16px; margin-top:13px; }
  .carousel-projects { gap:2px 17px; }
  .carousel-controls button { font-size:12px; padding:8px 0; }
  .carousel-playback { margin-top:2px; }
  .project-card-commercial .project-image { display:block; aspect-ratio:1.74; }
}
.slide-catalog { display:inline-block; margin-left:20px; color:var(--blue); text-decoration:underline; text-underline-offset:4px; font-size:14px; }
.button-outline { background:#fff; color:var(--blue); border:1px solid var(--blue); }
.button-outline:hover { color:#fff; }
.text-link { color:var(--blue); text-decoration:underline; text-underline-offset:4px; font-size:14px; }
.page-heading { padding:42px var(--gutter) 30px; }
.page-heading h1 { font-size:clamp(30px,3.4vw,48px); letter-spacing:-.015em; font-weight:600; margin:15px 0 24px; }
.page-heading>p { color:var(--muted); }
.breadcrumb { font-size:13px; color:var(--muted); text-decoration:underline; text-underline-offset:4px; }
.page-actions { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.project-section-nav { display:flex; gap:14px 28px; flex-wrap:wrap; padding:15px var(--gutter); background:#f4f7f9; border-block:1px solid var(--border); font-size:14px; }
.project-section-nav a { padding:5px 0; }
.project-section-nav a:hover { color:var(--blue); }
.project-overview { display:grid; grid-template-columns:1.15fr 1fr; gap:40px; padding-block:40px; align-items:start; }
.project-cover { width:100%; aspect-ratio:1.6; object-fit:cover; border-radius:4px; }
.project-overview-image-only { grid-template-columns:1fr; }
.project-overview-image-only .project-cover { aspect-ratio:2.1; }
.project-overview h2 { font-size:24px; margin:0 0 22px; }
.project-stage h3 { font-size:18px; font-weight:600; margin:24px 0 12px; }
.project-stage:first-child h3 { margin-top:0; }
.project-specs { display:grid; grid-template-columns:1fr 1fr; gap:16px 22px; margin:0; }
.project-specs>div { border-bottom:1px solid var(--border); padding-bottom:11px; }
.project-specs dt { color:var(--muted); font-size:12px; margin-bottom:5px; }
.project-specs dd { margin:0; font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
.detail-section { border-top:1px solid var(--border); padding-block:42px; }
.detail-section>h2 { font-size:28px; margin-bottom:28px; }
.section-note { color:var(--muted); font-size:14px; line-height:1.7; margin:-10px 0 25px; }
.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.gallery-item { display:block; position:relative; border:1px solid var(--border); border-radius:4px; overflow:hidden; background:#f4f7f9; }
.gallery-item img { width:100%; aspect-ratio:1.45; object-fit:cover; }
.gallery-item span { display:block; padding:10px 14px; font-size:12px; color:var(--muted); }
.gallery-item:hover span { color:var(--blue); }
.video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; }
.video-grid figure { margin:0; min-width:0; }
.video-grid video { display:block; width:100%; aspect-ratio:16/9; object-fit:contain; background:#102133; border-radius:4px; }
.video-grid figcaption { margin:13px 0 5px; font-size:15px; }
.video-grid .text-link { font-size:12px; }
.sample-video { margin-bottom:30px; }
.sample-video iframe { display:block; border:0; width:100%; aspect-ratio:16/9; max-height:540px; margin-bottom:12px; }
.prose { font-size:16px; line-height:1.85; }
.prose h3 { font-size:19px; margin:28px 0 16px; line-height:1.5; font-weight:600; }
.prose h3:first-child { margin-top:0; }
.prose p { margin:0 0 18px; }
.prose ul,.prose ol { padding-left:22px; margin:0 0 24px; }
.prose li { margin:7px 0; }
.prose strong { font-weight:600; }
.about-full { max-width:1050px; padding-top:12px; }
.specification { border:1px solid var(--border); margin-bottom:18px; border-radius:4px; }
.specification summary { padding:22px; cursor:pointer; font-weight:600; font-size:18px; }
.specification[open] summary { border-bottom:1px solid var(--border); }
.specification .prose { padding:25px 30px; max-width:1000px; }
.project-contact { background:#f4f7f9; }
.project-contact h2 { font-size:28px; margin-bottom:25px; }
.project-card-actions { display:flex; gap:25px; padding:0 20px 20px; font-size:13px; color:var(--blue); }
.project-card-actions a { text-decoration:underline; text-underline-offset:4px; }
.project-grid>.project-card:last-child:nth-child(odd) { grid-column:1/-1; }
.project-grid>.project-card:last-child:nth-child(odd) .project-image { aspect-ratio:2.6; }
.gallery-dialog { width:min(1200px,calc(100% - 36px)); background:#fff; padding:18px; max-height:92dvh; }
.gallery-full-image { margin:auto; width:100%; height:calc(85dvh - 80px); object-fit:contain; background:#f4f7f9; }
.gallery-navigation { display:flex; justify-content:space-between; padding:15px 0 0; gap:20px; }
.gallery-navigation button,.catalog-toolbar button { border:1px solid var(--border); background:#fff; color:var(--ink); border-radius:3px; padding:10px 16px; cursor:pointer; font-size:13px; }
.catalog-reader { padding:0 var(--gutter) 55px; background:#f4f7f9; }
.catalog-toolbar { display:flex; align-items:center; justify-content:center; gap:26px; padding:20px 0; position:sticky; top:98px; background:#f4f7f9; z-index:10; }
.catalog-toolbar label { font-size:14px; white-space:nowrap; }
.catalog-toolbar select { font:inherit; margin-inline:7px; background:#fff; color:var(--ink); border:1px solid var(--border); border-radius:3px; padding:8px; }
.catalog-toolbar button:disabled { opacity:.4; cursor:default; }
#catalog-image { width:100%; height:calc(100dvh - 215px); min-height:380px; object-fit:contain; object-position:top; margin:0 auto; }
.catalog-single { width:min(900px,calc(100% - 48px)); height:auto; margin:0 auto 50px; border:1px solid var(--border); }
.table-scroll { overflow:auto; }
.comparison-table { border-collapse:collapse; width:100%; font-size:14px; }
.comparison-table th,.comparison-table td { padding:18px 14px; border:1px solid var(--border); text-align:left; line-height:1.5; }
.comparison-table th { background:#f4f7f9; font-weight:600; white-space:nowrap; }
.comparison-table a { color:var(--blue); text-decoration:underline; text-underline-offset:4px; }
.audit-note { max-width:950px; font-size:14px; color:var(--muted); line-height:1.8; margin:25px 0 0; }
@media(max-width:700px) {
  .slide-catalog { margin-left:15px; font-size:13px; }
  .page-heading { padding-block:28px; }
  .page-heading h1 { font-size:30px; }
  .page-actions { gap:15px; }
  .project-section-nav { gap:6px 18px; font-size:13px; }
  .project-overview { grid-template-columns:1fr; gap:28px; padding-block:30px; }
  .project-specs { gap:14px 20px; }
  .project-specs dd { font-size:14px; }
  .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .gallery-item img { aspect-ratio:1.25; }
  .gallery-item span { font-size:11px; padding:8px; }
  .video-grid { grid-template-columns:1fr; gap:25px; }
  .detail-section>h2 { font-size:24px; }
  .prose { font-size:15px; }
  .specification summary { padding:18px; font-size:16px; }
  .specification .prose { padding:20px; }
  .project-grid>.project-card:last-child:nth-child(odd) .project-image { display:block; aspect-ratio:1.74; }
  .project-card-actions { padding-inline:17px; }
  .catalog-reader { padding-inline:12px; padding-bottom:40px; }
  .catalog-toolbar { gap:8px; justify-content:space-between; top:85px; }
  .catalog-toolbar button { padding:9px; font-size:11px; }
  .catalog-toolbar label { font-size:12px; }
  .catalog-toolbar select { margin-inline:3px; padding:6px; }
  #catalog-image { height:auto; min-height:0; }
  .gallery-dialog { padding:10px; }
  .gallery-navigation button { font-size:12px; padding:9px 12px; }
}

/* Proje vitrini ve kartlar */
.project-showcase { position:relative; padding-bottom:26px; }
.carousel-stage { border-radius:8px; background:var(--ink); }
.carousel-slide::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,#081c3299 75%,#081c32d9); pointer-events:none; }
.slide-caption { z-index:1; left:0; bottom:0; padding:38px 42px; max-width:680px; background:none; color:#fff; }
.slide-caption p { color:#ffffffd9; letter-spacing:.08em; font-size:12px; }
.slide-caption h2 { font-size:clamp(30px,3.4vw,46px); letter-spacing:-.025em; margin-bottom:22px; }
.slide-caption .button { background:#fff; color:var(--ink); border-radius:4px; }
.slide-caption .button:hover { background:#e9f1f6; }
.slide-caption .slide-catalog { color:#fff; text-decoration-color:#ffffff80; }
.carousel-controls { justify-content:center; gap:18px; margin-top:10px; }
.carousel-projects { gap:0; flex-wrap:nowrap; align-items:center; }
.carousel-controls .carousel-projects button { display:grid; place-items:center; width:34px; height:44px; padding:0; border:0; font-size:0; }
.carousel-projects button::before { content:""; width:6px; height:6px; border-radius:10px; background:#a9b7c2; transition:width .25s,background .25s; }
.carousel-projects button[aria-pressed="true"]::before { width:24px; background:var(--blue); }
.carousel-controls .carousel-playback { width:36px; height:36px; margin:0; padding:0; display:grid; place-items:center; border:1px solid var(--border); border-radius:50%; font-size:0; text-decoration:none; }
.carousel-playback::before { content:""; width:8px; height:10px; border-inline:2px solid var(--ink); }
.carousel-playback[data-playing="false"]::before { width:0; height:0; border:0; border-left:8px solid var(--ink); border-top:5px solid transparent; border-bottom:5px solid transparent; margin-left:2px; }
.project-grid { gap:38px 30px; align-items:start; }
.project-card { border:0; border-radius:7px; background:#f5f7f9; }
.project-card>p:empty,.project-label p:empty { display:none; }
.project-image { aspect-ratio:1.65; }
.project-image img { height:100%; aspect-ratio:inherit; }
.project-label { padding:24px 24px 16px; align-items:flex-start; }
.project-label h3 { font-size:24px; line-height:1.25; letter-spacing:-.02em; }
.project-label p { margin:0; }
.project-label>span,.project-label>p { color:var(--muted); font-size:12px; padding-top:5px; }
.project-card-actions { padding:0 24px 24px; gap:22px; }
.project-card-actions a { text-decoration:none; border-bottom:1px solid #b7c8d3; padding-bottom:4px; }
.project-card-actions a:hover { border-color:var(--blue); }
.page-heading:has(+.section .project-grid) { padding-bottom:0; }
.page-heading+.section:has(.project-grid) { padding-top:28px; }
@media(max-width:700px) {
  .carousel-stage { height:auto; }
  .carousel-slide>img { height:auto; aspect-ratio:1.35; object-fit:cover; }
  .carousel-slide::after { display:none; }
  .slide-caption { padding:24px; min-height:0; background:var(--ink); }
  .slide-caption h2 { font-size:28px; margin-bottom:20px; }
  .slide-caption p { font-size:11px; margin-bottom:10px; }
  .slide-caption .button { padding:12px 16px; }
  .slide-caption .slide-catalog { margin-left:14px; }
  .carousel-controls { align-items:center; gap:14px; margin-top:5px; }
  .project-grid { gap:26px; }
  .project-label { padding:20px 20px 14px; gap:12px; }
  .project-label h3 { font-size:22px; }
  .project-card-actions { padding:0 20px 22px; }
}

.carousel-controls .carousel-playback { display:none; }

.header nav a, .menu-toggle, button, .button, .slide-catalog, .project-card-actions a, .page-actions a, .project-section-nav a { font-weight:600; }
