/* ===========
   Honor & Oak Woodcraft
   Rustic + Americana theme
   =========== */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f1e8; /* warm parchment */
  color: #221811;      /* deep brown */
  line-height: 1.6;
}

/* Global links inherit color by default */
a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

/* Make sure the brand link in the header is NEVER purple/underlined */
.site-header .brand,
.site-header .brand:link,
.site-header .brand:visited,
.site-header .brand:hover,
.site-header .brand:active {
  color: #f6f1e8;        /* same as header text */
  text-decoration: none; /* kill underline */
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* --- Top bar & nav --- */

.site-header {
  background: #26150f; /* dark walnut */
  color: #f6f1e8;
  border-bottom: 4px solid #7f2a22; /* deep red accent */
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

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

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

.brand-text .title {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-text .subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

/* Flag-style accent under the header */
.flag-strip {
  background: linear-gradient(
      to right,
      #7f2a22 0%,
      #7f2a22 33%,
      #f6f1e8 33%,
      #f6f1e8 66%,
      #1a2740 66%,
      #1a2740 100%
  );
  height: 6px;
}

/* --- Navigation --- */

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: #f6f1e8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #c39a4a; /* brass/gold */
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* --- Hero section (home) --- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  padding: 2.5rem 0 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.hero-text p.lead {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid #c39a4a;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #fdf9f2;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: #7f2a22;
  color: #f6f1e8;
  border-color: #7f2a22;
}

.btn-primary:hover {
  background: #a0352b;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #26150f;
  border-color: #c39a4a;
}

.btn-outline:hover {
  background: #c39a4a;
  color: #26150f;
}

.hero-panel {
  background: #26150f;
  color: #f6f1e8;
  border-radius: 12px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid #3a2419;
}

.hero-panel h2 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.hero-panel ul {
  list-style: none;
  font-size: 0.86rem;
}

.hero-panel li + li {
  margin-top: 0.4rem;
}

/* --- Sections --- */

.section {
  padding: 2rem 0 0;
}

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

.section-header h2 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: #7f2a22;
}

.section-header h3 {
  font-size: 1.4rem;
  margin-top: 0.35rem;
}

/* --- Cards (projects, highlights) --- */

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

.card {
  background: #fffdf7;
  border-radius: 12px;
  border: 1px solid #e1d1b9;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.card h4 {
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
}

/* --- About layout --- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  padding-top: 2rem;
}

.about-highlight {
  background: #26150f;
  color: #f6f1e8;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #3a2419;
}

.about-highlight h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.about-list {
  list-style: none;
  font-size: 0.9rem;
}

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

/* --- Projects grid --- */

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

.project-card {
  background: #fffdf7;
  border-radius: 12px;
  border: 1px solid #e1d1b9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card-image {
  background: #d1b28a;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #4b3221;
}

.project-card-body {
  padding: 1rem;
}

.project-card-body h4 {
  margin-bottom: 0.3rem;
}

/* --- Contact form --- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  padding-top: 2rem;
}

form .field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccbda6;
  font-size: 0.9rem;
  background: #fffdf7;
}

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

/* --- Sidebar panel on contact page --- */

.contact-panel {
  background: #26150f;
  color: #f6f1e8;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #3a2419;
  font-size: 0.9rem;
}

.contact-panel h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

.contact-panel ul {
  list-style: none;
}

.contact-panel li + li {
  margin-top: 0.4rem;
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid #ddcdb4;
  margin-top: 3rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: #7a6650;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Small screens --- */

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

/* Top logo sizing */
.top-logo img {
  width: 350px;        /* <-- try this size */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.project-card {
  background: #f6f1e8;
  border: 1px solid #e2d8c7;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card-body {
  padding: 1rem;
}

.project-card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  color: #221811;
}

.project-card-body p {
  margin: 0;
  line-height: 1.5;
  color: #4b3c2f;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-main p {
  margin-bottom: 1rem;
}

.about-photo {
  width: 260px;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}
