/* ==========================================================================
   Omri the Handyman — stylesheet
   Palette pulled from the logo: ink black, cream white, warm rust accent
   ========================================================================== */

:root {
  --ink: #1b1b1b;
  --ink-soft: #333333;
  --cream: #faf6ee;
  --cream-dark: #f0e9db;
  --white: #ffffff;
  --accent: #b5502e;
  --accent-dark: #8f3d21;
  --border: #e2d9c6;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(27, 27, 27, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 10px;
}

.eyebrow.center,
.section-title.center,
.section-sub.center {
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(250, 246, 238, 0.6);
  color: var(--cream);
}
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }

.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover { color: var(--accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 90px 24px 80px;
}

.hero-copy .eyebrow { color: #d99a75; }

.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  color: var(--white);
}

.hero-sub {
  color: #cfc7b8;
  font-size: 17px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-trust {
  margin-top: 24px;
  font-size: 14px;
  color: #e0b98f;
  letter-spacing: 0.02em;
}

.hero-badge {
  display: flex;
  justify-content: center;
}

.hero-badge-img {
  width: min(340px, 80%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* invert the logo (black ink) so it reads on the dark hero */
.hero-badge-img {
  background: var(--cream);
  border-radius: 50%;
  padding: 10px;
}

/* ---------- Services ---------- */

.services { padding: 90px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- Why Us ---------- */

.why-us {
  background: var(--cream-dark);
  padding: 90px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: center;
}

.trust-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.trust-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.trust-item p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- Philosophy ---------- */

.philosophy {
  background: var(--cream);
  color: var(--ink);
  padding: 95px 0 90px;
}

.philosophy .section-title { color: var(--ink); }

.philosophy-body {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 17px;
  color: var(--ink-soft);
}

.philosophy-body p { margin-bottom: 20px; }

.philosophy-lead {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.philosophy-callout {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* ---------- Gallery / Carousel ---------- */

.gallery {
  background: var(--cream-dark);
  padding: 90px 0;
}

.carousel {
  position: relative;
  max-width: 760px;
  margin: 48px auto 0;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
}

.carousel-slide {
  flex: 0 0 100%;
}

.carousel-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--white);
}


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, color 0.15s ease;
}

.carousel-arrow:hover {
  background: var(--accent);
  color: var(--white);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ---------- Service Area ---------- */

.service-area {
  background: var(--ink);
  color: var(--cream);
  padding: 90px 0;
}

.service-area .eyebrow { color: #d99a75; }
.service-area .section-title { color: var(--white); }
.service-area-copy p { color: #cfc7b8; }

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

.area-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.area-list li {
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}

.area-list li::before {
  content: "\2713";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.area-note {
  font-size: 13px;
  color: #8a8375;
  font-style: italic;
}

.service-area-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.service-area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--cream);
  color: var(--ink);
  padding: 90px 0;
}

.contact .section-title { color: var(--ink); }
.contact > .container > .contact-inner p { color: var(--ink-soft); }

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
}

.contact-detail-icon {
  font-size: 20px;
  width: 28px;
  flex-shrink: 0;
}

.contact-detail strong {
  font-weight: 600;
}

.contact-form-wrap {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-submit { width: 100%; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.form-note a { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: #141210;
  color: #b9b2a3;
  padding: 44px 0 90px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-name {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  font-size: 15px;
}

.footer-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2px 0 0;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a { font-size: 14px; }
.footer-nav a:hover { color: var(--accent); }

.footer-flag {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  align-self: center;
}

.footer-copy {
  font-size: 13px;
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
}

/* ---------- Mobile call bar ---------- */

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
  }
  .hero-copy { order: 2; }
  .hero-badge { order: 1; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  .service-area-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .carousel { max-width: 100%; }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }

  .mobile-call-bar { display: flex; }
  .site-footer { padding-bottom: 90px; }
  body { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 26px 20px; }
  .hero-inner { padding: 50px 20px 60px; }
}
