/* Greenlows - base styling (updated: vertical services + medium images + brand text color) */

:root {
  --maxw: 980px;
  --green: #2f6f3e;
  --green-dark: #255a32;
  --text: var(--green-dark);
  --muted: #2a4b35;
  --line: #d9d9d9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.section {
  margin: 18px 0 28px;
}

h1, h2, h3, h4 {
  color: var(--green-dark);
  letter-spacing: 0.2px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Links */
a { color: var(--green-dark); }
a:hover { color: var(--green); }

/* Google Reviews button (supports both .reviews-btn and your original .reviews-button block) */
.reviews {
  text-align: center;
  margin: 18px 0 0;
}

.reviews-btn,
.reviews-button a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.reviews-btn:hover,
.reviews-button a:hover {
  background: var(--green-dark);
}

/* ===============================
   SERVICES (VERTICAL STACK + MEDIUM IMAGES)
   =============================== */

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.service-link:hover {
  border-color: #b7c8be;
}

.service {
  text-align: left;
}

.img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Default desktop image sizing */
#services img,
.services img,
.service img {
  width: 310px;
  max-width: 310px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.services .service-link h3,
.service h4 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--green-dark);
}

.service-link h3 {
  line-height: 1.2;
}

/* Phone: image above text */
@media (max-width: 640px) {
  .service-link {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #services img,
  .services img,
  .service img {
    width: 235px;
    max-width: 85%;
    margin: 0 auto;
  }
}

/* Tablet: in-between sizing */
@media (min-width: 641px) and (max-width: 899px) {
  #services img,
  .services img,
  .service img {
    width: 285px;
    max-width: 285px;
  }
}

/* Desktop fix: widen image column to prevent text overlap */
@media (min-width: 900px) {
  .service-link {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
  .img-wrap { max-width: 100%; }
}

/* ===============================
   INSULATION REMOVAL: VIDEO + RIGHT PHOTOS
   video ~25% width, photos on right SIDE-BY-SIDE (2x bigger)
   =============================== */

.media-row{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;  /* stacks on small screens */
  margin: 14px 0;
}

/* HTML uses: <video class="service-video" ...> */
.service-video{
  width: 25%;
  max-width: 260px;
  min-width: 220px;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
  cursor: pointer;
}

/* HTML uses: <div class="side-photos"> */
.side-photos{
  display: flex;
  flex-direction: row;  /* SIDE-BY-SIDE */
  gap: 10px;
  flex-wrap: wrap;      /* allows wrap if tight */
  align-items: flex-start;
}

/* Photos: TWICE the prior size (110px -> 220px) */
.side-photos img{
  width: 220px;
  max-width: 48%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Mobile: stack and go full width */
@media (max-width: 768px){
  .service-video{
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .side-photos{
    width: 100%;
  }
  .side-photos img{
    width: 48%;
    max-width: 48%;
  }
}

/* ===============================
   CONTACT FORM
   =============================== */

form.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

form.contact label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--green-dark);
}

form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 1rem;
}

form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus {
  outline: none;
  border-color: #98b6a4;
  box-shadow: 0 0 0 3px rgba(47, 111, 62, 0.15);
}

form.contact button {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

form.contact button:hover {
  background: var(--green-dark);
}

/* Footer */
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}