/*
Theme Name: MyAks Ambalaj
Description: MyAks Ambalaj kurumsal web sitesi. Mevcut HTML tasarımının WordPress uyarlaması.
Version: 1.0.0
Requires at least: 5.2
Requires PHP: 7.4
Text Domain: myaks-ambalaj
*/

:root{--orange:#e96316;--dark:#25221f;--cream:#fff8f1;--muted:#73685f;--line:#eaded4}*{box-sizing:border-box}body{margin:0;color:var(--dark);font:16px/1.65 Arial,Helvetica,sans-serif;background:#fff}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #9b3b06;outline-offset:5px}::selection{background:#ffbc81}header{border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:10}.bar{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 36px}.brand{width:150px;height:72px;overflow:hidden;display:flex;align-items:center}.brand img{width:150px;display:block}nav{display:flex;align-items:center;gap:25px}nav a{font-size:14px;font-weight:600;padding:12px 0;border-bottom:2px solid transparent}nav a.active{color:#b34305;border-color:var(--orange)}nav a:last-child{border:1px solid var(--orange);padding:9px 18px;border-radius:6px}.menu{display:none;background:none;border:1px solid var(--line);border-radius:6px;padding:7px 12px}.wrap{max-width:1208px;margin:auto;padding:64px 0}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:700;color:#a84109;margin:0 0 20px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,5.7vw,78px);line-height:1.06;letter-spacing:-2.7px;margin-bottom:28px;font-weight:600}h2{font-size:clamp(28px,3.5vw,44px);line-height:1.2;letter-spacing:-1px;font-weight:500}h3{font-size:23px;line-height:1.25;font-weight:500}p{color:var(--muted)}.lead{font-size:18px;max-width:630px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:28px;background:var(--dark);color:white;padding:14px 22px;border-radius:5px;border:1px solid var(--dark);font-weight:600;font-size:14px}.btn.light{background:white;color:var(--dark);border-color:var(--line)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero{background:var(--cream);position:relative;overflow:hidden}.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;padding-top:68px;padding-bottom:68px}.hero h1 span{color:var(--orange)}.hero-art{background:var(--orange);border-radius:120px 8px 120px 8px;padding:65px 35px;min-height:420px;display:flex;flex-direction:column;justify-content:space-between;color:white;box-shadow:18px 18px 0 #f8dec4}.hero-art img{width:100%;mix-blend-mode:multiply;border-radius:4px}.hero-art .type{font-size:14px;letter-spacing:3px;line-height:2;text-transform:uppercase}.hero-art .number{font-size:56px;line-height:1;font-weight:500;letter-spacing:-2px}.strip{background:var(--dark);color:white}.strip .wrap{padding:23px 0;display:flex;justify-content:space-between;gap:20px;font-size:14px}.strip span{color:#fac092}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.section-heading h2{margin-bottom:0}.textlink{font-size:14px;color:#ae450b;font-weight:700}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}.product{padding:28px;position:relative;min-height:220px;background:var(--cream);border-top:3px solid var(--orange)}.index{font-size:14px;display:block;color:#a84109;margin-bottom:28px}.product p{margin-bottom:0}.band{background:#fdf0e3}.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.bigtype{font-size:clamp(40px,5vw,68px);line-height:1.1;color:#bb490c;letter-spacing:-2px}.page-head{background:var(--cream);border-bottom:1px solid var(--line)}.page-head .wrap{padding-top:48px;padding-bottom:48px}.page-head h1{font-size:clamp(36px,5vw,62px);margin-bottom:16px}.page-head p:last-child{margin-bottom:0}.doc-preview{height:350px;padding:24px;background:#f4f1ee;border:0;display:block;width:100%;position:relative}.doc-preview img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #0002);transition:transform .2s}.doc-preview:hover img{transform:scale(1.035)}.doc-info{padding:24px}.doc-info h3{font-size:21px;margin:8px 0}.tag{font-size:12px;color:#a6400a;letter-spacing:1.2px;font-weight:700}.doc-info p{font-size:14px;margin-bottom:14px}.doc-info button{color:#aa4208;border:0;background:none;padding:0;font-size:14px;font-weight:700}.material-group{margin-bottom:50px}.material-group .grid{grid-template-columns:repeat(2,1fr);max-width:840px}.material-group:last-child .grid{grid-template-columns:1fr;max-width:408px}.about-block{border-left:3px solid var(--orange);padding-left:28px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.contact-main{background:var(--orange);padding:40px;border-radius:8px;color:white}.contact-main p{color:white}.contact-main a{display:block;font-size:clamp(18px,2.8vw,28px);margin-bottom:24px;overflow-wrap:anywhere}.contact-label{font-size:13px;text-transform:uppercase;letter-spacing:1.5px;opacity:.85;margin-bottom:5px!important}.details{margin:0}.details div{padding:17px 0;border-bottom:1px solid var(--line)}dt{font-size:13px;color:var(--muted)}dd{margin:3px 0 0;font-size:16px;overflow-wrap:anywhere}.address{font-style:normal;font-size:20px;line-height:1.65}.contact-foot{margin-top:40px;padding:30px;background:var(--cream);border-radius:6px}.contact-foot p{margin:0}footer{background:var(--dark);color:white}footer .wrap{padding-top:40px;padding-bottom:22px}.footer-top{display:flex;justify-content:space-between;gap:30px}.footer-name{font-size:35px;color:#f29552;font-family:Georgia,serif}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:14px;align-items:center}.footer-bottom{border-top:1px solid #ffffff25;margin-top:28px;padding-top:20px;font-size:12px;color:#c1b7b0;display:flex;justify-content:space-between;gap:15px}main{min-height:65vh}section[hidden]{display:none}dialog{border:0;border-radius:10px;padding:0;width:min(1000px,95vw);max-height:94vh;background:#f2eeea}dialog::backdrop{background:#17120fdc}.dialog-bar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;background:white;z-index:1}.dialog-bar p{margin:0;font-weight:600;color:var(--dark)}.dialog-bar button{background:var(--dark);border:0;color:white;border-radius:5px;padding:8px 16px}.dialog-image{width:100%;height:auto;display:block}.doc-meta{display:flex;justify-content:space-between;padding:12px 20px;background:white;font-size:14px}.doc-meta a{color:#9d3d07;font-weight:700}@media(min-width:1400px){.hero .wrap{padding-top:85px;padding-bottom:85px}}@media(max-width:1280px){.wrap{margin-left:36px;margin-right:36px}.hero .wrap{gap:45px}nav{gap:17px}}@media(max-width:900px){.bar{padding:8px 22px}.menu{display:block}nav{display:none;position:absolute;top:89px;left:0;right:0;flex-direction:column;align-items:stretch;padding:16px 24px;background:white;border-bottom:1px solid var(--line);gap:3px}nav.open{display:flex}.wrap{margin-left:24px;margin-right:24px;padding:44px 0}.hero .wrap{grid-template-columns:1fr 1fr;gap:28px}.hero-art{min-height:330px;padding:40px 24px}.grid{gap:16px}.split{gap:36px}.doc-preview{height:290px}.doc-info{padding:18px}}@media(max-width:650px){h1{letter-spacing:-1.5px}.hero .wrap{grid-template-columns:1fr;padding-top:42px;padding-bottom:44px;gap:36px}.hero-art{min-height:250px;max-width:420px;width:95%;border-radius:70px 6px 70px 6px;padding:30px}.hero-art img{width:80%;align-self:center}.hero-art .number{font-size:38px}.hero-art .type{font-size:12px}.grid,.split,.contact-grid,.material-group .grid{grid-template-columns:1fr}.material-group .grid,.material-group:last-child .grid{max-width:none}.strip .wrap{flex-direction:column;gap:6px;padding:18px 0}.section-heading{align-items:start;flex-direction:column;gap:15px}.footer-top,.footer-bottom{flex-direction:column}.footer-links{gap:14px 22px}.contact-main{padding:28px}.doc-preview{height:360px}.doc-info h3{font-size:23px}.lead{font-size:17px}.product{min-height:0}.page-head .wrap{padding:34px 0}.bigtype{font-size:42px}.dialog-bar{padding:10px;font-size:14px}.dialog-bar button{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}} 

/* Always-visible navigation and native page links; no script needed to display content. */
.brand{width:204px;height:70px;flex-shrink:0}.brand img{width:204px;height:70px;object-fit:cover;object-position:center}
.hero-art img{mix-blend-mode:normal;background:#fff;height:145px;object-fit:cover;object-position:center;width:100%}
main>section{display:none;scroll-margin-top:100px}main>section:target{display:block}main:not(:has(>section:target))>section#anasayfa{display:block}
@media(max-width:1000px){.bar{flex-wrap:wrap;justify-content:center;gap:4px;padding:7px 20px 12px}.menu{display:none!important}nav,nav.open{position:static;display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;width:100%;padding:0;border:0;gap:5px 20px}nav a{padding:8px 0;font-size:14px}nav a:last-child{padding:6px 12px}main>section{scroll-margin-top:165px}}
@media(max-width:650px){header{position:relative}.bar{padding:6px 14px 14px}.brand{width:200px;height:72px}.brand img{width:200px;height:72px}nav,nav.open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}nav a,nav a:last-child{font-size:14px;line-height:1.3;text-align:center;padding:11px 4px;border:1px solid #f0d7c4;border-radius:5px;background:#fff8f1;display:flex;align-items:center;justify-content:center}nav a.active{background:#fce5d4;color:#953704;border-color:#e96316}.hero-art img{width:100%;height:110px;object-fit:cover}main>section{scroll-margin-top:0}}

.hero .wrap{grid-template-columns:1fr;gap:0}.hero .wrap>div{max-width:850px}

/* Transparent logo with a separate, crisp brand signature. */
.brand{width:220px;height:auto;min-height:101px;overflow:visible;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:6px 0}
.brand img{display:block;width:220px;height:74px;object-fit:contain;background:transparent;mix-blend-mode:normal}
.brand-caption{display:block;color:#45413d;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:18px;line-height:1.3;letter-spacing:2px;white-space:nowrap;text-align:center}
main>section{scroll-margin-top:140px}
@media(max-width:1000px){main>section{scroll-margin-top:210px}}
@media(max-width:650px){.brand{width:214px;height:auto;min-height:99px}.brand img{width:214px;height:72px}.brand-caption{font-size:17px;letter-spacing:2px}main>section{scroll-margin-top:0}}

body.admin-bar header{top:32px}@media(max-width:782px){body.admin-bar header{top:46px}}@media(max-width:600px){body.admin-bar header{top:0}}
