/* ============================================================
   Leonard's Home Renovations — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Raleway:wght@500&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: #111111;
  color: #eeeeee;
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  color: #cc0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.section-title {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.section-title span {
  color: #cc0000;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: #cc0000;
  margin: 0 0 2rem 0;
  border: none;
}

.section-divider.center {
  margin: 0 auto 2rem auto;
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-red { color: #cc0000; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #cc0000;
  color: #ffffff;
  border-color: #cc0000;
}

.btn-primary:hover {
  background: #aa0000;
  border-color: #aa0000;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #111111;
  text-decoration: none;
}

.btn-outline-red {
  background: transparent;
  color: #cc0000;
  border-color: #cc0000;
}

.btn-outline-red:hover {
  background: #cc0000;
  color: #ffffff;
  text-decoration: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0a0a0a;
  border-bottom: 3px solid #cc0000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1.2;
}

.nav-logo-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.nav-logo-text > span:not(.nav-logo-name) {
  color: #aaaaaa;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-align: center;
}

.nav-logo-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #cc0000;
  font-size: 1.15rem;
  display: inline-block;
  transform: scaleX(1.2);
  transform-origin: center center;
  text-align: center;
}

/* Footer logo icon */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-logo-text {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.footer-logo-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #cc0000;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.footer-logo-text > span:not(.footer-logo-name) {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: #ffffff;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 0 1.25rem;
  height: 70px;
  line-height: 70px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cccccc;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffffff;
  border-bottom-color: #cc0000;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page offset for fixed nav ---------- */
.page-content {
  padding-top: 70px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  border-bottom: 4px solid #cc0000;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(204,0,0,0.03) 40px,
    rgba(204,0,0,0.03) 41px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  background: #cc0000;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: #cc0000;
}

.hero-sub {
  font-size: 1.1rem;
  color: #aaaaaa;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: #111111;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 2px solid #2a2a2a;
}

.service-card {
  background: #1a1a1a;
  padding: 2.5rem 2rem;
  border-left: 4px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.service-card:hover {
  border-left-color: #cc0000;
  background: #1f1f1f;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #cc0000;
}

.service-card h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #999999;
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   WHY CHOOSE US STRIP
   ============================================================ */
.why-us {
  background: #cc0000;
  padding: 3.5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.2);
}

.why-item {
  background: #cc0000;
  padding: 2rem;
  text-align: center;
}

.why-number {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.why-label {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: #1a1a1a;
  border-top: 3px solid #cc0000;
  border-bottom: 3px solid #cc0000;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #999999;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: #0a0a0a;
  border-bottom: 4px solid #cc0000;
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
}

.page-header h1 span {
  color: #cc0000;
}

.breadcrumb {
  margin-top: 0.75rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #666666;
}

.breadcrumb a {
  color: #888888;
}

.breadcrumb a:hover {
  color: #cc0000;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: #111111;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-left: 4px solid #cc0000;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.about-text h2 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.about-text p {
  color: #aaaaaa;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #cc0000;
  border: 2px solid #cc0000;
  margin-top: 3rem;
}

.value-item {
  background: #1a1a1a;
  padding: 2rem 1.5rem;
  text-align: center;
}

.value-item h3 {
  color: #cc0000;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: #999999;
  font-size: 0.9rem;
  margin: 0;
}

.team-section {
  background: #0f0f0f;
  border-top: 2px solid #1e1e1e;
}

.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-left: 4px solid #cc0000;
  padding: 2.5rem;
}

.team-photo {
  background: #222222;
  border: 2px solid #2a2a2a;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  text-align: center;
}

.team-info h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-title {
  color: #cc0000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.team-info p {
  color: #aaaaaa;
}


.owner-quote {
  border-left: 4px solid #cc0000;
  margin: 1.25rem 0 0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-style: italic;
  color: #bbbbbb;
  line-height: 1.7;
  background: #1a1a1a;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  background: #111111;
}

.gallery-grid {
  columns: 3;
  column-gap: 6px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  break-inside: avoid;
  margin-bottom: 6px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  transition: background 0.2s;
}

.gallery-item:hover .gallery-placeholder {
  background: #222222;
}

.gallery-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.3;
}

.gallery-label {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cc0000;
}

.gallery-sublabel {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #555555;
  margin-top: 0.25rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(204, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

.gallery-note {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-left: 4px solid #cc0000;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  color: #aaaaaa;
  text-align: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: #111111;
}

.contact-info-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-top: 4px solid #cc0000;
  margin-bottom: 3rem;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  flex: 1;
}

.contact-strip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-strip-divider {
  width: 1px;
  height: 3rem;
  background: #2a2a2a;
}

.contact-form-wrap h2 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaaaaa;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  color: #eeeeee;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #cc0000;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  display: none;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #cc0000;
  margin-top: 0.25rem;
}

.form-success {
  display: none;
  background: #1a2e1a;
  border: 2px solid #2a5a2a;
  border-left: 4px solid #44aa44;
  padding: 1rem 1.25rem;
  color: #88cc88;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.info-label {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cc0000;
  margin-bottom: 0.2rem;
}

.info-value {
  color: #cccccc;
  font-size: 0.95rem;
}

.info-value a {
  color: #cccccc;
  text-decoration: none;
}

.info-value a:hover {
  color: #ffffff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0a0a0a;
  border-top: 3px solid #cc0000;
}

.footer-main {
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: #666666;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #cc0000;
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #666666;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #cc0000;
}

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: #666666;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: #444444;
}

.footer-bottom a {
  color: #555555;
}

.footer-bottom a:hover {
  color: #cc0000;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-card { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .contact-info-strip { flex-direction: column; align-items: stretch; }
  .contact-strip-divider { width: 100%; height: 1px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3rem 0; }
  .gallery-grid { columns: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 3px solid #cc0000;
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    height: auto;
    line-height: 1;
    padding: 0.9rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    margin: 0;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    border-left-color: #cc0000;
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }
}
