/*
Theme Name: SBN Theme
Theme URI: https://sbndata.com
Author: SBN Data
Description: SBN Data tarafından geliştirilen bağımsız, panelden yönetilebilir kurumsal WordPress teması.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sbn-theme
*/
:root{--ak:var(--sbn-accent,#ad825a);--ink:#2d2926}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Arial,sans-serif;color:var(--ink);line-height:1.58}a{color:inherit;text-decoration:none}a:hover{color:#ad825a}img{max-width:100%;height:auto}h1,h2,h3,h4,p{margin:0 0 16px}h1{font-size:clamp(32px,4vw,54px);line-height:1.16}h2{font-size:clamp(27px,3vw,40px);line-height:1.2}h3{font-size:23px} .ak-container{max-width:1220px;padding:0 24px;margin:auto}.ak-section{padding:50px 0}.ak-row{display:flex;gap:22px;align-items:stretch;flex-wrap:wrap}.ak-col{min-width:0;flex:1 1 0}.ak-grid{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:24px}.ak-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 24px;border-radius:9px;background:var(--ak);color:white;font-weight:650;transition:.2s}.ak-btn:hover{background:#86603e;color:#fff}.ak-card{background:white;border-radius:14px;overflow:hidden;box-shadow:0 8px 30px #38241813;height:100%}.ak-card-body{padding:22px}.ak-card img{width:100%;height:245px;object-fit:cover}.ak-text{white-space:pre-line}.ak-eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#b38b65;margin-bottom:14px}.ak-menu{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}.ak-menu a{font-weight:600;font-size:14px}.ak-logo{display:block;max-width:100%}.ak-list{padding-left:20px}.ak-list li{padding:5px}.ak-info-box{padding:23px;border:1px solid #e8e0d8;border-radius:12px;background:#fff}.ak-info-box .ak-info-icon{font-weight:800;color:var(--ak);font-size:25px}.ak-testimonial{padding:22px;background:#fff;border-radius:12px;box-shadow:0 5px 20px #00000012}.ak-accordion details{background:#fff;border:1px solid #e5ded7;border-radius:9px;margin:8px 0;padding:15px}.ak-accordion summary{font-weight:700;cursor:pointer}.ak-form{background:white;padding:25px;border-radius:14px;box-shadow:0 7px 30px #0000000d}.ak-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ak-form label{display:block;font-size:14px;font-weight:700}.ak-form input,.ak-form textarea,.ak-form select{display:block;margin-top:5px;width:100%;border:1px solid #d9d2cc;border-radius:8px;padding:12px;font:inherit;background:white}.ak-form textarea{min-height:110px}.ak-form button{border:none;cursor:pointer;margin-top:16px}.ak-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.ak-gallery img{width:100%;height:220px;object-fit:cover;border-radius:9px}.ak-footer-contact{background:#27201c;color:#fff;padding:23px 18px;text-align:center}.ak-footer-contact a{color:#fff;margin:0 9px}.ak-footer-contact a:hover{text-decoration:underline}.ak-mobile-menu{display:none}.ak-block{min-width:0}.ak-section [id]{scroll-margin-top:85px}@media(max-width:850px){.ak-col{flex:1 1 45%}.ak-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ak-section{padding:32px 0}.ak-menu{gap:12px}}@media(max-width:600px){.ak-col{flex:1 1 100%!important}.ak-grid,.ak-gallery,.ak-form-fields{grid-template-columns:1fr}.ak-container{padding:0 17px}.ak-menu{gap:9px}.ak-menu a{font-size:12px}.ak-footer-contact a{display:block;margin:5px 0}.ak-form{padding:18px}}

.ak-menu-list{display:flex;list-style:none;gap:20px;flex-wrap:wrap;margin:0;padding:0;align-items:center}.ak-menu-list li{position:relative}.ak-menu-list .sub-menu{display:none;position:absolute;min-width:180px;z-index:10;top:100%;background:white;padding:12px;list-style:none;box-shadow:0 7px 22px #0002}.ak-menu-list li:hover>.sub-menu,.ak-menu-list li:focus-within>.sub-menu{display:block}.ak-wp-content{padding-top:45px;padding-bottom:60px;min-height:50vh}.ak-wp-content a{text-decoration:underline}@media(max-width:650px){.ak-menu-list{gap:10px}.ak-menu-list .sub-menu{position:static;box-shadow:none}}

:root{--ak:var(--sbn-accent,#ad825a)}

/* SBN Theme v1.7: audited grid, typography and responsive design */
html{scroll-behavior:smooth}
body{overflow-x:clip}
.ak-container{box-sizing:border-box;width:min(calc(100% - 48px),1220px);max-width:1220px;margin-left:auto!important;margin-right:auto!important;padding:0}
.ak-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:var(--sbn-gap,22px);width:100%}
.ak-row>.ak-col{flex:none!important;min-width:0;max-width:none!important;width:auto!important}
.ak-section{width:100%}
.ak-grid{min-width:0}
.ak-grid>*{min-width:0}
.ak-btn{border:0;text-decoration:none;line-height:1.3;white-space:normal;min-height:44px;max-width:100%;padding:11px 20px}
.ak-section h1,.ak-section h2,.ak-section h3,.ak-section p{overflow-wrap:break-word}
.ak-section h1,.ak-section h2,.ak-section h3{margin:0 0 18px}
.ak-section .ak-text{max-width:100%;white-space:normal}
.ak-section .ak-text p{margin:0 0 15px}
.ak-logo{object-fit:contain;height:auto;max-height:94px;width:auto;max-width:100%}
.ak-menu,.ak-menu-list{min-width:0;justify-content:center}
.ak-menu a{font-size:14px;white-space:nowrap}
.ak-card-body{padding:18px 20px 20px}
.ak-card-body h3{font-size:20px;line-height:1.25}
.ak-gallery img{display:block}
.ak-section[style*="background-color:#2e2722"] a,.ak-section[style*="background-color:#3a3029"] a{color:inherit}
/* Accessibility: dark backgrounds must not inherit the default dark typography. */
.ak-section.sbn-node-s000116{color:#e6dcd3!important}
.ak-section.sbn-node-s000116 h2,.ak-section.sbn-node-s000116 h3{color:#fff}
.ak-section.sbn-node-s000116 .ak-text{color:#d8cec5}
.ak-section.sbn-node-s000116 a:hover{color:#fff;text-decoration:underline}
@media(max-width:900px){
 .ak-container{width:min(calc(100% - 36px),1220px)}
 .ak-row{gap:var(--sbn-gap,18px)}
 .ak-menu-list{gap:14px}
 .ak-logo{max-height:76px}
 .ak-card img{height:220px}
}
@media(max-width:600px){
 .ak-container{width:calc(100% - 30px)}
 .ak-section{padding-block:38px}
 .ak-row{gap:var(--sbn-gap,14px)}
 .ak-row>.ak-col{min-width:0}
 .ak-menu-list{gap:10px 15px;justify-content:flex-start}
 .ak-menu a{font-size:13px}
 .ak-btn{padding:12px 17px}
 .ak-logo{max-height:70px}
 .ak-grid,.ak-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ak-form-fields{grid-template-columns:1fr}
 .ak-card img{height:170px}
 .ak-card-body{padding:13px}
 .ak-card-body h3{font-size:17px}
}
@media(max-width:410px){.ak-grid{grid-template-columns:1fr}}

/* Navigation: readable links on desktop, collapsible accessible menu on phones. */
.ak-desktop-links{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.ak-mobile-nav{display:none}
@media(max-width:600px){
 .ak-desktop-links{display:none}
 .ak-mobile-nav{display:block;width:100%}
 .ak-mobile-nav summary{cursor:pointer;list-style:none;background:#f8f4ef;color:#332a25;padding:12px 16px;border:1px solid #e9ddd2;border-radius:8px;font-weight:700}
 .ak-mobile-nav summary::before{content:'☰';padding-right:12px}
 .ak-mobile-links{display:flex;flex-direction:column;align-items:stretch;padding:12px 6px;gap:3px}
 .ak-mobile-links>a,.ak-mobile-links .ak-menu-list>li>a{display:block;padding:9px 12px;line-height:1.4}
 .ak-mobile-links .ak-menu-list{display:block}
 .ak-mobile-links .ak-menu-list .sub-menu{display:block;position:static;box-shadow:none}
}

/* SBN Theme v1.8: robust readable step cards, even with saved v1.7 panel designs. */
.sbn-node-x000054.ak-info-box,
.sbn-node-x000055.ak-info-box,
.sbn-node-x000056.ak-info-box,
.sbn-node-x000057.ak-info-box{color:#f5eee8!important;}
.sbn-node-x000054.ak-info-box h3,.sbn-node-x000055.ak-info-box h3,.sbn-node-x000056.ak-info-box h3,.sbn-node-x000057.ak-info-box h3{color:#fff!important;font-weight:700;}
.sbn-node-x000054.ak-info-box p,.sbn-node-x000055.ak-info-box p,.sbn-node-x000056.ak-info-box p,.sbn-node-x000057.ak-info-box p{color:#eee4da!important;}
.sbn-node-x000054.ak-info-box .ak-info-icon,.sbn-node-x000055.ak-info-box .ak-info-icon,.sbn-node-x000056.ak-info-box .ak-info-icon,.sbn-node-x000057.ak-info-box .ak-info-icon{color:#f6d0ac!important;}


/* SBN Theme v1.9: site-wide accessible surface colours and form legibility.
   A child with a light surface must NEVER inherit the foreground of a dark section. */
.ak-form,.ak-card,.ak-testimonial,.ak-accordion details{color:#302922!important}
.ak-form h1,.ak-form h2,.ak-form h3,.ak-form h4,.ak-form h5,.ak-form h6{color:#29231f!important}
.ak-form p,.ak-form label,.ak-form legend,.ak-form small,.ak-form strong,
.ak-form .ak-form-fields,.ak-form .ak-form-fields label{color:#37302a!important}
.ak-form input,.ak-form select,.ak-form textarea{color:#2c2825!important;background:#fff!important;border:1px solid #a9a19b!important;opacity:1!important}
.ak-form input::placeholder,.ak-form textarea::placeholder{color:#605852!important;opacity:1!important}
.ak-form input:focus-visible,.ak-form select:focus-visible,.ak-form textarea:focus-visible{outline:3px solid #a07c5c!important;outline-offset:2px}
.ak-form button.ak-btn{background:#79543e!important;color:#fff!important;font-weight:700!important}
.ak-form button.ak-btn:hover{background:#66432f!important}
.ak-accordion summary,.ak-card h3,.ak-card p,.ak-testimonial p,.ak-testimonial strong{color:#302922!important}
/* Light information cards default to dark type, but genuinely dark cards use a light palette. */
.ak-info-box:not([class*="sbn-node-x00005"]){color:#302922}
.ak-eyebrow{color:#765337}
.ak-section[style*="background-color:#3a3029"] .ak-eyebrow,
.ak-section[style*="background-color:#2e2722"] .ak-eyebrow,
.ak-section[style*="background-color:#3c332c"] .ak-eyebrow{color:#e8c6a5}
@media(hover:hover){.ak-btn:hover{filter:brightness(.94)}}
/* Every service/about/quote/contact photo hero must have sufficient dark overlay
   for white text; a background photograph alone cannot guarantee contrast. */
.akbas-page-hero{position:relative;isolation:isolate;color:#fff!important}
.akbas-page-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(25,19,16,.94) 0%,rgba(25,19,16,.85) 40%,rgba(25,19,16,.48) 76%,rgba(25,19,16,.28) 100%)}
.akbas-page-hero>.ak-container{position:relative;z-index:1}
.akbas-page-hero h1,.akbas-page-hero h2,.akbas-page-hero p,.akbas-page-hero .ak-text{color:#fff!important}
.akbas-page-hero .ak-eyebrow{color:#f1d2b1!important}
@media(max-width:600px){.akbas-page-hero::before{background:rgba(25,19,16,.83)}}

/* SBN Theme v1.9: final global layout polish. Avoid double button backgrounds. */
.ak-button-wrap{background:transparent!important}
.ak-button-wrap .ak-btn{width:auto;max-width:100%;text-align:center}
@media(max-width:600px){
 /* Header includes site logo, collapsible main menu, and primary call-to-action. */
 .ak-row:has(> .ak-col .ak-menu){grid-template-columns:minmax(0,130px) minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;row-gap:8px!important}
 .ak-row:has(> .ak-col .ak-menu)>.ak-col:has(.ak-logo){grid-column:1!important;grid-row:1!important}
 .ak-row:has(> .ak-col .ak-menu)>.ak-col:has(.ak-menu){grid-column:2!important;grid-row:1!important}
 .ak-row:has(> .ak-col .ak-menu)>.ak-col:has(>.ak-button-wrap){grid-column:1/-1!important;grid-row:2!important}
 .ak-row:has(> .ak-col .ak-menu) .ak-logo{max-width:130px!important;max-height:75px!important}
 .ak-row:has(> .ak-col .ak-menu) .ak-mobile-nav summary{text-align:center;padding:10px 7px;white-space:nowrap}
 .ak-row:has(> .ak-col .ak-menu) .ak-button-wrap .ak-btn{width:100%}
 .ak-row:has(> .ak-col .ak-menu) .ak-menu{display:block}
}
