
:root {
  --navy: #12344A;
  --orange: #FF7A1A;
  --light-bg: #F4F5F8;
  --text: #222831;
  --shadow-soft: 0 18px 48px rgba(6, 20, 34, 0.32);
  --max-width: 1200px;
}

/* Reset */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Top bar */

.top-bar {
  background: var(--navy);
  color: #ffffff;
  font-size: 0.78rem;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar span {
  opacity: 0.95;
}

/* Header & nav */

.site-notice {
  background: #c96f1a;
  color: #ffffff;
  text-align: center;
  padding: 1rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-notice p {
  margin: 0;
}

header {
  background: #ffffff;
  border-bottom: 1px solid rgba(18, 52, 74, 0.08);
  position: sticky;
  top: 0;
  z-index: 900;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 60px;
  height: auto;
}

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

.brand-text span:first-child {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--navy);
}

.brand-text span:last-child {
  font-size: 0.8rem;
  color: #6b7480;
}

/* Nav links styled to match mockup */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  font-weight: 600;
  color: #3e4854;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.18s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  box-shadow: none;
}

.nav-links a.nav-cta:hover {
  background: var(--orange);
  color: #ffffff;
}

/* Mobile nav */

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.4rem;
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: inherit;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Shared hero layout (kept the same) */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: stretch;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 36, 0.88), rgba(8, 22, 36, 0.55) 50%, rgba(8, 22, 36, 0.05) 100%);
}

/* PAGE-SPECIFIC BACKGROUNDS */

/* Home */
.hero-home {
  background: url("images/hero-home.jpg") center/cover no-repeat;
}

/* Door Styles */
.hero-door-styles {
  background: url("images/hero-door-styles.jpg") center/cover no-repeat;
}

/* Cavity */
.hero-cavity {
  background: url("images/hero-cavity.jpg") center/cover no-repeat;
}

/* Fire Doors */
.hero-fire {
  background: url("images/hero-fire.jpg") center/cover no-repeat;
}

/* Wardrobe */
.hero-wardrobe {
  background: url("images/hero-wardrobe.jpg") center/cover no-repeat;
}

/* Contact */
.hero-contact {
  background: url("images/hero-contact.jpg") center/cover no-repeat;
}

.hero-about {
  background: url("images/hero-about.jpg") center/cover no-repeat;
}


.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.4rem;
  display: block;
}

/* Hero left */

/* Text background box for hero */
.hero-text {
  background: rgba(255, 255, 255, 0.28);
  padding: 1.8rem 2rem;
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1f3d5a;
}


.hero-text h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.1rem, 3.1vw, 2.8rem);
  letter-spacing: -0.03em;
}

.hero-text p.lead {
  margin: 0 0 1.3rem;
  max-width: 32rem;
  font-size: 1rem;
  color: #111111;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.btn-outline,
.btn-outline-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #111111;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-outline-alt {
  border-color: #ff7a1aa6;
}

.btn-outline:hover,
.btn-outline-alt:hover {
  background: var(--orange);
  color: #111827;
  box-shadow: 0 18px 40px #ff7a1aa6;
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.8rem;
  color: #111111;
}

.hero-meta span {
  position: relative;
  padding-left: 1rem;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

/* Hero right card */

.hero-panel {
  background: #ffffff;
  color: var(--text);
  border-radius: 10px;
  padding: 1.4rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.hero-panel p {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  color: #4d5965;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: #3b4652;
}

select,
input,
textarea {
  width: 100%;
  padding: 0.52rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(18, 52, 74, 0.22);
  font: inherit;
  color: inherit;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.45);
}

/* Category strip */

.category-strip {
  background: #f7f8fb;
  border-bottom: 1px solid rgba(18, 52, 74, 0.04);
}

.category-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.25rem 1.2rem;
}

.category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

.category-item {
  display: inline-flex;             /* make them look like real buttons */
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  background: #FF7A1A;
  color: #ffffff;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 13px 30px rgba(255, 122, 26, 0.6);
  text-decoration: none;            /* remove underline on links */
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.category-item:hover {
  transform: translateY(-1px);
  background: #ff8b34;
  box-shadow: 0 18px 36px rgba(255, 122, 26, 0.75);
}


/* Content sections */

.section {
  padding: 2.5rem 1.25rem 3rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: #9da7b4;
}

.section-title {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.85rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  color: #5a6673;
}

/* Cards & grid */

.grid {
  display: grid;
  gap: 1.3rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 12px 30px rgba(11, 27, 42, 0.15);
  border: 1px solid rgba(18, 52, 74, 0.06);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555f6b;
}

.list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #555f6b;
}

.list li + li {
  margin-top: 0.3rem;
}

/* Tables */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 0.6rem;
}

.spec-table th,
.spec-table td {
  padding: 0.5rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(18, 52, 74, 0.08);
}

.spec-table th {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  color: #8a94a0;
}

.spec-table tr:nth-child(even) td {
  background: #f7f8fb;
}

/* Contact layout */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.9rem;
}

.contact-panel {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.35rem 1.4rem 1.2rem;
  box-shadow: 0 14px 34px rgba(11, 27, 42, 0.18);
  border: 1px solid rgba(18, 52, 74, 0.06);
}

.contact-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.contact-panel p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #555f6b;
}

.contact-grid {
  display: grid;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.contact-row span.label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9aa3b0;
  margin-bottom: 0.1rem;
}

/* ===== External Link Styling (Hallmark etc.) ===== */
.external-link {
  font-size: 0.88rem;
  color: var(--orange);
  text-decoration: underline;
  margin-top: 0.4rem;
  display: inline-block;
  font-weight: 700;      /* ← makes it bold */
}

.external-link:hover {
  color: var(--orange);
  font-weight: 900;
}

.feature-card .external-link {
  display: block;
  margin: 0.4rem 0;
}

/* === CLASSIC DOOR STYLES GALLERY === */

.classic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.style-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 12px 28px rgba(11, 27, 42, 0.12);
  border: 1px solid rgba(18, 52, 74, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.style-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 27, 42, 0.18);
}

.style-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 8px;
}

.style-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 700;
}

.style-card p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #555f6b;
  line-height: 1.45;
}

.style-tag {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 52, 74, 0.06);
  color: #444f5a;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* === FEATURE / BARN DOOR IMAGE IN CARD === */
.feature-door-img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  display: block;
  margin: 1rem auto 1.2rem;
}

/* Footer */

footer {
  background: #ffffff;
  border-top: 1px solid rgba(18, 52, 74, 0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: #7b8693;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    margin-top: 1.3rem;
  }
}

@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    right: 1.25rem;
    top: 62px;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    box-shadow: 0 18px 36px rgba(9, 23, 37, 0.22);
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
