/* ============================================
   Schindler Projects — shared stylesheet
   Palette drawn from the wood-burned logo:
   oak browns, charcoal, burnt orange accents
   ============================================ */

:root {
  --brown-darkest: #2e2012;
  --brown-dark: #4a3320;
  --brown: #7a5230;
  --brown-light: #a9774a;
  --orange: #c96f1e;
  --orange-bright: #e08a33;
  --cream: #faf5ee;
  --cream-dark: #f0e6d8;
  --charcoal: #2b2b2b;
  --white: #fffdf9;
  --shadow: 0 4px 18px rgba(46, 32, 18, 0.18);
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brown-dark);
  line-height: 1.2;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--brown-darkest);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.brand-name span {
  color: var(--orange-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--orange-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--cream);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(rgba(46, 32, 18, 0.82), rgba(46, 32, 18, 0.82)),
    url("../img/deck-project1.jpg") center 60% / cover no-repeat;
  color: var(--cream);
  text-align: center;
  padding: 4.5rem 0 5rem;
}

.hero-logo {
  width: min(300px, 62%);
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--orange-bright);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero p.sub {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--cream-dark);
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--cream);
  margin-left: 0.8rem;
}

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

/* ---------- Sections ---------- */

section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

.section-heading .rule {
  width: 70px;
  height: 4px;
  background: var(--orange);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-heading p {
  max-width: 640px;
  margin: 1rem auto 0;
  color: #555;
}

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--orange);
}

.card .card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: #555;
  flex: 1;
}

.card .card-link {
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.card .card-link:hover {
  color: var(--brown);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

/* ---------- Why us ---------- */

.why-us {
  background: var(--brown-dark);
  color: var(--cream);
}

.why-us h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  text-align: center;
}

.why-grid h3 {
  color: var(--orange-bright);
  font-size: 1.1rem;
  margin: 0.6rem 0 0.4rem;
}

.why-grid p {
  color: var(--cream-dark);
  font-size: 0.97rem;
}

.why-grid .why-icon {
  font-size: 2rem;
}

/* ---------- Testimonial ---------- */

.testimonial {
  background: var(--cream-dark);
}

.testimonial-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 950px;
  margin: 0 auto;
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-body {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-body blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brown-dark);
  border-left: 4px solid var(--orange);
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.testimonial-body cite {
  font-style: normal;
  font-weight: 700;
  color: var(--brown);
}

.stars {
  color: var(--orange);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(rgba(46, 32, 18, 0.92), rgba(46, 32, 18, 0.92)),
    url("../img/logo-badge.png") center / contain no-repeat, var(--brown-darkest);
  text-align: center;
  color: var(--cream);
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.cta-band p {
  margin-bottom: 1.6rem;
  color: var(--cream-dark);
}

.phone-large {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--orange-bright);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.2rem;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
  padding: 3rem 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero p {
  color: var(--cream-dark);
  max-width: 640px;
  margin: 0.8rem auto 0;
}

/* ---------- Feature rows (service pages) ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: #555;
  font-size: 0.96rem;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  aspect-ratio: 4 / 3;
}

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

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

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--brown-light);
  background: var(--cream-dark);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  padding: 1rem;
}

/* ---------- Quote form ---------- */

.quote-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--brown-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d8cbb8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown-darkest);
  color: var(--cream-dark);
  padding: 2.5rem 0 1.5rem;
}

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

.site-footer .footer-heading {
  color: var(--orange-bright);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--cream-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 238, 0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.88rem;
  color: #a89c8c;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brown-darkest);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 420px;
    box-shadow: var(--shadow);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(250, 245, 238, 0.08);
  }

  .nav-cta {
    margin: 0.8rem auto 1rem;
    display: inline-block !important;
    width: auto;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    max-height: 300px;
  }

  .btn.btn-outline {
    margin-left: 0;
    margin-top: 0.8rem;
  }

  section {
    padding: 2.8rem 0;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-logo {
    margin-bottom: 1.5rem;
  }

  .testimonial-body {
    padding: 1.8rem 1.4rem;
  }

  .quote-form {
    padding: 1.5rem 1.2rem;
  }

  .cta-band {
    padding: 2.8rem 0;
  }

  .footer-grid {
    text-align: center;
  }
}

/* Small phones: stack hero buttons full-width for easy tapping */
@media (max-width: 480px) {
  .hero .btn,
  .cta-band .btn {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 1rem 1.2rem;
  }

  .hero .btn + .btn {
    margin-top: 0.8rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-badge {
    width: 36px;
    height: 36px;
  }
}
