/*
Theme Name: TKS Clean
Theme URI: https://tks-clean.dk
Author: TKS Clean
Author URI: https://tks-clean.dk
Description: A clean, lightweight WordPress theme for TKS Clean (Denmark). Auto-creates 5 pages: Home, About, Services, Gallery & Reviews, Contact.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tksclean
Tags: custom-logo, responsive-layout, one-column, two-columns
*/

:root{
  --primary:#1f5cff;   /* blue */
  --secondary:#19b56a; /* green */
  --bg:#f6f7f9;        /* light grey */
  --bg2:#ffffff;       /* white */
  --text:#0f172a;
  --muted:#475569;
  --line:rgba(15,23,42,.12);
  --shadow:0 10px 30px rgba(2,6,23,.10);
  --radius:18px;
  --max:1120px;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: linear-gradient(180deg, var(--bg), var(--bg2) 55%);
  color:var(--text);
  line-height:1.6;
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:14px; min-width:220px;
}
.brand img{width:54px; height:auto; display:block}
.brand-text{display:flex; flex-direction:column; gap:2px}
.brand-text .site-title{font-size:16px; font-weight:900; letter-spacing:.3px}
.brand-text .tagline{font-size:12px; color:var(--muted)}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background: rgba(2,6,23,.03);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
}
.primary-nav{display:flex; align-items:center}
.primary-nav ul{list-style:none; display:flex; gap:8px; margin:0; padding:0}
.primary-nav a{
  display:inline-flex; padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--text);
  font-weight:750;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{
  background: rgba(31,92,255,.08);
  border-color: rgba(31,92,255,.18);
  color: var(--primary);
}

/* Cards */
.card{
  background: var(--bg2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  font-weight:900;
  border:1px solid var(--line);
  background: rgba(2,6,23,.03);
  color:var(--text);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn.primary{
  border-color: rgba(31,92,255,.20);
  background: var(--primary);
  color:#fff;
  box-shadow: 0 12px 24px rgba(31,92,255,.22);
}
.btn.secondary{
  border-color: rgba(25,181,106,.24);
  background: rgba(25,181,106,.12);
  color: #0b3a23;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}

/* Hero */
.hero{padding:64px 0 26px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.hero h1{
  font-size: clamp(30px, 3.6vw, 46px);
  line-height:1.08;
  margin:0 0 12px;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
}
.hero-card{padding:18px; display:flex; flex-direction:column; gap:12px}
.stat-grid{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px}
.stat{
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
}
.stat .big{font-size:18px; font-weight:950; color: var(--primary)}
.stat .small{color:var(--muted); font-size:12px; margin-top:4px}

/* Sections */
.section{padding:22px 0}
.section.alt{
  background: rgba(2,6,23,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.section h2{margin:0 0 14px; font-size:22px}
.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.service{padding:16px}
.service h3{margin:0 0 8px; font-size:16px}
.service p{margin:0; color:var(--muted); font-size:13px}
.service-badge{
  display:inline-flex;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(25,181,106,.12);
  border:1px solid rgba(25,181,106,.24);
  color:#0b3a23;
  margin-bottom:10px;
}

/* Page */
.page-header{padding:34px 0 10px}
.page-header h1{margin:0; font-size:28px}
.content{padding:18px 0 48px}
.content .card{padding:18px}

/* Gallery */
.gallery-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.gallery-item{
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
}
.gallery-item img{width:100%; height:220px; object-fit:cover; display:block}
.gallery-cap{
  display:flex; justify-content:space-between; gap:8px; align-items:center;
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
}
.gallery-cap .tag{font-weight:900; color: var(--primary)}

/* Reviews */
.reviews{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.review{padding:16px}
.review .name{font-weight:950}
.review .meta{color:var(--muted); font-size:12px; margin-top:4px}
.review .stars{color: var(--secondary); font-weight:950; margin-top:8px}
.review p{margin:10px 0 0; color:var(--muted); font-size:13px}

/* Form */
.form{display:grid; gap:10px}
.field{display:grid; gap:6px}
label{font-size:13px; color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(31,92,255,.35);
  box-shadow: 0 0 0 4px rgba(31,92,255,.10);
}
textarea{min-height:140px; resize:vertical}
.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(25,181,106,.10);
}
.notice.error{background: rgba(239,68,68,.10)}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
  background: var(--bg2);
}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:13px}
.footer-inner a{color:var(--primary); font-weight:800}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .reviews{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .primary-nav{display:none}
  .nav-toggle{display:inline-flex}
  .primary-nav.is-open{
    display:block;
    position:absolute;
    top:64px; right:18px; left:18px;
    background: rgba(255,255,255,.96);
    border:1px solid var(--line);
    border-radius:18px;
    padding:10px;
  }
  .primary-nav.is-open ul{flex-direction:column}
}
@media (max-width: 520px){
  .gallery-grid{grid-template-columns:1fr}
}
