/*
Theme Name: The Clean Getaway
Theme URI: https://thecleangetaway.co.uk
Author: Leon Coates
Description: Lightweight 3-page theme for The Clean Getaway (Home / About / Contact)
Version: 1.0.0
Text Domain: clean-getaway
*/

:root{
  --bg: #0b1220;
  --text: #eaf2ff;
  --muted: rgba(234,242,255,0.72);
  --line: rgba(234,242,255,0.12);

  /* Brand greens */
  --g900:#0f3d22;
  --g800:#145a32;
  --g700:#1b6b3a;
  --g600:#2e7d32;
  --g500:#3aa655;
  --g300:#7fe0a0;

  /* Accent */
  --blue:#2aa9ff;
  --sun:#ffb020;

  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 500px at 18% 18%, rgba(58,166,85,0.35), transparent 65%),
    radial-gradient(900px 500px at 78% 22%, rgba(42,169,255,0.25), transparent 60%),
    radial-gradient(800px 450px at 55% 90%, rgba(255,176,32,0.18), transparent 60%),
    linear-gradient(180deg, #060b16 0%, #0b1220 55%, #070b14 100%);
  overflow-x:hidden;
}

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

.container{ width:min(var(--max), 92vw); margin:0 auto; }

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(8,12,22,0.65);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap:14px;
}

.brand{ display:flex; align-items:center; gap:12px; min-width: 220px; }
.brand h1{ margin:0; font-size:16px; line-height:1.1; }
.brand p{ margin:2px 0 0; font-size:12.5px; color:var(--muted); }

.logo{
  width:44px; height:44px; border-radius:14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(127,224,160,0.95), rgba(46,125,50,0.65)),
    linear-gradient(135deg, rgba(42,169,255,0.35), rgba(255,176,32,0.18));
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,0.12);
}
.logo span{
  font-weight:900; letter-spacing:-0.03em;
  color:#0b1220;
  background: rgba(255,255,255,0.9);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 12px;
}

nav ul{ list-style:none; display:flex; gap:12px; margin:0; padding:0; flex-wrap:wrap; justify-content:flex-end; }
nav a{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:600;
  font-size:13.5px;
}
nav a:hover{ text-decoration:none; border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: var(--text); }
nav .current-menu-item > a,
nav a.is-active{ border-color: rgba(127,224,160,0.38); background: rgba(58,166,85,0.10); color: var(--text); }

.cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius:999px;
  font-weight:800;
  font-size:13.5px;
  border: 1px solid rgba(127,224,160,0.35);
  background: linear-gradient(135deg, rgba(58,166,85,0.25), rgba(46,125,50,0.10));
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.cta:hover{ text-decoration:none; border-color: rgba(127,224,160,0.6); }

.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.hero{ padding: 56px 0 26px; }
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.heroMain{ padding: 28px; overflow:hidden; }
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius:999px;
  border: 1px solid rgba(127,224,160,0.35);
  background: rgba(58,166,85,0.10);
  font-weight:800;
  font-size:12.5px;
  margin-bottom: 14px;
}
.badge i{ width:10px; height:10px; border-radius:50%; background: var(--g300); box-shadow: 0 0 0 4px rgba(127,224,160,0.18); }

.heroTitle{
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.heroTitle .grad{
  background: linear-gradient(90deg, #ffffff 0%, #d9ffe7 38%, #b8ffda 58%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heroSub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

.btnRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 4px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.btn.primary{
  border-color: rgba(127,224,160,0.45);
  background: linear-gradient(135deg, rgba(58,166,85,0.28), rgba(46,125,50,0.10));
}
.btn:hover{ text-decoration:none; border-color: rgba(255,255,255,0.28); }
.btn.primary:hover{ border-color: rgba(127,224,160,0.75); }

.pillRow{ display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0 0; }
.pill{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(234,242,255,0.85);
  font-size: 13px;
  display:inline-flex; gap:8px; align-items:center;
}
.dot{ width:8px; height:8px; border-radius:50%; background: var(--blue); }
.dot.green{ background: var(--g300); }
.dot.sun{ background: var(--sun); }

.heroSide{ padding: 22px; display:flex; flex-direction:column; gap:12px; }
.panel{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 16px;
}
.panel h3{ margin:0 0 6px; font-size: 15px; }
.panel p{ margin:0; color: var(--muted); font-size: 13.5px; line-height:1.5; }

.sectionTitle{ margin: 0 0 10px; font-size: 22px; letter-spacing:-0.02em; }
.sectionSub{ margin:0 0 18px; color: var(--muted); line-height: 1.6; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature{ padding: 18px; }
.icon{
  width: 40px; height: 40px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(58,166,85,0.16);
  border: 1px solid rgba(127,224,160,0.28);
  margin-bottom: 12px;
  font-weight: 900;
  color: #d9ffe7;
}
.feature h4{ margin:0 0 6px; font-size: 15px; }
.feature p{ margin:0; color: var(--muted); line-height: 1.55; font-size: 13.5px; }

.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items:start; }

form{ display:grid; gap: 10px; }
label{ font-size: 12.5px; color: rgba(234,242,255,0.78); font-weight: 700; }
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  outline: none;
  font-size: 14px;
}
input:focus, textarea:focus{ border-color: rgba(127,224,160,0.7); box-shadow: 0 0 0 4px rgba(58,166,85,0.15); }
textarea{ min-height: 120px; resize: vertical; }

.notice{
  font-size: 12px;
  color: rgba(234,242,255,0.65);
  line-height: 1.5;
}

footer{
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  color: rgba(234,242,255,0.70);
  font-size: 12.5px;
}

@media (max-width: 920px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  nav ul{ justify-content:flex-start; }
  .brand{ min-width: 0; }
}

/* === Header layout fix === */

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

/* Constrain logo size */
.site-logo img,
.custom-logo{
  height:56px !important;
  width:auto !important;
  max-height:56px;
  object-fit:contain;
}

/* Prevent WP adding weird spacing */
.custom-logo-link{
  display:flex;
  align-items:center;
  line-height:0;
}

/* Stop header stretching */
header{
  min-height:72px;
}

/* Mobile scaling */
@media (max-width: 640px){
  .site-logo img,
  .custom-logo{
    height:42px !important;
    max-height:42px;
  }
}
