/*
Theme Name: JOCEK ART
Theme URI: https://jocekart.hu
Author: JOCEK ART
Description: Egyedi, reszponzív WordPress téma a JOCEK ART faipari bemutatkozó oldalhoz.
Version: 2.2.0
Text Domain: jocek-art
*/

:root{
  --ink:#23180f;
  --dark:#140e09;
  --wood:#8c5a2c;
  --wood2:#b98047;
  --cream:#f7f1e7;
  --paper:#fffdfa;
  --muted:#6e5e50;
  --line:rgba(35,24,15,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(1160px,92%);margin:0 auto}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,253,250,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}
.admin-bar .site-header{top:32px}
.nav-wrap{
  min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:28px
}
.brand img{width:190px;max-height:78px;object-fit:contain;object-position:left center}
.main-nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700}
.main-nav a{padding:10px 0;position:relative}
.main-nav a:after{
  content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;
  background:var(--wood2);transition:.2s
}
.main-nav a:hover:after{right:0}
.menu-toggle{
  display:none;border:0;background:transparent;font-size:30px;color:var(--ink);padding:8px
}

.hero{
  position:relative;min-height:670px;display:grid;align-items:center;overflow:hidden;color:white;
  background:
    linear-gradient(110deg,rgba(18,11,7,.94),rgba(18,11,7,.70) 55%,rgba(18,11,7,.40)),
    radial-gradient(circle at 77% 42%,rgba(190,130,70,.42),transparent 30%),
    repeating-linear-gradient(15deg,#3d2819 0 14px,#51331d 14px 28px,#654225 28px 42px);
}
.hero:after{
  content:"";position:absolute;right:-120px;bottom:-180px;width:650px;height:650px;border-radius:50%;
  border:78px solid rgba(255,255,255,.035);
  box-shadow:0 0 0 78px rgba(255,255,255,.023),0 0 0 156px rgba(255,255,255,.014)
}
.hero-inner{position:relative;z-index:2}
.hero-copy{max-width:780px;padding:70px 0}
.eyebrow{
  margin:0 0 14px;text-transform:uppercase;letter-spacing:.18em;
  font-size:12px;font-weight:800;color:#deb88a
}
.eyebrow.dark{color:var(--wood)}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.14}
h1{font-size:clamp(48px,8vw,84px);margin:0 0 18px}
h2{font-size:clamp(34px,5vw,52px);margin:0 0 18px}
h3{font-size:23px}
.lead{max-width:720px;font-size:19px;color:#f0e7de}
.lead.strong{font-size:25px;font-weight:700}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-block;padding:14px 22px;border-radius:5px;
  font-weight:800;transition:transform .2s,background .2s,color .2s
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{background:var(--wood2);color:white}
.btn.primary:hover{background:#9e6936}
.btn.ghost{border:1px solid rgba(255,255,255,.75);color:white}
.btn.ghost:hover{background:white;color:var(--ink)}

.section{padding:88px 0}
.section.alt{background:var(--cream)}
.intro-grid,.custom-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.copy{font-size:17px;color:#5c4c40}
.section-head{margin-bottom:40px}
.section-head p:last-child{max-width:720px;color:var(--muted)}

.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.service{
  background:white;border:1px solid var(--line);border-radius:9px;padding:26px 22px;
  box-shadow:0 12px 30px rgba(35,24,15,.07)
}
.service-icon{
  width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  background:#ead8c2;font-size:25px;margin-bottom:15px
}
.service h3{margin:0 0 8px}
.service p{margin:0;color:var(--muted);font-size:14px}

.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.project{
  background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;
  box-shadow:0 14px 35px rgba(35,24,15,.08)
}
.project img{width:100%;height:355px;object-fit:cover}
.project-body{padding:20px 22px 24px}
.project-body h3{margin:0 0 8px}
.project-body p{margin:0;color:var(--muted)}

.custom{background:var(--dark);color:white}
.custom p{color:#dfd3c7}
.quote-box{
  background:#241a12;border:1px solid #4a3728;border-radius:8px;padding:30px
}
.quote-box h3{margin-top:0}
.quote-box ul{padding-left:20px;color:#dfd3c7}

.contact-card{
  background:var(--cream);padding:34px 30px;border-left:4px solid var(--wood2);border-radius:8px;
  box-shadow:0 12px 30px rgba(35,24,15,.06)
}
.contact-card p{margin:9px 0}
.contact-card a{color:var(--wood);font-weight:800}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.contact-action{
  border:1px solid var(--wood2);background:white;padding:11px 16px;border-radius:5px;
  color:var(--wood)!important
}
.contact-action:hover{background:var(--wood2);color:white!important}

.site-footer{background:#0e0a07;color:#d7ccc0;padding:28px 0}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:24px}
.footer-logo{width:135px;filter:invert(1);opacity:.9}
.footer-copy{font-size:14px}

@media(max-width:900px){
  .admin-bar .site-header{top:46px}
  .menu-toggle{display:block}
  .main-nav{
    display:none;position:absolute;left:0;right:0;top:96px;background:white;
    flex-direction:column;align-items:flex-start;padding:18px 4%;border-bottom:1px solid var(--line)
  }
  .main-nav.open{display:flex}
  .intro-grid,.custom-grid,.contact-grid{grid-template-columns:1fr;gap:32px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .project-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .wrap{width:min(92%,1160px)}
  .brand img{width:155px}
  .hero{min-height:610px}
  .hero-copy{padding:55px 0}
  .section{padding:64px 0}
  .service-grid{grid-template-columns:1fr}
  .project img{height:250px}
  .footer-grid{flex-direction:column;align-items:flex-start}
}

#kapcsolat{padding-top:82px;padding-bottom:96px}
.contact-card strong{display:inline-block;min-width:95px}
.contact-card .facebook-link{color:var(--wood);font-weight:800}
.contact-card .facebook-link:hover{text-decoration:underline}
@media(max-width:600px){
  #kapcsolat{padding-top:58px;padding-bottom:72px}
  .contact-card{padding:26px 22px}
  .contact-card strong{min-width:0}
}


html,body{color-scheme:light only}
.site-header{
  background:#fffdf8 !important;
  color:#23180f !important;
}
.site-header .main-nav a,
.site-header .menu-toggle{
  color:#23180f !important;
}
.site-header .brand img{
  filter:none !important;
  opacity:1 !important;
}
@media (prefers-color-scheme: dark){
  html,body{color-scheme:light only}
  .site-header{background:#fffdf8 !important;color:#23180f !important}
  .site-header .main-nav a,.site-header .menu-toggle{color:#23180f !important}
}


/* JOCEK ART galéria v1.4 */
.gallery-section{background:#fffdfa}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.gallery-card{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:12px;
  background:#eadfce;
  min-height:340px;
  box-shadow:0 14px 34px rgba(35,24,15,.09);
}
.gallery-card img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  transition:transform .35s ease;
}
.gallery-card:hover img{transform:scale(1.035)}
.gallery-overlay{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:38px 22px 20px;
  color:white;
  background:linear-gradient(transparent,rgba(10,7,4,.86));
}
.gallery-overlay strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  line-height:1.2;
}
.gallery-overlay small{
  display:block;
  margin-top:4px;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#e4c29a;
}
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(0,0,0,.92);
  padding:24px;
  align-items:center;
  justify-content:center;
}
.lightbox.open{display:flex}
.lightbox-inner{
  width:min(1100px,96vw);
  max-height:92vh;
  overflow:auto;
  background:#17110c;
  border-radius:12px;
  box-shadow:0 20px 70px rgba(0,0,0,.5);
}
.lightbox-image{
  width:100%;
  max-height:74vh;
  object-fit:contain;
  background:#090705;
}
.lightbox-text{padding:18px 22px 22px;color:white}
.lightbox-title{margin:0 0 6px;font-size:24px}
.lightbox-caption{margin:0;color:#ddd0c2}
.lightbox-close{
  position:fixed;
  top:14px;
  right:18px;
  z-index:100000;
  width:48px;height:48px;
  border:0;
  border-radius:50%;
  background:white;
  color:#23180f;
  font-size:34px;
  line-height:1;
  cursor:pointer;
}
body.lightbox-open{overflow:hidden}

@media(max-width:700px){
  .gallery-grid{grid-template-columns:1fr;gap:18px}
  .gallery-card,.gallery-card img{min-height:260px}
  .gallery-overlay{padding:34px 18px 16px}
  .gallery-overlay strong{font-size:20px}
  .lightbox{padding:12px}
  .lightbox-inner{width:100%}
  .lightbox-image{max-height:68vh}
}


/* JOCEK ART galéria kategóriaszűrő v1.7 */
.gallery-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 30px;
}
.gallery-filter{
  border:1px solid #b98047;
  background:#fffdfa;
  color:#5e3b20;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition:.2s ease;
}
.gallery-filter:hover,
.gallery-filter.active{
  background:#8c5a2c;
  color:#fff;
  border-color:#8c5a2c;
}
.gallery-card.is-hidden{display:none!important}

@media(max-width:700px){
  .gallery-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:8px;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  .gallery-filter{
    flex:0 0 auto;
    white-space:nowrap;
  }
}


/* JOCEK ART kezdőoldal v2.0 */
.hero.hero-photo{
  min-height:720px;
  background:
    linear-gradient(90deg,rgba(18,11,7,.93) 0%,rgba(18,11,7,.80) 44%,rgba(18,11,7,.30) 78%),
    url("assets/images/konyha-szigettel.jpg") center 58%/cover no-repeat;
}
.hero.hero-photo:after{
  background:linear-gradient(to top,rgba(20,14,9,.38),transparent 50%);
  border:0;box-shadow:none;border-radius:0;
  inset:auto 0 0 0;width:auto;height:160px;
}
.hero.hero-photo h1{
  max-width:850px;
  font-size:clamp(46px,7vw,82px);
}
.hero.hero-photo .hero-copy{max-width:850px}

.trust-strip{
  background:#20160f;
  color:white;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.trust-grid>div{
  padding:24px 28px;
  border-right:1px solid rgba(255,255,255,.12);
}
.trust-grid>div:last-child{border-right:0}
.trust-grid strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  color:#e0b783;
  margin-bottom:4px;
}
.trust-grid span{
  display:block;
  font-size:13px;
  color:#ddd0c1;
}

.featured-home{background:#fffdfa}
.featured-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.featured-card{
  position:relative;
  overflow:hidden;
  min-height:360px;
  border-radius:12px;
  box-shadow:0 14px 35px rgba(35,24,15,.12);
  background:#2b1c12;
}
.featured-card img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  transition:transform .35s ease;
}
.featured-card:hover img{transform:scale(1.04)}
.featured-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 40%,rgba(13,8,5,.88));
}
.featured-card span{
  position:absolute;
  z-index:2;
  left:0;right:0;bottom:0;
  padding:26px 22px;
  color:white;
}
.featured-card strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
}
.featured-card small{
  display:block;
  margin-top:3px;
  color:#e3c39c;
  font-size:13px;
}

@media(max-width:900px){
  .trust-grid{grid-template-columns:1fr}
  .trust-grid>div{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12);
    padding:18px 4%;
  }
  .trust-grid>div:last-child{border-bottom:0}
  .featured-grid{grid-template-columns:1fr}
  .featured-card,.featured-card img{min-height:300px}
}
@media(max-width:600px){
  .hero.hero-photo{
    min-height:650px;
    background-position:63% center;
  }
  .hero.hero-photo h1{font-size:42px}
  .hero.hero-photo .lead.strong{font-size:21px}
}


/* JOCEK ART v2.1 */
.site-header{
  background:#fffdf8 !important;
  color:#23180f !important;
}
.site-header .menu-toggle,
.site-header .main-nav a{
  color:#23180f !important;
}
.site-header .brand img{
  filter:none !important;
  opacity:1 !important;
}

.kitchen-project{
  display:block;
  min-height:0;
  background:#fff;
  border:1px solid rgba(35,24,15,.12);
}
.kitchen-main{
  display:block;
  width:100%;
  border:0;
  padding:0;
  background:#eadfce;
  cursor:pointer;
}
.kitchen-main img{
  width:100%;
  height:330px;
  object-fit:cover;
  display:block;
}
.kitchen-project-body{
  padding:18px;
}
.kitchen-project-copy strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.2;
}
.kitchen-project-copy p{
  margin:7px 0 14px;
  color:#6e5e50;
  font-size:14px;
}
.kitchen-thumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.kitchen-thumb{
  width:74px;
  height:58px;
  padding:0;
  border:2px solid transparent;
  border-radius:7px;
  overflow:hidden;
  background:#eee;
  cursor:pointer;
}
.kitchen-thumb.active{
  border-color:#8c5a2c;
}
.kitchen-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
@media(max-width:600px){
  .hero.hero-photo h1{
    font-size:34px !important;
    line-height:1.08;
  }
  .hero.hero-photo{
    min-height:610px;
  }
  .hero.hero-photo .hero-copy{
    padding:42px 0 54px;
  }
  .hero.hero-photo .lead.strong{
    font-size:19px;
  }
  .hero.hero-photo .lead{
    font-size:17px;
  }
  .kitchen-main img{
    height:250px;
  }
}
