/*
Theme Name: DBL Cleaning
Theme URI: https://dblcleaning.hu
Author: DBL Cleaning
Author URI: https://dblcleaning.hu
Description: Egyedi WordPress sablon a DBL Cleaning takarítási vállalkozás számára – irodák, üzlethelyiségek, telephelyek és társasházak takarítási szolgáltatásait bemutató oldal.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dblcleaning
*/

/* =========================================================
   DBL Cleaning — sablon stíluslap
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --ink:        #14201D;
  --ink-soft:   #3F4C46;
  --base:       #F5F6F2;
  --white:      #FFFFFF;
  --teal:       #0E5C50;
  --teal-dark:  #0A423A;
  --teal-tint:  #E4EEEA;
  --border:     #D9E0DA;

  --font-head: 'Archivo', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration:none; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 .5em 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em 0; }

:focus-visible{
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 3px;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-solid{
  background: var(--teal);
  color: var(--white);
}
.btn-solid:hover{ background: var(--teal-dark); border-color: var(--teal-dark); }

.btn-outline{
  background: transparent;
  color: var(--teal);
}
.btn-outline:hover{ background: var(--teal); color: var(--white); }

/* ---------- Utility bar ---------- */
.utility-bar{
  background: var(--ink);
  color: #C9D3CE;
  font-size: 14px;
}
.utility-bar .wrap{
  display:flex;
  justify-content:flex-end;
  gap: 26px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-bar a{ color:#E7ECE9; }
.utility-bar a:hover{ color: var(--white); text-decoration: underline; }
.utility-bar .sep{ opacity:.35; }

/* ---------- Header ---------- */
header.site-header{
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  flex-shrink:0;
}
.brand span{
  display:block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-top: 1px;
}
nav.main-nav{
  display:flex;
  align-items:center;
  gap: 30px;
  flex: 1;
  justify-content:flex-end;
}
nav.main-nav a{
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover{ border-bottom-color: var(--teal); color: var(--teal-dark); }

.header-cta{
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 11px 20px;
  border-radius: 3px;
  flex-shrink:0;
  transition: background-color .15s ease, color .15s ease;
}
.header-cta:hover{ background: var(--teal); color: var(--white); }

.nav-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
}
.hero img{
  width:100%; height:100%;
  object-fit: cover;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(10,16,14,.78) 0%, rgba(10,16,14,.32) 42%, rgba(10,16,14,0) 65%);
}
.hero-text{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 46px 28px;
}
.hero-text .in{
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-text h1{
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  margin-bottom: .18em;
}
.hero-text .sub{
  font-family: var(--font-body);
  color: #E4EEEA;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 640px;
}

/* subpage hero variant (shorter) */
.hero.hero-sm{ height: 42vh; min-height: 300px; max-height: 420px; }

/* ---------- Intro / SEO + CTA section ---------- */
.intro{
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.intro .grid{
  display:grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items:center;
}
.intro p{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.intro-cta-box{
  background: var(--teal-tint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  text-align:center;
}
.intro-cta-box p{
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.intro-cta-box .btn{ width:100%; }

/* ---------- Services grid ---------- */
.services{ padding: 70px 0; }
.section-head{ max-width: 620px; margin-bottom: 40px; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-head p{ color: var(--ink-soft); font-size: 17px; }

.services-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card{
  background: var(--white);
  padding: 30px 22px 26px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  transition: background-color .15s ease;
}
.service-card:hover{ background: var(--teal-tint); }
.service-card .icon{
  width: 40px; height:40px;
  color: var(--teal);
}
.service-card h3{
  font-size: 17px;
  font-weight: 700;
}
.service-card p{
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  flex:1;
}
.service-arrow{
  width: 38px; height: 38px;
  border: 2px solid var(--teal);
  border-radius: 3px;
  display:flex; align-items:center; justify-content:center;
  color: var(--teal);
  align-self:flex-start;
  transition: background-color .15s ease, color .15s ease;
}
.service-card:hover .service-arrow{ background: var(--teal); color: var(--white); }
.service-arrow svg{ width:18px; height:18px; }

/* ---------- Subpage description block ---------- */
.service-detail{
  padding: 56px 0 20px;
}
.service-detail .lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 68ch;
}
.service-detail .tagline{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal-dark);
  border-left: 3px solid var(--teal);
  padding-left: 18px;
  max-width: 60ch;
  margin: 26px 0 34px;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.back-link:hover{ color: var(--teal); }

/* ---------- About (Rólunk) ---------- */
.about-content{ padding: 64px 0 76px; }
.about-content .grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:start;
}
.about-content img{ border-radius:4px; }
.about-content h2{ font-size: clamp(1.7rem,3vw,2.1rem); }
.about-content p{ color: var(--ink-soft); font-size: 17px; }
.stat-row{ display:flex; gap: 36px; margin-top: 24px; }
.stat{ }
.stat .num{ font-family: var(--font-head); font-weight:800; font-size: 34px; color: var(--teal-dark); }
.stat .lbl{ font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact{
  padding: 70px 0 76px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.contact .grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items:start;
}
.contact h2{ font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom:.35em; }
.contact .grid > div:first-child p{ color: var(--ink-soft); font-size:17px; max-width: 40ch; }
.contact-info-list{ list-style:none; margin: 22px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.contact-info-list a{ font-weight:600; color: var(--teal-dark); }
.contact-info-list a:hover{ text-decoration:underline; }

.form-box{
  background: var(--teal-tint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 34px;
}
.form-box p.lead{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 20px;
}
.field{ margin-bottom: 16px; }
.field label{
  display:block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input,
.field textarea{
  width:100%;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus{ border-color: var(--teal); }
.form-box .btn{ width:100%; margin-top: 4px; }
.form-note{ font-size:12.5px; color: var(--ink-soft); margin-top:12px; }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--ink);
  color: #C9D3CE;
  padding: 46px 0 26px;
  font-size: 14.5px;
}
footer.site-footer .grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
footer.site-footer h4{
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
footer.site-footer .brand-foot{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
footer.site-footer p{ margin: 0 0 8px; color:#B7C2BC; }
footer.site-footer a:hover{ color: var(--white); text-decoration: underline; }
footer.site-footer .bottom{
  padding-top: 20px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 10px;
  color: #8FA098;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .intro .grid, .about-content .grid, .contact .grid{ grid-template-columns: 1fr; }
  .intro-cta-box{ max-width: 420px; }
  footer.site-footer .grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .utility-bar .wrap{ justify-content:center; padding-top:6px; padding-bottom:6px; font-size:13px; gap:16px;}
  nav.main-nav{
    display:none;
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction:column;
    align-items:flex-start;
    gap: 0;
    padding: 6px 28px 18px;
  }
  nav.main-nav.open{ display:flex; }
  nav.main-nav a{ width:100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-row{ position:relative; flex-wrap:wrap; }
  .header-cta{ order:3; }
  .nav-toggle{
    display:inline-flex;
    align-items:center; justify-content:center;
    width: 40px; height:40px;
    border: 1px solid var(--border);
    border-radius:3px;
    background:none;
    order:2;
  }
  .services-grid{ grid-template-columns: 1fr; }
  footer.site-footer .grid{ grid-template-columns: 1fr; }
}
