/*
Theme Name: Halo tu Łódź
Theme URI: https://halotulodz.pl
Author: Halo tu Łódź
Description: Motyw WordPress dla serwisu recenzenckiego Halo tu Łódź - miejsca gastro, mapa, filtry po kuchni i okazji.
Version: 1.0
Text Domain: halotulodz
*/

:root{
    --brick:#282216;
    --brick-2:#282216;
    --cream:#F6EFE3;
    --paper:#EFE6D4;
    --coral:#FF5A5F;
    --gold:#FAB846;
    --ink:#282216;
    --line:#D8CBB8;
    --line-dark:#4A4130;
    --green:#5C7A52;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--cream);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    line-height:1.5;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    font-weight:600;
    letter-spacing:-0.01em;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1080px; margin:0 auto; padding:0 24px;}

  /* NAV */
  .nav{
    background:var(--brick);
    color:var(--cream);
    position:sticky; top:0; z-index:50;
    border-bottom:1px solid var(--line-dark);
  }
  .nav .wrap{
    display:flex; align-items:center; justify-content:space-between;
    padding-top:16px; padding-bottom:16px;
    gap:24px;
  }
  .logo{
    font-family:'Fraunces', serif;
    font-size:22px;
    font-weight:700;
    white-space:nowrap;
  }
  .logo span{color:var(--gold);}
  .navlinks{
    display:flex; gap:28px;
    font-size:14px;
    flex-wrap:wrap;
  }
  .navlinks a{
    opacity:.82;
    padding-bottom:2px;
    border-bottom:1px solid transparent;
  }
  .navlinks a:hover{opacity:1; border-color:var(--coral);}

  .nav-dropdown{position:relative;}
  .nav-dropdown-trigger{
    background:none;
    border:none;
    color:var(--cream);
    font-family:'Inter', sans-serif;
    font-size:14px;
    opacity:.82;
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
    padding:0;
    padding-bottom:2px;
    border-bottom:1px solid transparent;
  }
  .nav-dropdown-trigger .chevron{
    width:13px; height:13px;
    transition:transform .18s ease;
  }
  .nav-dropdown:hover .nav-dropdown-trigger,
  .nav-dropdown.open .nav-dropdown-trigger{
    opacity:1;
    border-color:var(--coral);
  }
  .nav-dropdown:hover .chevron,
  .nav-dropdown.open .chevron{
    transform:rotate(180deg);
  }
  .mega-menu{
    position:absolute;
    top:calc(100% + 20px);
    left:-24px;
    background:var(--brick-2);
    border:1px solid var(--line-dark);
    display:flex;
    gap:40px;
    padding:24px 28px;
    width:max-content;
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:opacity .16s ease, transform .16s ease, visibility .16s;
    z-index:60;
  }
  .nav-dropdown:hover .mega-menu,
  .nav-dropdown.open .mega-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .mega-col{
    display:flex;
    flex-direction:column;
    gap:2px;
    width:max-content;
  }
  .mega-col-title{
    font-family:'Space Grotesk', sans-serif;
    font-size:11.5px;
    color:var(--gold);
    font-weight:600;
    letter-spacing:.02em;
    margin-bottom:10px;
    padding-bottom:8px;
    border-bottom:1px solid var(--line-dark);
    white-space:nowrap;
  }
  .mega-link{
    display:block;
    font-size:13.5px;
    color:var(--cream);
    opacity:.78;
    padding:6px 0;
    white-space:nowrap;
  }
  .mega-link:hover{
    opacity:1;
    color:var(--gold);
  }
  .nav-ig{
    background:var(--gold);
    color:var(--brick);
    font-weight:700;
    font-size:13px;
    padding:9px 16px;
    border-radius:2px;
    white-space:nowrap;
  }
  .nav-ig:hover{background:var(--coral);}

  .nav-right{
    display:flex;
    align-items:center;
    gap:14px;
  }
  .search-wrap{
    display:flex;
    align-items:center;
  }
  .search-toggle{
    background:none;
    border:1px solid transparent;
    color:var(--cream);
    width:34px; height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex:none;
  }
  .search-toggle:hover{border-color:var(--line-dark);}
  .search-toggle svg{width:17px; height:17px;}
  .search-input{
    width:0;
    opacity:0;
    background:var(--brick-2);
    border:1px solid var(--line-dark);
    color:var(--cream);
    font-family:'Inter', sans-serif;
    font-size:13.5px;
    padding:0;
    border-radius:16px;
    transition:width .2s ease, opacity .2s ease, padding .2s ease;
    margin-left:0;
  }
  .search-wrap.open .search-input{
    width:190px;
    opacity:1;
    padding:8px 14px;
    margin-left:8px;
  }
  .search-input::placeholder{color:#a3927d;}
  .search-input:focus{outline:none; border-color:var(--gold);}

  /* HERO */
  .hero{
    background:var(--brick);
    color:var(--cream);
    padding:26px 0;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.1fr auto 1fr;
    gap:32px;
    align-items:center;
  }
  .hero-eyebrow{
    font-family:'Space Grotesk', sans-serif;
    font-size:11px;
    color:var(--gold);
    font-weight:600;
    margin-bottom:8px;
  }
  .hero h1{
    font-size:23px;
    line-height:1.15;
    margin-bottom:8px;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--gold);
  }
  .hero p{
    font-family:'Inter', sans-serif;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    opacity:.9;
    margin-bottom:14px;
  }
  .hero-stats{
    display:flex;
    gap:24px;
    padding-top:10px;
    border-top:1px solid var(--line-dark);
  }
  .hero-stats .stat{
    display:flex;
    align-items:center;
    gap:8px;
  }
  .hero-stats .stat b{
    font-family:'Space Grotesk', sans-serif;
    font-size:19px;
    font-weight:700;
    color:var(--gold);
    line-height:1;
  }
  .hero-stats .stat span{
    font-size:9.5px;
    line-height:1.3;
    opacity:.75;
  }
  .hero-photo{
    position:relative;
    flex:none;
    border-left:1px solid var(--line-dark);
    padding-left:24px;
  }
  .hero-photo img{
    width:200px;
    height:130px;
    object-fit:cover;
    border:1px solid var(--line-dark);
  }
  .hero-badge{
    position:absolute;
    top:-10px;
    right:-8px;
    background:var(--gold);
    color:var(--brick);
    font-family:'Space Grotesk', sans-serif;
    font-weight:700;
    font-size:10px;
    white-space:nowrap;
    padding:6px 11px;
    border-radius:3px;
    line-height:1.3;
    transform:rotate(-3deg);
    box-shadow:0 2px 5px rgba(0,0,0,.25);
    box-shadow:0 0 0 1px var(--brick);
  }
  .hero-cap{
    display:block;
    font-size:10.5px;
    line-height:1.4;
    color:var(--cream);
    opacity:.85;
    white-space:nowrap;
    margin-top:8px;
  }
  .hero-cap strong{color:var(--cream); opacity:1; font-weight:700;}
  .hero-cap-dzielnica{opacity:.6;}
  .hero-cap:hover{opacity:1; color:var(--gold);}

  .hero-teaser{
    min-width:0;
  }
  .hero-teaser-title{
    display:block;
    font-family:'Fraunces', serif;
    font-size:16px;
    font-weight:600;
    color:var(--cream);
    line-height:1.25;
    margin-bottom:6px;
  }
  .hero-teaser-title:hover{color:var(--gold);}
  .hero-teaser-text{
    font-size:11.5px;
    line-height:1.5;
    opacity:.75;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* SECTION HEAD */
  .section{padding:48px 0;}
  .section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:26px;
    border-bottom:1px solid var(--line);
    padding-bottom:10px;
  }
  .section-head h2{font-size:30px;}
  .text-gold{color:var(--gold);}
  .section-head p{font-size:14px; color:#6b5e50; max-width:44ch;}

  /* FILTERS */
  .miejsca-layout{
    display:grid;
    grid-template-columns:1fr 230px;
    gap:32px;
    align-items:start;
  }
  .miejsca-main{min-width:0;}
  .miejsca-filters{
    position:sticky;
    top:85px;
    display:flex;
    flex-direction:column;
    gap:18px;
  }
  .filter-group{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .filter-group-title{
    font-family:'Space Grotesk', sans-serif;
    font-size:14px;
    font-weight:700;
    color:#a3927d;
    letter-spacing:.02em;
    margin-bottom:2px;
  }
  .filter-row{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .chip{
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.02em;
    width:fit-content;
    white-space:nowrap;
    padding:4px 9px;
    border:1px solid var(--line-dark);
    border-radius:20px;
    background:transparent;
    color:var(--ink);
    cursor:pointer;
    font-family:'Inter', sans-serif;
    transition:background .15s, color .15s, border-color .15s;
  }
  .chip:hover{border-color:var(--coral);}
  .chip.active{
    background:var(--ink);
    color:var(--cream);
    border-color:var(--ink);
  }
  .filter-count{
    font-size:12.5px;
    color:#8a7a68;
    margin-top:10px;
  }
  .show-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:32px;
  }
  .show-more-btn{
    font-family:'Inter', sans-serif;
    font-size:14px;
    font-weight:600;
    color:var(--ink);
    background:transparent;
    border:1px solid var(--line-dark);
    padding:12px 28px;
    border-radius:24px;
    cursor:pointer;
    transition:background .15s, color .15s, border-color .15s;
  }
  .show-more-btn:hover{
    background:var(--ink);
    color:var(--cream);
    border-color:var(--ink);
  }
  .show-more-btn.hidden{display:none;}

  /* REVIEW GRID */
  .grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .card{
    background:var(--cream);
    padding:22px;
    display:flex;
    gap:18px;
    text-decoration:none;
    color:inherit;
    transition:opacity .2s, transform .2s, background .15s;
  }
  .card:hover{background:var(--paper);}
  .card.hidden{display:none;}
  .card-photo{
    width:92px;
    height:138px;
    flex:none;
    object-fit:cover;
    border:1px solid var(--line-dark);
  }
  .card-body{min-width:0;}
  .card-top{
    display:flex;
    align-items:baseline;
    gap:10px;
    margin-bottom:4px;
  }
  .card-top h3{font-size:17px;}
  .card-district{
    font-size:12px;
    color:#8a7a68;
    white-space:nowrap;
  }
  .card-body p{
    font-size:13.5px;
    color:#4c4136;
  }
  .card-tags{
    margin-top:10px;
    font-size:11.5px;
    color:#a3927d;
  }
  .card-visited{
    font-family:'Space Grotesk', sans-serif;
    font-size:11px;
    color:#a3927d;
    margin-top:2px;
  }

  /* EVENTS STRIP */
  .events{
    background:var(--paper);
    color:var(--ink);
  }
  .events .section-head p{max-width:52ch;}
  #miejsca .section-head p{max-width:56ch;}
  .event-scroll{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
  }
  .event-card{
    display:flex;
    align-items:stretch;
    border:1px solid var(--line-dark);
  }
  .event-card img{
    flex:none;
    width:150px;
    height:100%;
    object-fit:cover;
  }
  .event-card-body{padding:16px; display:flex; flex-direction:column; justify-content:center;}
  .event-date{
    font-family:'Space Grotesk', sans-serif;
    font-size:12px;
    color:var(--gold);
    font-weight:600;
    margin-bottom:6px;
  }
  .event-card-body h3{font-size:16px; margin-bottom:6px; line-height:1.25;}
  .event-card-body p{font-size:12.5px; opacity:.75;}
  .event-card-empty{
    border-style:dashed;
    border-color:var(--line-dark);
    align-items:center;
  }
  .event-card-empty-body{
    padding:24px 16px;
  }
  .event-card-empty .event-date{color:#a3927d;}
  .event-card-empty h3{font-size:15px; opacity:.9;}

  /* ARTICLE TEASER */
  .article{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:40px;
    align-items:center;
  }
  .article img{aspect-ratio:1/1; object-fit:cover; border:1px solid var(--line-dark);}
  .article-eyebrow{font-size:12.5px; color:var(--coral); font-weight:700; margin-bottom:10px;}
  .article h2{font-size:26px; margin-bottom:14px;}
  .article p{font-size:14.5px; color:#4c4136; margin-bottom:20px;}
  .article-link{
    font-size:13.5px;
    font-weight:700;
    border-bottom:2px solid var(--coral);
    padding-bottom:2px;
  }

  /* MAP */
  #mapa{
    background:var(--brick);
    color:var(--cream);
  }
  #mapa .section-head{border-color:var(--line-dark);}
  #mapa .section-head p{color:#b8a998; max-width:60ch;}
  #mapa .filter-group-title{color:#b8a998;}
  .map-layout{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:32px;
    align-items:start;
  }
  .map-col{min-width:0;}
  .map-wrap{
    position:relative;
    height:340px;
    border:1px solid var(--line-dark);
    overflow:hidden;
    filter:sepia(12%) saturate(85%) brightness(101%);
  }
  #googleMap{
    height:100%;
    width:100%;
    background:var(--paper);
  }
  .map-caption{
    font-size:12.5px;
    color:#b8a998;
    margin-top:12px;
  }
  .cuisine-pills{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .map-pills-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
  .cuisine-pill{
    font-family:'Inter', sans-serif;
    text-transform:uppercase;
    letter-spacing:.02em;
    width:fit-content;
    white-space:nowrap;
    font-size:9.5px;
    font-weight:600;
    color:var(--ink);
    background:var(--paper);
    border:1px solid var(--line-dark);
    padding:6px 11px;
    border-radius:16px;
    cursor:default;
    text-align:left;
    transition:background .15s, color .15s, border-color .15s, transform .15s;
  }
  .cuisine-pill:hover{
    background:var(--gold);
    border-color:var(--gold);
    transform:translateX(3px);
  }

  @media (max-width: 760px){
    .map-layout{grid-template-columns:1fr;}
    .miejsca-layout{grid-template-columns:1fr;}
    .miejsca-filters{position:static;}
    .filter-row{flex-direction:row; flex-wrap:wrap;}
    .map-pills-col{grid-template-columns:1fr;}
    .event-scroll{grid-template-columns:1fr;}
    .event-card img{width:110px;}
  }

  /* BUSINESS BANNER */
  .biz{
    background:var(--gold);
    color:var(--brick);
    padding:48px 0;
  }
  .biz .wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
  }
  .biz h2{font-size:23px; max-width:34ch;}
  .biz-btn{
    background:var(--brick);
    color:var(--cream);
    font-weight:700;
    font-size:14px;
    padding:13px 22px;
    white-space:nowrap;
    border-radius:2px;
  }
  .biz-btn:hover{background:var(--coral); color:var(--brick);}

  /* FOOTER */
  footer{
    background:var(--brick);
    color:var(--cream);
    padding:48px 0 32px;
  }
  .footer-grid{
    display:flex;
    justify-content:space-between;
    gap:32px;
    flex-wrap:wrap;
    padding-bottom:32px;
    border-bottom:1px solid var(--line-dark);
    margin-bottom:20px;
  }
  footer .logo{font-size:26px;}
  .footer-contact p{font-size:13.5px; opacity:.8; margin-bottom:4px;}
  .footer-social{display:flex; gap:16px; font-size:13px;}
  .footer-social a{opacity:.8;}
  .footer-social a:hover{opacity:1; color:var(--coral);}
  .footer-bottom{
    font-size:12px;
    opacity:.55;
  }

  @media (max-width: 760px){
    .hero-grid{gap:16px; grid-template-columns:1fr auto;}
    .hero h1{font-size:17px;}
    .hero p{font-size:11px; white-space:normal;}
    .hero-eyebrow{display:none;}
    .hero-stats{display:none;}
    .hero-photo{padding-left:14px;}
    .hero-photo img{width:100px; height:90px;}
    .hero-badge{font-size:7px; padding:4px 7px; top:-6px; right:-4px;}
    .hero-cap{display:none;}
    .hero-teaser{display:none;}
    .grid{grid-template-columns:1fr;}
    .article{grid-template-columns:1fr;}
    .navlinks{display:none;}
    .biz .wrap{flex-direction:column; align-items:flex-start;}
  }

/* DETAIL PAGE (podstrona miejsca) */
.detail-nav{
  background:var(--brick);
  padding:16px 0;
}
.detail-nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.detail-back{
  color:var(--cream);
  font-size:14px;
  opacity:.85;
}
.detail-back:hover{opacity:1;}
.detail-hero{
  width:100%;
  max-height:480px;
  object-fit:cover;
  display:block;
}
.detail-main{
  max-width:720px;
  margin:0 auto;
  padding:40px 24px 80px;
}
.detail-district{
  font-family:'Space Grotesk', sans-serif;
  font-size:13px;
  color:#a3927d;
  margin-bottom:10px;
}
.detail-title{
  font-size:38px;
  margin-bottom:18px;
  line-height:1.08;
}
.detail-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:24px;
}
.detail-badge{
  font-family:'Space Grotesk', sans-serif;
  font-size:12px;
  font-weight:600;
  padding:6px 14px;
  border-radius:16px;
}
.detail-badge.cuisine{
  background:var(--gold);
  color:var(--brick);
}
.detail-badge.occasion{
  background:var(--paper);
  border:1px solid var(--line-dark);
  color:var(--ink);
}
.detail-hook{
  font-size:18px;
  line-height:1.6;
  color:var(--ink);
  margin-bottom:28px;
}
.detail-meta{
  font-family:'Space Grotesk', sans-serif;
  font-size:13px;
  color:#a3927d;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-bottom:28px;
}
.detail-map-btn{
  display:inline-block;
  background:var(--ink);
  color:var(--cream);
  font-size:14px;
  font-weight:600;
  padding:13px 24px;
  border-radius:4px;
}
.detail-map-btn:hover{background:var(--coral);}

/* --- Strona "Dla gastro" (page-dla-gastro.php) --- */
.gastro-hero{background:var(--brick); color:var(--cream); padding:48px 0 56px;}
.gastro-hero-eyebrow{font-family:'Space Grotesk', sans-serif; font-size:12px; color:var(--gold); font-weight:600; margin-bottom:14px;}
.gastro-hero h1{font-size:38px; line-height:1.1; margin-bottom:16px;}
.gastro-hero p{font-size:16px; opacity:.85; max-width:56ch;}

.gastro-section-title{font-size:26px; margin-bottom:8px;}
.gastro-section-sub{font-size:14px; color:#6b5e50; margin-bottom:32px; max-width:60ch;}

.gastro-offer-list{display:grid; gap:1px; background:var(--line); border:1px solid var(--line);}
.gastro-offer-item{background:var(--cream); padding:20px 24px; display:flex; gap:16px; align-items:flex-start;}
.gastro-offer-num{
  font-family:'Space Grotesk', sans-serif; font-size:13px; font-weight:700;
  color:var(--gold); background:var(--brick);
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.gastro-offer-text b{display:block; font-size:15.5px; margin-bottom:3px;}
.gastro-offer-text span{font-size:13.5px; color:#6b5e50; line-height:1.5;}

.gastro-realizacje-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
.gastro-realizacja-card{border:1px solid var(--line-dark); overflow:hidden;}
.gastro-realizacja-card img{width:100%; height:160px; object-fit:cover;}
.gastro-realizacja-body{padding:16px;}
.gastro-realizacja-tag{
  font-family:'Space Grotesk', sans-serif; font-size:10.5px; text-transform:uppercase;
  letter-spacing:.03em; color:var(--gold); background:var(--brick);
  display:inline-block; padding:3px 8px; border-radius:3px; margin-bottom:10px;
}
.gastro-realizacja-body h3{font-size:16px; margin-bottom:6px; line-height:1.3;}
.gastro-realizacja-body p{font-size:12.5px; color:#6b5e50;}

.gastro-cta{background:var(--gold); color:var(--brick); padding:40px 0; text-align:center;}
.gastro-cta h2{font-size:24px; margin-bottom:12px;}
.gastro-cta p{font-size:14px; margin-bottom:20px; opacity:.85;}
.gastro-cta a.gastro-btn{
  display:inline-block; background:var(--brick); color:var(--cream);
  font-weight:700; font-size:14px; padding:13px 26px; border-radius:4px;
}
.gastro-cta a.gastro-btn:hover{background:var(--coral);}

@media (max-width:760px){
  .gastro-realizacje-grid{grid-template-columns:1fr;}
  .gastro-hero h1{font-size:28px;}
}

/* Fragmenty do wklejenia w widgecie HTML Elementora wewnątrz treści wpisu */
.post-quote{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-size:22px;
  line-height:1.45;
  color:var(--ink);
  margin:20px 0;
}
.post-dishes{
  background:var(--paper);
  border:1px solid var(--line-dark);
  padding:20px 24px;
  margin:28px 0;
}
.post-dishes-title{
  font-family:'Space Grotesk', sans-serif;
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#8a7a68;
  margin-bottom:14px;
}
.dish-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
}
.dish-row:last-child{border-bottom:none;}
.dish-price{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  color:var(--brick);
  white-space:nowrap;
}
.post-recommend{
  border-left:3px solid var(--gold);
  padding:4px 0 4px 18px;
  margin:24px 0;
  font-size:15px;
}
.post-recommend b{
  font-family:'Space Grotesk', sans-serif;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--gold);
  display:block;
  margin-bottom:4px;
}

/* Link do Google Maps w treści wpisu - wygląda jak przycisk (tak samo jak "Obserwuj na IG") */
.post-body a[href*="google.com/maps"]{
  display:inline-block;
  background:var(--gold);
  color:var(--brick);
  font-weight:700;
  font-size:13px;
  padding:9px 16px;
  border-radius:2px;
  text-decoration:none;
}
.post-body a[href*="google.com/maps"]:hover{background:var(--coral);}
