/*
Theme Name: REbarbara Műhely
Theme URI: https://rebarbaramuhely.hu/
Author: REbarbara
Description: A REbarbara Műhely egyedi, könnyen szerkeszthető WordPress témája.
Version: 1.2.0
Requires at least: 6.0
*/
:root{--b:#7a1d2d;--c:#f8f0e5;--p:#fffaf3;--t:#3b2a21;--l:#d9b9a9}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--p);color:var(--t);font-family:Georgia,serif;line-height:1.6}
.top{background:var(--b);color:#fff;text-align:center;padding:8px;font:11px Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
nav{max-width:1180px;margin:auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center}
.logo{color:var(--b);font-size:48px;letter-spacing:-.06em;text-decoration:none}.logo span{font-size:.62em;font-style:italic}
nav a{color:var(--b);text-decoration:none;font:700 11px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.hero{max-width:1400px;margin:auto;display:grid;grid-template-columns:1fr 1fr;background:var(--c)}
.copy{padding:90px 7vw}.eyebrow,.kicker{font:700 11px Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase}
h1{font-size:clamp(45px,5vw,72px);font-weight:400;line-height:1.05;margin:.5em 0}h1 em{color:var(--b);font-style:normal}
.hero-photo img{display:block;width:100%;height:100%;min-height:580px;object-fit:cover}
section{max-width:1180px;margin:auto;padding:70px 24px}.box{border:1px solid var(--l);padding:60px 35px;text-align:center}
.kicker{color:var(--b)}.script{font-size:43px;color:var(--b);font-style:italic;margin:.15em 0 .5em}
.grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:35px}.cake{padding:25px;border-right:1px dotted var(--l);border-bottom:1px dotted var(--l);font-size:20px}.cake:nth-child(3n){border-right:0}.cake small{font:12px Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#70584e}
.cake p{font-size:15px}.values{background:var(--c);max-width:none}.values>div{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr)}.value{padding:20px 25px;border-right:1px solid var(--l)}.value:last-child{border:0}.value h3{font:700 11px Arial,sans-serif;letter-spacing:.16em;color:var(--b);text-transform:uppercase}
.about{max-width:1180px;margin:auto;padding:70px 24px;display:grid;grid-template-columns:1fr 1fr;gap:70px}.about h2{font-size:52px;font-weight:400;line-height:1.05}
.address{background:var(--c);padding:35px;border-left:3px solid var(--b)}footer{background:var(--b);color:#fff;text-align:center;padding:35px}
@media(max-width:800px){
nav{padding:14px 18px}.logo{font-size:39px}
.hero{grid-template-columns:1fr}.copy{padding:55px 24px}
.hero-photo img{min-height:0;height:auto;object-fit:contain}
section{padding:55px 18px}.box{padding:45px 20px}
.grid{grid-template-columns:repeat(2,1fr)}
.cake:nth-child(3n){border-right:1px dotted var(--l)}.cake:nth-child(2n){border-right:0}
.values>div{grid-template-columns:1fr 1fr}
.about{display:block;width:100%;padding:60px 24px;margin:0}
.about>div{width:100%}
.about h2{font-size:40px;line-height:1.08;margin:16px 0 22px}
.about p{font-size:19px;line-height:1.55}
.about .address{margin-top:32px;padding:28px 22px;width:100%;border-left:3px solid var(--b)}
.about .address h2{font-size:30px;margin-top:0}
footer{padding:30px 20px}
}
@media(max-width:520px){
.grid{grid-template-columns:1fr}.cake,.cake:nth-child(3n){border-right:0}
.values>div{grid-template-columns:1fr}.value{border-right:0;border-bottom:1px solid var(--l)}
.about{padding:55px 20px}
.about h2{font-size:36px}
.about p{font-size:18px}
.about .address{padding:24px 18px}
.about .address h2{font-size:27px}
}
/* Rólunk – teljes tartalom és stabil mobil tördelés */
.about-section{max-width:1180px;margin:auto;padding:70px 24px 80px}
.about-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:70px;align-items:start}
.about-copy{min-width:0}.about-copy h2{font-size:52px;font-weight:400;line-height:1.05;margin:12px 0 22px}
.about-copy p{margin:0 0 16px;font-size:15px;line-height:1.65}
.about-card{margin-top:145px}.about-card h2{font-size:28px!important;font-weight:400!important;margin:0 0 18px!important;line-height:1.15!important}
.about-card p{font-size:15px;line-height:1.6}
.order-card{margin-top:55px;background:var(--c);padding:24px 30px;border-left:3px solid var(--b)}
.order-card h2{font-size:27px;font-weight:400;color:var(--b);margin:0 0 10px}.order-card p{margin:0;font-size:14px}
@media(max-width:800px){
 .about-section{width:100%;padding:55px 20px 65px;overflow:visible}
 .about-grid{display:flex;flex-direction:column;gap:28px;width:100%}
 .about-copy{width:100%}.about-copy h2{font-size:38px;margin:12px 0 22px}
 .about-copy p{font-size:18px;line-height:1.6;margin-bottom:17px;overflow-wrap:anywhere}
 .about-card{width:100%;margin:0;padding:28px 22px}
 .about-card h2{font-size:28px!important}.about-card p{font-size:17px}
 .order-card{width:100%;margin-top:34px;padding:24px 20px}
 .order-card h2{font-size:27px}
 .order-card p{font-size:16px;line-height:1.55}
}
@media(max-width:520px){
 .about-section{padding:50px 18px 60px}
 .about-copy h2{font-size:35px}
 .about-copy p{font-size:17px}
 .about-card{padding:24px 18px}.about-card h2{font-size:26px!important}
}

.about-signature{margin-top:2rem;line-height:1.5}
.about-signature strong{letter-spacing:.08em}
@media (max-width:800px){
  .about-section{overflow:visible}
  .about-grid{display:block}
  .about-copy,.about-card,.order-card{width:100%;max-width:100%;box-sizing:border-box}
  .about-copy p{overflow-wrap:anywhere}
  .about-signature{margin-bottom:1rem}
}

.cake-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px dotted var(--l);border-left:1px dotted var(--l)}
.cake{min-height:190px;padding:34px 26px;border-right:1px dotted var(--l);border-bottom:1px dotted var(--l);display:flex;flex-direction:column;justify-content:space-between}
.cake h3{font-size:30px;line-height:1.05;margin:0;font-weight:500}
.cake .soon{margin:20px 0 0;font-size:14px;text-transform:uppercase;letter-spacing:.12em}
@media(max-width:800px){.cake-grid{grid-template-columns:repeat(2,1fr)}.cake{min-height:160px;padding:26px 20px}.cake h3{font-size:26px}}
@media(max-width:520px){.cake-grid{grid-template-columns:1fr}.cake{min-height:130px}.cake h3{font-size:28px}}

/* Egységes hamburger navigáció – asztali és mobil nézetben */
.site-nav{position:relative;z-index:1000;display:flex;align-items:center;justify-content:space-between}
.desktop-nav-link{display:none}
.menu-toggle{
  display:flex;
  width:46px;
  height:42px;
  padding:8px 6px;
  border:0;
  background:transparent;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  position:relative;
  z-index:1002;
}
.menu-toggle span{
  display:block;
  width:31px;
  height:3px;
  background:var(--b);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

.mobile-menu{
  display:flex;
  position:absolute;
  top:100%;
  right:0;
  min-width:230px;
  max-width:calc(100vw - 36px);
  background:var(--p);
  border:1px solid var(--l);
  box-shadow:0 10px 30px rgba(59,42,33,.12);
  flex-direction:column;
  padding:10px 0;
  z-index:1001;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mobile-menu.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.mobile-menu a{
  display:block;
  padding:15px 20px;
  color:var(--b);
  text-decoration:none;
  font:700 12px Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(217,185,169,.55);
}
.mobile-menu a:last-child{border-bottom:0}
.mobile-menu a:hover,.mobile-menu a:active{background:var(--c)}

@media(max-width:800px){
  .site-nav{z-index:1000}
  .mobile-menu{
    right:0;
    left:auto;
    min-width:230px;
  }
}
