/* Hallmark: FreeJunks custom theme, no plugins, no Elementor, test copy for approval before any live deploy. */
/* Critique: hero, services and prices, photo strip, how it works, FAQ, Dubai-wide service, booking call to action. All copy and prices come from the live site, no invented proof, no testimonials, no counts. */
/* Waivers: none. */
/*
Theme Name: FreeJunks Custom
Theme URI: https://www.freejunksremoval.com/
Author: Free Junk Removal Service in Dubai
Description: Custom theme with no plugins and no page builder. Booking form, schema and WhatsApp ordering are built into the theme.
Version: 1.0.28
License: GNU General Public License v2 or later
Text Domain: freejunks-custom
*/
:root {
  --color-paper: #ffffff;
  --color-ink: #000000;
  --color-muted: #000000;
  --color-line: #e2e2e2;
  --color-accent: #0dd688;
  --color-accent-ink: #000000;
  --color-accent-dark: #0a7a4d;
  --color-wa: #25d366;
  --color-wa-dark: #000000;
  --color-footer-start: #0c0c0c;
  --color-footer-end: #474747;
  --color-overlay: #070707;
  --color-transparent: transparent;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --radius: 12px;
  --container: 1280px;
}
html,
body {
  overflow-x: clip;
  scrollbar-color: var(--color-accent-dark) var(--color-paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: var(--color-ink);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
::selection {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  max-width: 68ch;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
  min-width: 0;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}
.site-logo img,
.custom-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 180px;
}
/* Desktop logo (v1.0.22): the 154x95 logo renders its "FREE JUNK REMOVER"
 * text unreadably small at 64px tall, so on desktop the header grows to
 * 96px and the logo to 80px tall (~130px wide — still a downscale from
 * the 154px source, so it stays sharp). Mobile keeps 64px / 80px. */
@media (min-width: 768px) {
  .site-logo img,
  .custom-logo {
    height: 80px;
  }
  html {
    scroll-padding-top: 112px;
  }
  h2,
  h3,
  .section {
    scroll-margin-top: 112px;
  }
}
/* Sticky header: keep anchored headings below it when jumping/scrolling.
 * Header is 80px tall (64px logo + 8px padding top and bottom), so a
 * 96px offset clears it with room to spare. */
html {
  scroll-padding-top: 96px;
}
h2,
h3,
.section {
  scroll-margin-top: 96px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-3);
}
.main-nav a {
  text-decoration: none;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.phone-link {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
}
.btn:active {
  filter: brightness(0.95);
}
.btn-secondary {
  background: var(--color-transparent);
  color: var(--color-paper);
  border: 2px solid var(--color-paper);
}
/* Hero WhatsApp button icon (v1.0.15): the button had no icon at all, only
 * text — customers could not tell at a glance it was WhatsApp. White icon
 * to match the button's white text and border on the dark hero. */
.btn-secondary svg {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 6px;
  fill: var(--color-paper);
}
.nav-toggle {
  display: none;
  background: var(--color-paper);
  border: 2px solid var(--color-ink);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Standard-size hero banner (v1.0.27, Shan: "image bhot bare ha" —
 * the full-screen hero (v1.0.20) left a big empty gap above the text,
 * worst on mobile where the H1 started two-thirds down the screen.
 * A 560px banner (460px on phones) fits the H1 + definition + buttons
 * with a small breathing room. min-height, not height — on small phones
 * the buttons can wrap to two rows and the hero still grows instead
 * of clipping. The full-screen version did not deliver Mobile 100
 * anyway (SI stayed 3.7–4.0s), so nothing is lost by reverting it. */
.hero {
  position: relative;
  color: var(--color-paper);
  background: var(--color-overlay);
  min-height: 560px;
  display: grid;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  max-width: 640px;
}
.hero-inner h1 {
  margin-top: 0;
  margin-bottom: var(--space-2);
  color: var(--color-paper);
}
.hero-inner p {
  color: var(--color-paper);
  font-size: 18px;
  margin-top: 0;
  margin-bottom: var(--space-3);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}
.section h2 {
  margin-top: 0;
  margin-bottom: var(--space-1);
}
.section-lead {
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: var(--space-3);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.service-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-paper);
  height: 100%;
}
.service-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.service-box-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-2);
}
.service-box-body h3 {
  margin-top: 0;
  margin-bottom: var(--space-1);
}
.service-box-body p {
  margin-top: 0;
  margin-bottom: var(--space-2);
  color: var(--color-muted);
}
.service-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  margin-top: 0;
  margin-bottom: var(--space-2);
}
.service-box-body .btn {
  margin-top: auto;
  text-align: center;
}
.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
}
.photo-strip img {
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.step {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-wa-dark);
  font-weight: 800;
  font-size: 20px;
}
.step h3 {
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
}
.step p {
  margin: 0;
  color: var(--color-muted);
}
.faq-list {
  border-top: 1px solid var(--color-line);
}
.faq-list details {
  border-bottom: 1px solid var(--color-line);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 18px;
}
.faq-list summary::marker {
  color: #000000;
}
/* Contact cards (v1.0.22): the Contact page was bare headings + plain
 * text — no links, no structure. Three simple cards with clickable
 * phone / email and action buttons below. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0 0 var(--space-3);
}
.contact-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.contact-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-1);
}
.contact-card p {
  margin: 0;
}
.contact-card a {
  font-weight: 700;
  overflow-wrap: anywhere;
}
/* About logo (v1.0.23): the About page always carries the company logo
 * at the top of its content — centred, at its native 154px width so it
 * stays sharp. */
.about-logo {
  text-align: center;
  margin-bottom: var(--space-3);
}
.form {
  max-width: 640px;
}
.field {
  margin-bottom: var(--space-2);
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: var(--color-ink);
}
.field textarea {
  min-height: 120px;
}
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  border: 1px solid var(--color-line);
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
}
.notice-error {
  border-left-color: var(--color-accent-dark);
}
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--color-accent);
  /* Dark text on the site green (v1.0.11): white text on #0dd688 is only
   * 1.9:1 contrast, which cost the desktop Accessibility score (95). Dark
   * ink is ~7:1 and matches the site's own buttons. The WhatsApp icon
   * stays white, as approved. */
  color: var(--color-accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px var(--space-2);
  border-radius: 999px;
}
.wa-float svg {
  width: 24px;
  height: 24px;
  flex: none;
  /* Black icon (v1.0.13): the white bubble was washed out on the bright
   * site green (1.9:1), so customers could not tell at a glance that this
   * is the WhatsApp button. Black on #0dd688 reads clearly and matches
   * the pure-black text direction. */
  fill: var(--color-accent-ink);
}
.site-footer {
  background: linear-gradient(285deg, var(--color-footer-start) 0%, var(--color-footer-end) 100%);
  color: var(--color-paper);
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
}
.site-footer a {
  color: var(--color-paper);
}
.site-footer p {
  color: var(--color-paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}
.footer-cities {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-cities li {
  margin-bottom: 6px;
}
.site-footer .footer-brand,
.site-footer .footer-col-title {
  color: var(--color-paper);
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}
.site-footer .footer-brand {
  font-size: 1.75rem;
  margin: 0.83em 0;
}
.site-footer .footer-col-title {
  font-size: 1.25rem;
  margin: 1em 0;
}
.footer-logo {
  display: block;
  width: 154px;
  height: auto;
  margin-bottom: var(--space-2);
  background: var(--color-paper);
  border-radius: var(--radius);
  padding: 6px;
}
.city-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 0 0 var(--space-3);
}
/* City cards (v1.0.18): the home "Service areas" links are proper cards —
 * photo on top, city name below — instead of a plain text list. */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0 0 var(--space-3);
}
.city-card {
  display: block;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-paper);
  text-decoration: none;
}
.city-card:hover {
  border-color: var(--color-accent);
}
.city-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.city-card-name {
  display: block;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  color: var(--color-ink);
}
.city-card-all {
  background: var(--color-accent);
  border-color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.city-card-all .city-card-name {
  color: var(--color-accent-ink);
  padding: 0;
}
.city-card-sub {
  display: block;
  font-size: 14px;
  color: var(--color-accent-ink);
  text-align: center;
}
@media (max-width: 767px) {
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.city-links a {
  color: var(--color-accent-dark);
  font-weight: 700;
}
/* Copyright + design credit on ONE line, centred (v1.0.26, Shan):
 * the global p { max-width: 68ch } was capping this line at ~544px,
 * so "Web It / Solution" split across two lines even on wide screens.
 * One centred line wherever it fits (tablet/desktop); on phones the
 * line is too long for one readable line, so it stays centred and
 * wraps to two balanced lines instead of clipping. */
.footer-bottom {
  margin-top: var(--space-3);
  max-width: none;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  .footer-bottom {
    font-size: 14px;
    text-wrap: balance;
  }
}
.footer-bottom a {
  color: var(--color-accent);
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .phone-link {
    display: none;
  }
  /* The header-actions div is empty on mobile (phone + Book Now both
   * hidden), but as a flex item it still took the far-right slot, leaving
   * the hamburger stranded in the middle of the header. Hide the empty
   * div so space-between puts the toggle at the right edge (v1.0.8). */
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav ul {
    flex-direction: column;
    gap: var(--space-1);
    padding-bottom: var(--space-2);
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav.is-open {
    display: block;
  }
  .hero {
    min-height: 460px;
  }
  .hero-inner {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
  .hero-inner p {
    font-size: 17px;
  }
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 12px;
  }
  .wa-float span {
    display: none;
  }
}
@media (max-width: 560px) {
  /* Small phones: logo + Menu + Book Now do not fit one row, so the
   * header Book Now button hides — the hero has its own Book Now button
   * and the WhatsApp float stays visible. */
  .header-actions .btn {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}
