/* Shared theme tokens. Photography and architectural drawings keep their original colors. */
:root{color-scheme:light;--theme-bg:#fff;--theme-surface:#fff;--theme-raised:#f3f7fb;--theme-text:#102849;--theme-muted:#65738a;--theme-border:#e1e7ee;--theme-link:#154c83;--theme-focus:#c95108}
:root[data-theme="dark"]{color-scheme:dark;--theme-bg:#0c1520;--theme-surface:#131f2d;--theme-raised:#192737;--theme-text:#ecf2f8;--theme-muted:#aebdd0;--theme-border:#34475c;--theme-link:#a6cff6;--theme-focus:#ffb077;--paper:var(--theme-bg);--ink:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-border);--orange:#f89a58;--white:#fff}
.header-contact{height:44px;min-height:44px;gap:18px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--theme-text);font:650 11px 'DM Sans',Arial,sans-serif;text-shadow:none;cursor:pointer;border-radius:9px}
.theme-track{display:flex;align-items:center;position:relative;isolation:isolate;width:58px;height:30px;padding:3px;border:1px solid #bac8d9;background:#e7edf4;border-radius:20px}
.theme-sun,.theme-moon{position:relative;z-index:1;display:grid;place-items:center;width:25px;height:24px;color:#65738a}
.theme-toggle .theme-track svg{width:15px;height:15px;color:inherit;flex:none}
.theme-thumb{position:absolute;z-index:0;top:3px;left:3px;width:24px;height:22px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #10284926;transition:transform .22s ease,background .22s}
.theme-sun{color:#a54810}
.theme-toggle:hover .theme-track{border-color:var(--orange)}
.theme-toggle:focus-visible{outline:2px solid var(--theme-focus);outline-offset:1px}
.theme-toggle .theme-label{display:none}
[data-theme="dark"] .theme-track{background:#09131f;border-color:#52667f}
[data-theme="dark"] .theme-thumb{transform:translateX(26px);background:#f5b982;box-shadow:none}
[data-theme="dark"] .theme-sun{color:#aebdd0}
[data-theme="dark"] .theme-moon{color:#142231}
[data-theme="dark"] .theme-label{color:var(--theme-text)}
[data-theme="dark"] body{background:var(--theme-bg);color:var(--theme-text)}
[data-theme="dark"] :is(.reference-tint,.sub-intro,.model-plan,.gelibolu-plan,.partners,.contact-details,.contact-map){background:var(--theme-raised)}
[data-theme="dark"] :is(.collection,.reference-model,.model-card,.related .model-card,.reference-faq details,.reference-contact form,.gelibolu-area-card){background:var(--theme-surface);border-color:var(--theme-border)}
[data-theme="dark"] .related{background:var(--theme-bg)}
.service-image-viewport{display:block;height:340px;overflow:hidden;border-radius:5px;background:var(--theme-surface)}
.service-image-viewport>img{width:100%;height:100%;object-fit:cover;transform:scale(1.19);border-radius:0}
[data-theme="dark"] :is(.eyebrow,.reference-hero-copy .eyebrow,.gelibolu-area-table thead th){color:var(--theme-muted)}
[data-theme="dark"] :is(.text-link,.contact-map-note a){color:var(--theme-link);border-color:var(--theme-border)}
[data-theme="dark"] :is(.reference-benefits svg,.reference-faq summary i){color:var(--theme-link)}
[data-theme="dark"] :is(.gelibolu-title-row>p,.gelibolu-title-row h1>span,.gelibolu-description,.gelibolu-model-meta,.gelibolu-section-heading>p,.gelibolu-feature-grid p,.model-floor-caption,.model-area-note,.gelibolu-area-table td span,.gelibolu-plan-figure figcaption,.reference-contact label,.reference-contact .form-note){color:var(--theme-muted)}
[data-theme="dark"] :is(.gelibolu-jumps,.gelibolu-feature-grid article,.gelibolu-overview .spec-grid>div,.gelibolu-model-meta span+span,.gelibolu-area-table th,.gelibolu-area-table td,.model-area-note,.model-info span+span,.model-card>.text-link,.collection-tools,.model-toolbar){border-color:var(--theme-border)}
[data-theme="dark"] .reference-values>div>span{background:#213b32;color:#b3dfb9}
[data-theme="dark"] .reference-process>div:not(:last-child):after{background:var(--theme-border)}
[data-theme="dark"] .reference-process>div>span{background:#274f73;color:#fff}
[data-theme="dark"] .reference-faq summary>span{background:#354d66;color:#fff}
[data-theme="dark"] :is(input,textarea,select,.reference-contact input,.reference-contact textarea,.reference-contact select,.collection-search){background:#0d1825;color:var(--theme-text);border-color:#52667f;accent-color:var(--orange)}
[data-theme="dark"] :is(input,textarea)::placeholder{color:#a2b2c7;opacity:1}
[data-theme="dark"] :is(select option,.reference-contact select option){background:var(--theme-surface);color:var(--theme-text)}
[data-theme="dark"] :is(input,textarea,select):focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}
[data-theme="dark"] #form-status{color:#b3dfb9}
[data-theme="dark"] :is(.button.orange,.orange,#nav .mobile-nav-contact .button){background:#f89a58;color:#182331}
[data-theme="dark"] :is(.button.orange,.orange):hover{background:#ffb27e;color:#111f2b}
[data-theme="dark"] .button:not(.orange){background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-border)}
[data-theme="dark"] .button:not(.orange):hover{background:#263b51}
[data-theme="dark"] .image-tag{background:#111e30eb;color:#ecf2f8}
[data-theme="dark"] :is(.picture-arrow,.detail-gallery button>span){background:var(--theme-surface);color:var(--theme-text)}
[data-theme="dark"] .model-floor-tabs{background:#09131f;border:1px solid var(--theme-border)}
[data-theme="dark"] .model-floor-tabs button{color:var(--theme-muted)}
[data-theme="dark"] .model-floor-tabs button[aria-selected="true"]{background:#2a3f55;color:#fff;box-shadow:none}
/* Keep technical plans on a white drawing sheet, with a separate dark caption. */
[data-theme="dark"] .gelibolu-plan-figure{background:var(--theme-surface);border-color:var(--theme-border)}
[data-theme="dark"] .gelibolu-plan-button{background:var(--theme-surface);color:var(--theme-text)}
[data-theme="dark"] .gelibolu-plan-button>img{background:white;border-radius:4px}
[data-theme="dark"] .gelibolu-plan-button>span{border-color:var(--theme-border)}
[data-theme="dark"] .gelibolu-area-bar span:first-child{background:#294f73;color:#fff}
[data-theme="dark"] .gelibolu-area-bar span:last-child{background:#f4dbc7;color:#65300f}
[data-theme="dark"] .gelibolu-area-bar.single span{background:#294f73;color:#fff}
[data-theme="dark"] .model-plan .prose>p{background:var(--theme-surface);border-color:var(--theme-border)}
[data-theme="dark"] :is(.small-cta,.contact){background:#172c41;color:#ecf2f8}
[data-theme="dark"] .full-footer{background:#08111b;color:#ecf2f8}
[data-theme="dark"] .full-footer .footer-bottom{border-color:var(--theme-border);color:var(--theme-muted)}
[data-theme="dark"] .full-footer .footer-columns{border-color:var(--theme-border)}
[data-theme="dark"] .reference-contact{background-image:linear-gradient(90deg,#08121dea,#08121d80),url('/assets/optimized/e0a85dd5cb222f77-3840.webp')}
[data-theme="dark"] .contact-map-frame{border-color:var(--theme-border);background:var(--theme-surface)}
[data-theme="dark"] .skip{background:var(--theme-surface);color:var(--theme-text)}
[data-theme="dark"] .header-navigation{background:#131f2df5;border-color:#3c5068;box-shadow:0 12px 32px #0003}
[data-theme="dark"] .header-contact{color:var(--theme-muted)}
[data-theme="dark"] header.is-scrolled .header-contact{background:#0c1520f5}
[data-theme="dark"] .header-contact a.language-switch{background:#131f2d;color:#e5edf8;border-color:#52667f}
[data-theme="dark"] :is(.header-navigation>.brand>.header-logo-mark,.full-footer>.brand>.footer-logo-mark){background:transparent;border-radius:0}
[data-theme="dark"] :is(.header-navigation>.brand>.header-logo-mark>img,.full-footer>.brand>.footer-logo-mark>img){content:url('/assets/brand-logo-dark.webp');background:transparent;mix-blend-mode:normal;border-radius:0}
[data-theme="dark"] :is(.header-navigation>.brand,.full-footer>.brand){color:#ecf2f8}
[data-theme="dark"] .menu{background:#1d2d40;border-color:var(--theme-border);color:var(--theme-text)}
[data-theme="dark"] .menu[aria-expanded="true"]{background:#294058;border-color:#52667f}
[data-theme="dark"] .reference-hero{background:#101c2b}
[data-theme="dark"] .reference-hero-wash{background:linear-gradient(270deg,#0c1520 0%,#0c1520 3%,#0c152000 5%),linear-gradient(90deg,#0c1520f7 0%,#0c1520ec 27%,#0c1520ba 43%,#0c152026 66%,transparent 85%)}
[data-theme="dark"] .reference-hero-copy>p:not(.eyebrow){color:#c7d5e6}
[data-theme="dark"] .reference-hero-copy .eyebrow{color:#c7d5e6}
[data-theme="dark"] .reference-handwriting{color:white;text-shadow:0 2px 8px #08111b}
@media(min-width:781px){
 [data-theme="dark"] .header-navigation>nav{background:transparent}
 [data-theme="dark"] .home-page header:not(.is-scrolled) .header-contact{color:#e5edf8}
}
@media(max-width:780px){
 .service-image-viewport{height:280px}
 .header-contact{gap:8px;padding:0 2px}
 .theme-toggle{padding:0;min-width:44px;margin-left:0}
 .theme-track{width:46px;height:28px;padding:2px}
 .theme-sun,.theme-moon{width:20px;height:22px}
 .theme-thumb{top:3px;left:3px;width:19px;height:20px}
 [data-theme="dark"] .theme-thumb{transform:translateX(20px)}
 .theme-label{display:none}
 .header-contact .header-address{max-width:none;font-size:8px}
 [data-theme="dark"] #nav{background:var(--theme-surface);border-color:var(--theme-border)}
 [data-theme="dark"] :is(#nav>a,.mobile-nav-intro){border-color:var(--theme-border)}
 [data-theme="dark"] :is(.mobile-nav-intro>p,.mobile-nav-contact>p,#nav .mobile-nav-contact .mobile-nav-phone){color:var(--theme-muted)}
 [data-theme="dark"] .reference-hero-wash{background:linear-gradient(180deg,#0c1520b8 0%,#0c1520a1 28%,#0c15208c 48%,#0c15201f 65%,transparent 90%)}
 [data-theme="dark"] .reference-hero-copy h1{color:#fff;text-shadow:0 2px 14px #08111bb3}
 [data-theme="dark"] .reference-hero-copy>p:not(.eyebrow){color:#f0f4fa;text-shadow:0 1px 8px #08111bcc}
}
@media(prefers-reduced-motion:reduce){.theme-thumb{transition:none}}
@media print{.theme-toggle{display:none}html[data-theme="dark"]{--ink:#102849;--muted:#52647b;--paper:#fff}html[data-theme="dark"] body{background:#fff;color:#102849}}
