/* Veritas Roofing — brand: deep navy + roofing red, industrial/trustworthy */

:root {
  --navy: #0f1e3c;
  --navy-deep: #0a1529;
  --red: #c8161d;
  --red-dark: #9e1116;
  --slate: #4a5568;
  --cream: #f7f5f0;
  --white: #ffffff;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #1c2333;
  background: var(--cream);
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a {
  color: var(--red);
}

.section-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-title {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Navbar ---------- */
.navbar-veritas {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(15, 30, 60, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-veritas .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.navbar-veritas .navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-veritas .nav-link {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--navy) !important;
  font-weight: 500;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.navbar-veritas .nav-link:hover {
  color: var(--red) !important;
}

.navbar-veritas .btn-nav-cta {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.88rem;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  border: none;
}

.navbar-veritas .btn-nav-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

/* ---------- Hero (typographic-forward split) ---------- */
.hero {
  background: var(--navy);
  background-image:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(120deg, transparent 40%, rgba(200, 22, 29, 0.12) 40.5%, rgba(200, 22, 29, 0.12) 44%, transparent 44.5%);
  pointer-events: none;
}

.hero-roofline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: var(--cream);
  clip-path: polygon(0% 100%, 0% 60%, 8% 35%, 16% 55%, 24% 20%, 32% 55%, 40% 35%, 48% 60%, 56% 30%, 64% 58%, 72% 38%, 80% 62%, 88% 25%, 96% 55%, 100% 40%, 100% 100%);
}

.hero-eyebrow {
  color: #ffb4b7;
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-title .accent {
  color: var(--red);
}

.hero-subtitle {
  color: #e4e8f0;
  font-size: 1.15rem;
  max-width: 480px;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-content {
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: inline-block;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  color: #cfd6e6;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge i {
  color: var(--red);
  font-size: 1.1rem;
}

.btn-hero-primary {
  background: var(--red);
  border: none;
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.btn-hero-primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.hero-photo-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  border: 4px solid rgba(255,255,255,0.15);
  aspect-ratio: 4 / 5;
  background: url('img/hero.webp') center/cover no-repeat;
  position: relative;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,30,60,0.55) 0%, rgba(15,30,60,0) 40%);
}

.hero-photo-caption {
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  color: #fff;
  font-size: 0.85rem;
  z-index: 2;
  font-weight: 500;
}

/* ---------- Section spacing ---------- */
section {
  padding: 5.5rem 0;
}

.bg-navy {
  background: var(--navy);
  color: #fff;
}

.bg-cream {
  background: var(--cream);
}

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(15,30,60,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,30,60,0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p, .service-card ul {
  color: #4a5568;
  font-size: 0.95rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ---------- Why Veritas (trust grid) ---------- */
.trust-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  height: 100%;
}

.trust-card i {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

.trust-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.trust-card p, .trust-card li {
  color: #cfd6e6;
  font-size: 0.9rem;
}

.trust-card a {
  color: #ffb4b7;
}

/* ---------- About / family ---------- */
.about-photo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15,30,60,0.15);
}

.about-photo img {
  width: 100%;
  display: block;
}

.memorial-card {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 2rem;
  border-left: 4px solid var(--red);
}

.memorial-card h3 {
  font-size: 1.1rem;
  color: #fff;
}

.memorial-card p {
  color: #cfd6e6;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.hope-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(15,30,60,0.08);
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.hope-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.hope-card p {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  color: var(--red);
  font-size: 1.3rem;
  margin-top: 0.15rem;
}

.contact-info-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-info-item p, .contact-info-item a {
  color: #4a5568;
  margin-bottom: 0;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--red);
}

.map-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15,30,60,0.15);
  border: none;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer-veritas {
  background: var(--navy-deep);
  color: #cfd6e6;
  padding: 3.5rem 0 2rem;
}

.footer-logo-chip {
  background: #fdfbf7;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: inline-block;
}

.footer-logo-chip img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-veritas h5 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-veritas a {
  color: #cfd6e6;
  text-decoration: none;
}

.footer-veritas a:hover {
  color: var(--red);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  margin-right: 0.5rem;
  color: #fff;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.footer-powered a {
  color: #ffb4b7;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 6rem;
    text-align: center;
  }
  .hero-content {
    display: block;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-photo-frame {
    margin-top: 3rem;
    aspect-ratio: 16/10;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}
