/* =========================
   Roland's Handyman
   Clean Base Styles
   ========================= */

/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   COLOUR PALETTE (HEX ONLY)
========================= */

:root {
  /* Backgrounds */
  --bg-page: #0c0d0f;
  --bg-panel: #14171b;
  --bg-card: #181c20;

  /* Text */
  --text-main: #e9eef2;
  --text-muted: #b8c0c8;

  /* Accent */
  --accent-main: #f97316;
  --accent-strong: #ff8a00;

  /* Layout */
  --radius-lg: 22px;
  --radius-sm: 14px;
  --max-width: 1100px;
  --gap: 22px;
}

/* =========================
   PAGE / BODY
========================= */

html {
  background: #0c0d0f;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #e9eef2;
  line-height: 1.5;
  background: transparent;
}

/* =========================
   CONTAINER (WIDTH ONLY)
========================= */

.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 18px;
}

/* =========================
   HEADER
========================= */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

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

.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a00, #d46b00);
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}

.site-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.site-tag {
  font-size: 0.85rem;
  color: #b8c0c8;
}

/* =========================
   MAIN PANEL
========================= */

main {
  background: #14171b;
  border-radius: 22px;
  padding: 32px;
}

/* =========================
   SECTIONS
========================= */

section {
  margin-bottom: 42px;
}

h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

p {
  color: #b8c0c8;
  font-size: 0.95rem;
}

/* =========================
   LEGAL PAGES
========================= */

.legal-content h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.legal-content h2 {
  margin-top: 28px;
}

.legal-content p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--accent-strong);
}

/* =========================
   GRID
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

/* =========================
   CARDS
========================= */

.card {
  background: #181c20;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  align-self: start;
}

/* =========================
   FLOATING CONTACT BUTTON
========================= */

.fab {
  position: fixed;
  background: linear-gradient(180deg, #ff8a00, #f97316);
  color: #111;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact button (bottom-right) */
.fab.contact-fab {
  right: 22px;
  bottom: 22px;
}

/* =========================
   SOCIAL FLOATING BUTTONS
========================= */

.social-fabs {
  position: fixed;
  left: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

/* Individual social FABs */
.fab.social {
  position: static; /* IMPORTANT */
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
}

/* Icon images */
.fab.social img {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

/* Hover */
.fab.social:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

/* Platform colours */


.fab.social::after {
  content: attr(aria-label);
  position: absolute;
  left: 64px;
  white-space: nowrap;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fab.social:hover::after {
  opacity: 1;
}

/* =========================
   Gallery Styles
========================= */

.gallery-section {
  margin: 60px 0;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 8px;
}

.gallery-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.gallery-strip-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.gallery-strip {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: galleryScroll 34s linear infinite;
}

.gallery-strip-wrap:hover .gallery-strip {
  animation-play-state: paused;
}

@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gallery-strip-item {
  flex: 0 0 auto;
  width: 260px;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.gallery-strip-item:hover img {
  transform: scale(1.06);
}

.gallery-cta-wrap {
  margin-top: 36px;
}

.gallery-modal {
  width: min(900px, 95%);
  padding: 26px;
  position: relative;
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  z-index: 2;
}

.gallery-close:hover {
  opacity: 1;
}

.gallery-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 55vh;
}

.gallery-viewer img {
  max-width: 100%;
  max-height: 68vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  touch-action: pan-y;
}

.gallery-nav {
  flex: 0 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background .2s, border-color .2s;
}

.gallery-nav:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #111;
}

.gallery-counter {
  text-align: center;
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .gallery-strip-item {
    width: 170px;
    height: 125px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .gallery-viewer {
    min-height: 42vh;
    gap: 8px;
  }
}

/* =========================
   Reviews Styles
========================= */

.reviews-section {
  margin: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stars {
  color: #ff8a00;
  font-size: 18px;
  letter-spacing: 1px;
}

.review-source {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
}

.review-source a {
  color: #ff8a00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.review-source a:hover {
  color: #ffa733;
  text-shadow: 0 0 6px rgba(255, 138, 0, 0.4);
}

.review-text {
  flex-grow: 1;
  line-height: 1.5;
  font-style: italic;
  margin: 10px 0;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  margin-top: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.reviews-toggle-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* reviews-google-link styling moved below .btn-primary to win specificity — see that section */


/* =========================
   ACCORDION (SAFE VERSION)
========================= */

.accordion-toggle {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.accordion-icon {
  font-size: 1.2rem;
  color: #ff8a00;
  transition: transform 0.2s ease;
}

/* Content hidden by default */
.accordion-content {
  display: none;
  margin-top: 12px;
  color: #b8c0c8;
  line-height: 1.5;
}

/* ONLY the content becomes visible */
.accordion.open .accordion-content {
  display: block;
}

/* Icon rotates ONLY on open */
.accordion.open .accordion-icon {
  transform: rotate(45deg);
}

/* =========================
   HERO
========================= */

.hero-full {
  position: relative;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.75);
  margin-bottom: 42px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 80px 0 0 60px;
  padding: 28px 30px;
  background: rgba(20, 23, 27, 0.6);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.hero-overlay h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-overlay p {
  margin-bottom: 18px;
}

/* =========================
   SERVICE AREA
========================= */

.service-area-section {
  margin: 80px 0;
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.service-area-text p {
  margin-bottom: 14px;
  line-height: 1.6;
}

.service-area-map {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
  background: linear-gradient(180deg, #ff8a00, #f97316);
  color: #111111;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(249,115,22,0.35);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(249,115,22,0.45);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.btn-primary.reviews-google-link {
  background: transparent;
  color: #ff8a00;
  border: 1px solid rgba(255,138,0,0.5);
  box-shadow: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.btn-primary.reviews-google-link:hover {
  background: rgba(255,138,0,0.12);
  color: #ffa733;
  filter: none;
  box-shadow: none;
  transform: translateY(-2px);
  text-align: center;
}



/* =========================
   MODALS
========================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.modal {
  max-width: 540px;
  background: #14171b;
  padding: 22px;
  border-radius: 14px;
}

/* =========================
   FORMS
========================= */

.input,
textarea,
select {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  background: #0c0d0f;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
  text-align: center;
  margin-top: 36px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.site-footer a {
  color: #ff8a00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer a:hover {
  color: #ffa733;
  text-shadow: 0 0 6px rgba(255, 138, 0, 0.4);
}

/* =========================
   MOBILE TWEAKS
========================= */

/* =========================
   MOBILE LAYOUT (FULL WIDTH)
========================= */

@media (max-width: 720px) {

  /* Remove desktop framing */
  .container {
    margin: 0;
    padding: 0;
  }

  main {
    border-radius: 0;
    padding: 20px 16px;
  }

  section {
    margin-bottom: 36px;
  }

  /* Hero */
  .hero-full {
    height: 360px;
    border-radius: 0;
  }

  .hero-overlay {
    margin: 0;
    position: absolute;
    bottom: 24px;
    left: 16px;
    right: 16px;
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  /* Grid becomes vertical */
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  /* Cards breathe vertically */
  .card {
    padding: 18px;
    border-radius: 12px;
    align-self: start;
  }

  /* Buttons fill width when appropriate */
  .btn-primary {
    width: 100%;
    text-align: center;
  }

  /* Header cleanup */
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    gap: 10px;
  }

  .logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .site-tag {
    font-size: 0.75rem;
  }

  .cta-section {
    padding: 0 16px;
  }

  nav .btn-primary {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .service-area-grid {
    grid-template-columns: 1fr;
  }
}
.review-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.review-cta p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

.review-btn {
  display: inline-block;
  min-width: 240px;
}