/*
Theme Name: AGAT Meble Tapicerowane
Theme URI: https://meble-agat.pl/
Author: OpenAI
Description: Minimalistyczny motyw wizytówkowy dla producenta mebli tapicerowanych AGAT. Wymaga WordPressa 6.4+.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: agat-furniture
*/
/* AGAT — minimalistyczny motyw wizytówkowy */
:root{--ink:#252522;--muted:#77766f;--cream:#f4f1eb;--paper:#fbfaf7;--line:#dedbd3;--accent:#a77b5b;--white:#fff;--max:1220px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;padding:12px;z-index:1000}.skip-link:focus{left:12px}
.site-header{position:relative;z-index:5;background:var(--paper);border-bottom:1px solid rgba(37,37,34,.09)}
.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.wordmark{display:inline-flex;flex-direction:column;font-size:30px;font-weight:800;letter-spacing:.18em;line-height:1;color:var(--ink)}
.wordmark span{font-size:9px;letter-spacing:.19em;font-weight:600;margin-top:8px}
.custom-logo{max-width:220px;height:auto}
.main-nav .menu,.footer-links .menu{display:flex;align-items:center;gap:27px;list-style:none;padding:0;margin:0}
.main-nav a{font-size:12px;letter-spacing:.04em;color:#494842}
.main-nav a:hover,.text-link:hover{color:var(--accent)}
.header-cta{border:1px solid var(--ink);padding:10px 17px;font-size:12px;letter-spacing:.04em;white-space:nowrap}
.header-cta span,.button span,.text-link span{margin-left:12px}
.hero{min-height:650px;position:relative;display:flex;align-items:center;color:white;background:#49453f;overflow:hidden}
.hero-image{position:absolute;inset:0;background-image:url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=2200&q=85');background-position:center 55%;background-size:cover;transform:scale(1.01)}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,22,20,.76) 0%,rgba(23,22,20,.52) 42%,rgba(23,22,20,.08) 100%)}
.hero-content{position:relative;z-index:1;padding-top:80px;padding-bottom:90px}
.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;margin:0 0 22px;color:var(--accent)}
.hero .eyebrow{color:#e2c4a9}
h1,h2{font-weight:500;letter-spacing:-.045em;line-height:1.07;margin:0}
.hero h1{font-size:clamp(48px,7vw,88px);max-width:800px}
h1 em,h2 em{font-family:Georgia,'Times New Roman',serif;font-weight:400}
.hero-copy{max-width:460px;color:rgba(255,255,255,.85);font-size:16px;margin:26px 0 32px}
.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;padding:15px 21px;font-size:12px;letter-spacing:.035em;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button-light{background:var(--paper);color:var(--ink)}
.button-dark{background:var(--ink);color:white}
.text-link{display:inline-block;border-bottom:1px solid currentColor;padding-bottom:5px;font-size:12px;letter-spacing:.02em}
.text-link-light{color:white}
.hero-index{position:absolute;right:max(24px,calc((100vw - var(--max))/2));bottom:30px;display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.15em;color:rgba(255,255,255,.8)}
.hero-index span{width:36px;height:1px;background:#d9b89a}
.section-pad{padding:105px 0}
.intro{background:var(--paper)}
.intro-grid{display:grid;grid-template-columns:1fr 2fr;gap:8%;align-items:start}
.intro h2,.section-heading h2,.made-copy h2,.closing-inner h2{font-size:clamp(38px,5vw,60px)}
.lead{font-size:18px;line-height:1.8;max-width:670px;color:#66645d;margin:25px 0 28px}
.collections{background:var(--cream)}
.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:42px}
.section-heading h2{max-width:660px}
.section-heading>p{max-width:260px;color:var(--muted);font-size:13px;margin:0 0 5px}
.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.collection-card{position:relative;min-height:330px;display:flex;flex-direction:column;justify-content:space-between;padding:24px;color:white;overflow:hidden;background-color:#80776d;background-size:cover;background-position:center}
.collection-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.62));transition:background .2s}
.collection-card:hover:before{background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.72))}
.collection-bed{background-image:url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1200&q=80')}
.collection-corner{background-image:url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=1200&q=80')}
.collection-sofa{background-image:url('https://images.unsplash.com/photo-1550254478-613a2b5a2a9a?auto=format&fit=crop&w=1200&q=80')}
.collection-chair{background-image:url('https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?auto=format&fit=crop&w=1200&q=80')}
.card-number,.card-bottom{position:relative;z-index:1}
.card-number{font-size:10px;letter-spacing:.15em}
.card-bottom{display:flex;align-items:end;justify-content:space-between;gap:15px}
.card-bottom strong{display:block;font-size:25px;font-weight:500;letter-spacing:-.025em}
.card-bottom small{display:block;font-size:12px;color:rgba(255,255,255,.8);margin-top:5px}
.card-arrow{width:38px;height:38px;border:1px solid rgba(255,255,255,.7);border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.made-for-you{background:var(--paper)}
.made-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:9%}
.made-photo{min-height:510px;background-image:url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1300&q=85');background-size:cover;background-position:center}
.made-copy{padding:25px 0}
.made-copy p:not(.eyebrow){max-width:460px;color:var(--muted);margin:24px 0 30px}
.closing-cta{background:#282824;color:white;padding:90px 0;text-align:center}
.closing-inner .eyebrow{color:#d8b79b}
.closing-inner h2{margin-bottom:32px}
.site-footer{background:#1e1e1c;color:#fff;padding:42px 0}
.footer-inner{display:grid;grid-template-columns:1.2fr 1fr auto;gap:35px;align-items:center}
.wordmark-light{color:#fff;font-size:26px}
.footer-inner p{font-size:12px;color:#b6b4ad;margin:14px 0 0}
.footer-links .menu{flex-wrap:wrap;gap:12px 20px}
.footer-links a,.footer-note{font-size:11px;color:#c9c7c0}
.page-heading{background:var(--cream);padding:80px 0 72px}
.page-heading h1{font-size:clamp(42px,6vw,72px)}
.page-heading p:not(.eyebrow){color:var(--muted);max-width:600px}
.page-content{padding-top:60px;padding-bottom:90px;max-width:900px}
.page-featured{margin-bottom:35px}
.entry-content{font-size:16px;line-height:1.8}
.entry-content h2,.entry-content h3{margin-top:1.6em}
.entry-content a{color:var(--accent);text-decoration:underline}
.posts-list{padding-top:55px;padding-bottom:90px}
.post-card{display:grid;grid-template-columns:300px 1fr;gap:35px;padding:28px 0;border-bottom:1px solid var(--line)}
.post-card h2{font-size:30px;margin-bottom:12px}
.post-card h2 a:hover{color:var(--accent)}
@media(max-width:900px){.header-inner{min-height:78px;gap:15px}.main-nav .menu{gap:13px}.main-nav a{font-size:11px}.header-cta{display:none}.hero{min-height:580px}.intro-grid{grid-template-columns:1fr;gap:25px}.made-grid{gap:5%}.made-photo{min-height:420px}.footer-inner{grid-template-columns:1fr 1fr}.footer-note{grid-column:1/-1}}
@media(max-width:640px){.container{width:calc(100% - 36px)}.header-inner{align-items:flex-start;flex-direction:column;padding:18px 0}.wordmark{font-size:26px}.main-nav{width:100%;overflow-x:auto}.main-nav .menu{width:max-content;gap:18px;padding:8px 0}.hero{min-height:590px}.hero-content{padding-top:70px;padding-bottom:85px}.hero h1{font-size:48px}.hero-copy{font-size:14px}.hero-actions{align-items:flex-start;flex-direction:column;gap:20px}.section-pad{padding:68px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:18px}.collection-grid{grid-template-columns:1fr}.collection-card{min-height:300px}.made-grid{grid-template-columns:1fr;gap:30px}.made-photo{min-height:330px;order:2}.made-copy{order:1}.closing-cta{padding:70px 0}.footer-inner{grid-template-columns:1fr;gap:25px}.footer-note{grid-column:auto}.page-heading{padding:55px 0}.page-content{padding-top:35px;padding-bottom:60px}.post-card{grid-template-columns:1fr;gap:18px}.post-card h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
