:root {
  --text: #1b1b1b;
  --muted: #6d6d6d;
  --bg2: #f7f5f3;
  --line: #e5e1dc;
  --sand: #d7c7b4;

  /* brand */
  --brand-brown-dark: #5f4a36;   /* STÍNĚNÍ S ESENCÍ */
  --brand-brown-light: #9b846d;  /* Jana Segelberg */

  /* footer logo (pokud je chceš) */
  --footer-logo: rgba(215,199,180,.55);
  --footer-logo-hover: rgba(215,199,180,.85);
}

.brand-logo{
  height: 36px !important;
  width: auto !important;
  display: block;
}



body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

.script {
  font-family: "Dancing Script", cursive;
}

body.reveal {
  opacity: 0;
  animation: fadeInBody 0.8s ease-out forwards;
}

@keyframes fadeInBody {
  to { opacity: 1; }
}

[data-first],
.section-swap,
section {
  opacity: 0;
  transform: translateY(25px);
  animation: revealSection 1s ease-out forwards;
}

@keyframes revealSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section[style*="background-image"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  opacity: 0;
  animation: heroFade 1.2s ease-out forwards;
}

@keyframes heroFade {
  to { opacity: 1; }
}

nav button span {
  position: relative;
  display: inline-block;
  padding-bottom: 6px; /* prostor pro linku */
}

nav button span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;            /* linka těsně pod textem */
  width: 100%;
  height: 2px;
  background: var(--sand); /* béžová z webu */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.95;
}

nav button:hover span::after {
  transform: scaleX(1);
}

.btn-cta {
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-cta:hover {
  background: #cbb9a3;
  transform: translateY(-2px);
}

.soft-shadow {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

article,
.rounded-2xl {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ===== Lightbox ===== */
.lb{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.9);
  justify-content:center;
  align-items:center;
  z-index:-1;
  pointer-events:none;
}

.lb.open{
  display:flex;
  z-index:9999;
  pointer-events:auto;
}


#lbimg{
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}



.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 24px;
  text-align: left;
}

.benefit-card {
  background: var(--bg2);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.inspiration-img {
  border-radius: 20px;
  overflow: hidden;
}

/* drawer menu: hezčí pocit na mobilech */
@media (max-width: 768px) {
  .soft-shadow {
    box-shadow:
      0 6px 18px rgba(0,0,0,.10),
      0 24px 60px rgba(0,0,0,.16);
  }
}

/* =========================
   OUR WORK (teaser strip) – 6 fotek na stránce
   ========================= */
.ourwork-strip{
  display:flex;
  gap:16px;
  overflow:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ourwork-item{
  flex:0 0 auto;
  border-radius:16px;
  overflow:hidden;
  scroll-snap-align:start;
  position: relative;
  background:#fff;
}

/* stejné výšky, šířka podle fotky, nic neřezat */
.ourwork-img{
  height:240px;
  width:auto;
  display:block;
  object-fit:contain;
  background:#fff;
  border-radius:16px;
}

@media (max-width: 768px){
  .ourwork-img{ height:180px; }
}
/* =========================================================
   OW MODAL (Zobrazit vše) – jen ow-*, neovlivní nic jinde
   ========================================================= */
.ow-modal{
  position: fixed;
  inset: 0;
  z-index: 999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.ow-backdrop{
  position:absolute;
  inset:0;
  border:0;
  padding:0;
  background: rgba(0,0,0,.35);
}

.ow-panel{
  position: relative;
  width: min(1200px, calc(100vw - 64px));
  height: min(84vh, 860px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display:flex;
  flex-direction:column;
}

@media (max-width: 768px){
  .ow-panel{
    width: calc(100vw - 24px);
    height: 86vh;
    border-radius: 16px;
  }
}

.ow-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.ow-title{
  font-weight: 700;
  font-size: 18px;
}

.ow-sub{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.ow-close{
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor:pointer;
}

.ow-close:hover{
  background: var(--bg2);
  border-color: var(--sand);
}

.ow-body{
  flex:1;
  overflow:auto;
  padding: 16px 18px 22px;
}

/* řádky */
.ow-rows{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* jeden řádek = 2/3 karty vedle sebe */
.ow-row{
  display:flex;
  gap:16px;
  width:100%;
}

/* karta */
.ow-card{
  position: relative;
  flex: 1 1 0;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  display: block;
}

/* obrázek – zachovat poměr stran */
.ow-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* hover */
.ow-hover{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0);
  transition: background .2s ease;
}

.ow-card:hover .ow-hover{
  background: rgba(0,0,0,.08);
}

/* ✅ MOBIL: fix bílého spodku (nic se nenatahuje) */
@media (max-width: 768px){
  .ow-row{
    gap:12px;
    align-items:flex-start;
  }

  .ow-card{
    height:auto;
    align-self:flex-start;
    border-radius:14px;
  }
}

/* =========================
   BRAND (HEADER)
   ========================= */

/* jen zarovnání brandu – BEZ zásahu do fontů a barev */
.brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-logo{
  height: 36px;          /* desktop */
  width: auto;
  display:block;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 768px){
  .brand-logo{
    height: 32px;        /* mobil */
  }
}


/* =========================
   BRAND (FOOTER)
   ========================= */

footer .footer-brand{
  display: flex;
  align-items: flex-start;
  gap: 16px; /* klidně o chlup víc, ať logo dýchá */
}

footer .footer-brand > .footer-logo{
  margin-top: 4px;   /* menší posun, protože logo je vyšší */
}

footer .footer-logo{
  height: 40px;      /* 🔥 VIDITELNĚ VĚTŠÍ – téměř header pocit */
  width: auto;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: .7;       /* footerově klidné, ale čitelné */
}

footer .footer-logo:hover{
  opacity: .9;
}

@media (max-width: 768px){
  footer .footer-logo{
    height: 34px;
  }
}







