/* JH Home Repair Services — static rebuild */
:root {
  --blue: #0288d1;
  --blue-dark: #0277bd;
  --gold: #ffb301;
  --gold-dark: #f0a500;
  --navy: #16283f;
  --navy-2: #1f3554;
  --heading: #23465e;
  --text: #3d4a57;
  --muted: #6b7a89;
  --bg-light: #f7f9fb;
  --white: #ffffff;
  --radius-pill: 999px;
  --shadow: 0 6px 24px rgba(2, 136, 209, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.divider { width: 64px; height: 3px; background: #dfe7ee; margin: 28px auto; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { font-weight: 800; letter-spacing: .5px; color: var(--heading); font-size: .95rem; line-height: 1.2; }
.brand-text small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; letter-spacing: 2px; }
.hamburger { background: var(--blue); border: none; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; }

/* Fullscreen menu */
.overlay-menu { position: fixed; inset: 0; background: rgba(22,40,63,.97); z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.overlay-menu.open { display: flex; }
.overlay-menu a { color: #fff; font-size: 1.6rem; font-weight: 700; padding: 10px 24px; border-radius: var(--radius-pill); }
.overlay-menu a:hover { background: rgba(255,255,255,.12); }
.menu-close { position: absolute; top: 22px; right: 26px; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 34px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #3a2c00; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 520px; overflow: hidden; background: var(--navy); padding: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,25,45,.25), rgba(10,25,45,.45)); }
.slide-caption { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 0 20px; }
.slide-caption h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.18); color: #fff; border: none; width: 52px; height: 110px; font-size: 1.8rem; cursor: pointer; border-radius: 8px; }
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dots button.active { background: #fff; }

/* ---------- Fix It Right ---------- */
.fix-it-right { background: var(--bg-light); text-align: center; }
.fix-it-right h2 { font-size: 2.4rem; color: var(--heading); }
.fix-it-right blockquote { font-style: italic; font-size: 1.15rem; color: var(--muted); max-width: 720px; margin: 18px auto 30px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; margin-top: 10px; }
.service { text-align: center; padding: 10px; }
.service-icon { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.service-icon svg { width: 44px; height: 44px; stroke: #fff; fill: none; stroke-width: 1.8; }
.service h3 { font-size: 1.12rem; }
.service h3 .kr { display: block; font-size: .95rem; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-light); }
.t-carousel { position: relative; max-width: 760px; margin: 0 auto; min-height: 230px; }
.t-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; text-align: center; padding: 34px 40px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.t-slide.active { opacity: 1; position: relative; }
.t-slide p { font-size: 1.08rem; font-style: italic; color: var(--text); }
.t-slide .who { margin-top: 16px; font-weight: 800; color: var(--heading); font-style: normal; }
.t-slide .who span { display: block; font-weight: 600; color: var(--muted); font-size: .9rem; }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.t-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: #c4d3e0; cursor: pointer; }
.t-dots button.active { background: var(--blue); }

/* ---------- Social / YouTube ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 8px; }
.handle { font-size: 1.1rem; color: var(--muted); text-align: center; margin-bottom: 18px; }
.handle strong { color: var(--heading); }
.yt-box { background: var(--navy); color: #fff; border-radius: 18px; padding: 48px 32px; text-align: center; }
.yt-box h2 { color: #fff; }
.yt-box p { color: rgba(255,255,255,.75); margin: 10px 0 24px; }

/* ---------- Serving area ---------- */
.serving-area .towns { columns: 3; column-gap: 32px; max-width: 900px; margin: 0 auto 30px; font-size: 1.02rem; color: var(--text); }
.serving-area .towns span { display: inline-block; margin: 3px 0; }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e3ebf2; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-section { background: var(--navy); color: #fff; }
.contact-section h2 { color: #fff; }
.contact-section .section-sub { color: rgba(255,255,255,.7); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.contact-form label { display: block; font-weight: 700; margin: 16px 0 6px; color: #fff; }
.contact-form label .kr { color: rgba(255,255,255,.65); font-weight: 600; }
.contact-form input[type=text], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; font-family: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.45); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input[type=file] { color: rgba(255,255,255,.8); margin-top: 4px; }
.upload-hint { font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 6px; }
.contact-form .btn-gold { margin-top: 22px; font-size: 1.05rem; }
.contact-info h3 { color: #fff; margin-bottom: 14px; font-size: 1.25rem; }
.contact-info p { color: rgba(255,255,255,.82); margin-bottom: 10px; }
.contact-info a { color: var(--gold); font-weight: 700; }
.contact-info a:hover { text-decoration: underline; }
.info-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 26px; margin-bottom: 22px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: 2.4rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 12px auto 0; }
.page-hero .kr { color: rgba(255,255,255,.6); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.g-item img { width: 100%; height: 230px; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { padding: 12px 16px; font-weight: 700; color: var(--heading); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 40px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner small { font-size: .88rem; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-icons a:hover { background: var(--blue); }
.social-icons svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Thank you ---------- */
.thanks { text-align: center; padding: 110px 0; }
.thanks h1 { font-size: 2.2rem; margin-bottom: 14px; }
.thanks p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .serving-area .towns { columns: 2; }
  .hero { height: 440px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .serving-area .towns { columns: 1; }
  section { padding: 52px 0; }
  .hero-arrow { width: 40px; height: 80px; }
}
