/*
Theme Name: Nardic Exteriors
Theme URI: https://www.nardic.biz/
Author: SaifCodes
Description: A bold one-page WordPress theme for Nardic Exteriors roofing and siding.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nardic
*/

:root {
  --nx-ink: #111214;
  --nx-ink-soft: #262a2e;
  --nx-paper: #ffffff;
  --nx-paper-warm: #f8f6f4;
  --nx-mist: #eef4f7;
  --nx-rose: #d74573;
  --nx-rose-dark: #b9325f;
  --nx-green: #2d6a4f;
  --nx-gold: #f0b44b;
  --nx-line: rgba(17, 18, 20, 0.12);
  --nx-shadow: 0 22px 70px rgba(17, 18, 20, 0.18);
  --nx-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--nx-paper);
  color: var(--nx-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--nx-ink);
  color: var(--nx-paper);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--nx-line);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.section-inner {
  width: min(var(--nx-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--nx-ink);
  text-decoration: none;
}

.brand__name {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.brand__tagline {
  color: var(--nx-rose);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--nx-ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--nx-rose);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 22px;
  background: var(--nx-rose);
  color: var(--nx-paper);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--nx-rose-dark);
  outline: none;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--nx-paper);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--nx-paper);
}

.site-main {
  background: var(--nx-paper);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(17, 18, 20, 0.98), rgba(17, 18, 20, 0.86) 48%, rgba(45, 106, 79, 0.84)),
    url("assets/images/nardic-exteriors-promo.jpeg") center / cover no-repeat;
  color: var(--nx-paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--nx-rose), var(--nx-gold), var(--nx-green));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.72fr);
  gap: 46px;
  align-items: center;
  min-height: 720px;
  padding: 62px 0 70px;
}

.hero__copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #ffd8e4;
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--nx-rose);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4rem;
  font-weight: 950;
  line-height: 0.96;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.24rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.proof-pill {
  min-height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.proof-pill strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.05;
}

.proof-pill span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero__image-wrap {
  position: relative;
}

.hero__image-frame {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--nx-shadow);
  transform: rotate(1.2deg);
}

.hero__image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  right: -18px;
  bottom: 26px;
  max-width: 230px;
  border-radius: 8px;
  background: var(--nx-paper);
  color: var(--nx-ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  padding: 18px 20px;
}

.hero__badge strong {
  display: block;
  color: var(--nx-rose);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.hero__badge span {
  display: block;
  margin-top: 4px;
  font-weight: 850;
  line-height: 1.25;
}

.service-band {
  background: var(--nx-paper);
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--nx-rose);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.55rem;
  font-weight: 950;
  line-height: 1.06;
}

.section-heading p {
  margin: 14px 0 0;
  color: #596068;
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  background: var(--nx-paper);
  padding: 26px;
  box-shadow: 0 16px 38px rgba(17, 18, 20, 0.08);
}

.service-card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  place-items: center;
  background: rgba(215, 69, 115, 0.12);
  color: var(--nx-rose);
  font-size: 1.6rem;
  font-weight: 950;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: #596068;
}

.feature-strip {
  background: var(--nx-mist);
  padding: 62px 0;
}

.feature-strip__inner {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 38px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(17, 18, 20, 0.1);
  padding: 0 0 14px;
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-list span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  background: var(--nx-green);
  color: var(--nx-paper);
  font-weight: 950;
}

.feature-list strong {
  display: block;
  line-height: 1.2;
}

.feature-list em {
  display: block;
  margin-top: 4px;
  color: #596068;
  font-style: normal;
}

.location-panel {
  border-radius: 8px;
  background: var(--nx-ink);
  color: var(--nx-paper);
  padding: 34px;
}

.location-panel p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  text-transform: uppercase;
}

.location-panel strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1.03;
}

.location-panel a {
  display: inline-block;
  margin-top: 20px;
  color: #ffd8e4;
  font-weight: 850;
  text-decoration: none;
}

.contact-band {
  background: linear-gradient(135deg, var(--nx-ink), #20342d);
  color: var(--nx-paper);
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1.04;
}

.contact-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: inline-flex;
  width: fit-content;
  color: var(--nx-paper);
  font-weight: 850;
  text-decoration: none;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  color: #ffd8e4;
}

.contact-card {
  border-radius: 8px;
  background: var(--nx-paper);
  color: var(--nx-ink);
  padding: 34px;
  box-shadow: var(--nx-shadow);
}

.contact-card__eyebrow {
  margin: 0 0 10px;
  color: var(--nx-rose);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.06;
}

.contact-card p:not(.contact-card__eyebrow) {
  margin: 16px 0 0;
  color: #596068;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.contact-card__details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  border-top: 1px solid var(--nx-line);
  padding-top: 20px;
}

.contact-card__details a {
  width: fit-content;
  color: var(--nx-rose);
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  background: var(--nx-paper);
  border-top: 1px solid var(--nx-line);
  padding: 26px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #596068;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--nx-rose);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .hero__inner,
  .feature-strip__inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: 0;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero__image-wrap {
    max-width: 560px;
  }

  .hero__badge {
    right: 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner,
  .section-inner {
    width: min(var(--nx-width), calc(100% - 28px));
  }

  .site-header__inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand__name {
    font-size: 1.12rem;
  }

  .brand__tagline {
    font-size: 0.72rem;
  }

  .hero__actions .button,
  .contact-card__actions .button {
    width: 100%;
  }

  .site-header .button {
    width: auto;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero__inner {
    gap: 30px;
    padding: 38px 0 48px;
  }

  .hero h1,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__proof {
    grid-template-columns: 1fr;
  }

  .proof-pill {
    min-height: 0;
  }

  .hero__image-frame {
    border-width: 5px;
    transform: none;
  }

  .hero__badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .service-band,
  .contact-band {
    padding: 58px 0;
  }

  .feature-strip {
    padding: 48px 0;
  }

  .location-panel,
  .contact-card {
    padding: 22px;
  }

  .location-panel strong {
    font-size: 1.8rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
