/*
Theme Name: Green Room Painting
Description: Custom coastal painting company website, with editable homepage text, photos and contact details in Appearance > Customize.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Green Room Painting
Text Domain: green-room-painting
License: GPL-2.0-or-later
*/

:root{
  --green:#075f20;
  --green2:#15952a;
  --navy:#07194f;
  --ink:#26313f;
  --cream:#f5f7f3;
  --white:#fff;
  --line:#dfe6df;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.6;background:#fff}
a{color:inherit}
.container{width:min(1120px,92%);margin:auto}
header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0}
.nav img{width:220px;max-width:45vw;height:auto}
.navlinks{display:flex;gap:22px;align-items:center;font-size:14px;font-weight:700}
.navlinks a{text-decoration:none}
.cta{background:var(--green);color:white;padding:12px 18px;border-radius:7px;text-decoration:none;font-weight:800}
.hero{min-height:660px;display:grid;place-items:center;position:relative;background:
linear-gradient(90deg,rgba(4,18,54,.78),rgba(4,18,54,.28)),
var(--gr-hero) center/cover no-repeat;color:white}
.hero-inner{padding:90px 0;max-width:760px;margin-left:0}
.kicker{text-transform:uppercase;letter-spacing:3px;font-weight:800;font-size:14px;color:#dff4df}
h1{font-size:clamp(42px,7vw,78px);line-height:1.02;margin:12px 0 22px}
.hero p{font-size:20px;max-width:650px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{display:inline-block;padding:14px 21px;border-radius:7px;text-decoration:none;font-weight:800}
.btn-green{background:#14952a;color:#fff}
.btn-light{background:#fff;color:var(--navy)}
section{padding:82px 0}
.section-title{text-align:center;max-width:760px;margin:0 auto 42px}
.section-title h2{font-size:38px;line-height:1.1;margin:0 0 12px;color:var(--navy)}
.section-title p{margin:0;color:#59636d}
.about{display:grid;grid-template-columns:1.1fr .9fr;gap:54px;align-items:center}
.about img{width:100%;border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.12)}
.about h2{font-size:40px;color:var(--navy);line-height:1.1;margin-top:0}
.badge{display:inline-block;background:#e7f5e8;color:var(--green);font-weight:800;padding:8px 12px;border-radius:999px;margin-bottom:12px}
.services{background:var(--cream)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.04)}
.card h3{margin:0 0 8px;color:var(--navy);font-size:21px}
.card p{margin:0;color:#59636d}
.story{background:var(--navy);color:#fff}
.story .section-title h2{color:#fff}
.story .section-title p{color:#dce4ef}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.story-card{padding:28px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.06)}
.story-card strong{display:block;font-size:27px;color:#75db81;margin-bottom:7px}
.products{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.products h2{color:var(--navy);font-size:38px;line-height:1.1}
.products-box{border-left:5px solid var(--green);padding:10px 0 10px 25px}
.products-box p{margin:0 0 16px}
.environment{background:#eef7ee}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}
.check{padding:18px;background:#fff;border:1px solid #d9e8d9;border-radius:9px}
.check b{color:var(--green)}
.gallery img{width:100%;border-radius:12px;display:block}
.gallery-caption{text-align:center;margin-top:14px;color:#59636d}
.contact{background:linear-gradient(135deg,#f4f8f4,#fff)}
.contact-box{display:grid;grid-template-columns:1fr .8fr;gap:42px;align-items:center}
.contact h2{font-size:44px;line-height:1.08;color:var(--navy);margin:0 0 12px}
.phone{font-size:32px;font-weight:900;color:var(--green);text-decoration:none}
footer{background:#071329;color:#dce4ef;padding:35px 0}
.footer-row{display:flex;justify-content:space-between;gap:25px;align-items:center}
footer img{width:200px;background:white;border-radius:8px;padding:8px}
.small{font-size:13px;color:#aeb9c8}
@media(max-width:800px){
  .navlinks{display:none}
  .hero{min-height:600px}
  .about,.products,.contact-box{grid-template-columns:1fr}
  .cards,.story-grid{grid-template-columns:1fr}
  .checks{grid-template-columns:1fr}
  section{padding:62px 0}
  .hero-inner{padding:70px 0}
}

section[id]{scroll-margin-top:110px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.project-grid figure{margin:0}.project-grid img{aspect-ratio:4/3;object-fit:cover;transition:filter .2s}.photo-link{display:block;border-radius:12px;overflow:hidden}.photo-link:hover img{filter:brightness(.92)}.project-grid figcaption{margin-top:10px;font-weight:700;color:var(--navy)}.nav img{width:245px}.mobile-call{display:none}.gallery-dialog{width:min(1100px,95vw);max-height:95vh;padding:52px 18px 18px;border:0;border-radius:12px;background:white}.gallery-dialog::backdrop{background:rgba(4,18,54,.88)}.gallery-dialog img{display:block;max-width:100%;max-height:75vh;width:auto;margin:auto;object-fit:contain}.close-photo{position:absolute;right:16px;top:10px;padding:8px 14px;border:1px solid var(--line);background:white;color:var(--navy);border-radius:6px;cursor:pointer;font-size:16px}.small{font-size:14px}.hero-inner{margin-left:auto;max-width:1120px}.hero-inner h1,.hero-inner p{max-width:760px}.nav a:focus-visible,.btn:focus-visible,.photo-link:focus-visible{outline:3px solid #15952a;outline-offset:5px}
@media(max-width:800px){.mobile-call{display:inline-block;white-space:nowrap;font-weight:bold;text-decoration:none;color:var(--green)}.nav{gap:12px}.nav img{max-width:55vw}.footer-row{flex-wrap:wrap}.phone{font-size:clamp(24px,7vw,32px)}}@media(max-width:800px){.project-grid{grid-template-columns:1fr}}@media(max-width:800px){.project-grid{grid-template-columns:1fr}}@media(max-width:550px){.project-grid{grid-template-columns:1fr}.section-title h2,.about h2,.products h2,.contact h2{font-size:32px}.hero{min-height:560px}.hero-inner h1{font-size:44px}.hero p{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.hero p.hero-tagline{font-size:clamp(18px,2.2vw,23px);font-weight:700;color:#dff4df;margin:0 0 22px;max-width:760px}
.brand-story{background:#eef7ee;border-top:1px solid #d9e8d9}
.brand-story-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}
.brand-story h2{font-size:40px;line-height:1.1;color:var(--navy);margin:8px 0 22px}
.brand-story-tagline{font-size:clamp(24px,3vw,32px);font-weight:700;line-height:1.35;color:var(--green);margin:0}
.brand-story-copy{border-left:3px solid var(--green2);padding-left:30px}
.brand-story-copy p:first-child{margin-top:0}
.brand-story-copy p:last-child{margin-bottom:0}
.brand-story-closing{font-weight:700;color:var(--green)}
.footer-tagline{margin:0 0 10px;color:#dff4df;font-size:16px;font-weight:700}
@media(max-width:800px){.brand-story-layout{grid-template-columns:1fr;gap:30px}.brand-story-copy{padding-left:20px}}
@media(max-width:550px){.brand-story h2{font-size:32px}}

.brand-story-photo{margin:28px 0 0}.brand-story-photo img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 12px 30px rgba(7,25,79,.12)}.brand-story-photo figcaption{font-size:14px;color:#59636d;margin-top:10px}

/* WordPress integration */
.nav img{width:290px;max-width:55vw}footer img{width:240px}
body.admin-bar header{top:32px}
.gr-content{min-height:60vh;padding:60px 0}.gr-content img{max-width:100%;height:auto}
.skip-link{position:absolute;left:-10000px;top:auto}.skip-link:focus{left:10px;top:10px;z-index:99999;background:white;color:#07194f;padding:10px}
@media(max-width:782px){body.admin-bar header{top:46px}}
@media(max-width:600px){body.admin-bar header{top:0}}
