/* Wadi Handy — demo site styles.
   Mirrors the reference (mrhandyman.com) structure & polish, re-skinned for a local
   handyman business. Bold, friendly, trust-forward: Poppins (headings) + Inter (body),
   a steel-navy + safety-orange palette. Same component system as the Diamond Exchange
   build so features (drag-drop gallery, reviews) carry straight over. */

:root {
  --ink: #14202b;
  --ink-soft: #4b5a67;
  --navy: #143a5a;
  --navy-deep: #0d2740;
  --orange: #f47b20;
  --orange-deep: #dd6410;
  --steel: #eef2f6;
  --steel-2: #e2e9f0;
  --white: #ffffff;
  --line: #d9e1e9;
  --shadow: 0 10px 40px rgba(13, 39, 64, 0.14);
  --shadow-sm: 0 4px 16px rgba(13, 39, 64, 0.09);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; font-weight: 700; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }

p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--steel { background: var(--steel); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.76rem;
  font-weight: 700; color: var(--orange-deep); margin-bottom: 14px;
}
.center { text-align: center; }
.lead { font-size: 1.12rem; max-width: 680px; margin: 18px auto 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 6px;
  font-weight: 700; letter-spacing: 0.02em;
  font-size: 0.9rem; transition: all 0.2s ease; cursor: pointer; border: 2px solid transparent;
  font-family: "Poppins", sans-serif;
}
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(244, 123, 32, 0.32); }
.btn--accent:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: "Poppins", sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.brand__mark { width: 34px; height: 34px; border-radius: 8px; background-color: var(--orange);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a4 4 0 0 0-5.4 5.3L3 18v3h3l6.4-6.4a4 4 0 0 0 5.3-5.4l-2.6 2.6-2.1-.5-.5-2.1z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 20px 20px; }
.brand span { color: var(--orange); }
.nav__links { display: flex; gap: 30px; list-style: none; }
.nav__links a { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover, .nav__links a.active { color: var(--orange-deep); }
.nav__cta { font-size: 0.82rem; padding: 11px 22px; }
.nav__toggle { display: none; font-size: 1.5rem; background: none; border: 0; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  color: #fff; text-align: center;
  background: linear-gradient(rgba(13,39,64,0.72), rgba(13,39,64,0.80)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=1920&auto=format&fit=crop") center/cover;
}
.hero h1 { color: #fff; max-width: 940px; margin: 0 auto; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.2rem; max-width: 660px; margin: 20px auto 32px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__trust { margin-top: 30px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.9); font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }

/* Feature row (why choose us) */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { text-align: center; padding: 8px; }
.feature__icon {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(244,123,32,0.12); color: var(--orange-deep);
  font-size: 1.7rem;
}
.feature h3 { margin-bottom: 10px; }

/* Service cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.card__body { padding: 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__link { color: var(--orange-deep); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.split img { border-radius: 10px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.3s, filter 0.3s; }
.gallery-grid img:hover { transform: scale(1.02); filter: brightness(1.05); }

/* Drag-drop admin gallery */
.dropzone {
  border: 2px dashed var(--orange); border-radius: 10px; padding: 48px 24px; text-align: center;
  background: var(--steel); color: var(--ink-soft); cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.dropzone.dragover { background: var(--steel-2); border-color: var(--orange-deep); }
.dropzone strong { color: var(--orange-deep); }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.admin-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: grab; border: 2px solid transparent; }
.admin-tile.dragging { opacity: 0.4; }
.admin-tile.drop-target { border-color: var(--orange); }
.admin-tile img { width: 100%; height: 100%; object-fit: cover; }
.admin-tile__remove {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; border: 0; cursor: pointer; font-size: 1rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s;
}
.admin-tile__remove:hover { background: #c0392b; }
.admin-tile__handle { position: absolute; bottom: 6px; left: 6px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.65rem; padding: 2px 8px; border-radius: 10px; letter-spacing: 0.05em; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.review__text { color: var(--ink); margin-bottom: 18px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--steel-2); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-family: "Poppins", sans-serif; }
.review__name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.review__src { font-size: 0.74rem; color: var(--ink-soft); }
.google-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
.google-badge b { font-weight: 700; }
.g-blue{color:#4285F4}.g-red{color:#EA4335}.g-yellow{color:#FBBC05}.g-green{color:#34A853}

/* CTA band */
.cta-band {
  background: linear-gradient(rgba(13,39,64,0.90), rgba(13,39,64,0.90)),
    url("https://images.unsplash.com/photo-1504148455328-c376907d081c?q=80&w=1920&auto=format&fit=crop") center/cover;
  color: #fff; text-align: center; padding: 84px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 14px auto 28px; max-width: 560px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.info-row .ico { color: var(--orange-deep); font-size: 1.3rem; }
.info-row h4 { font-size: 0.82rem; margin-bottom: 2px; }
.map-embed { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: 8px; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 18px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 0.82rem; }

/* Page header (inner pages) */
.page-head {
  background: linear-gradient(rgba(13,39,64,0.78), rgba(13,39,64,0.78)),
    url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=1920&auto=format&fit=crop") center/cover;
  color: #fff; text-align: center; padding: 92px 0;
}
.page-head h1 { color: #fff; }
.page-head p { color: rgba(255,255,255,0.88); margin-top: 10px; }

.notice { background: var(--steel-2); border-left: 3px solid var(--orange); padding: 14px 18px; font-size: 0.86rem; border-radius: 0 6px 6px 0; margin-top: 22px; }

/* Responsive */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .grid--3, .grid--2, .reviews, .gallery-grid, .admin-grid, .contact-grid, .split, .footer__grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}
