/* Grain & Glory Woodworx Hub – style.css */

/* 🎨 Brand Palette (warm wood) */
:root {
  --deep-brown: #4a2c1a;
  --deep-brown-soft: #3a2316;
  --wood: #b98657;
  --wood-light: #e7c7a3;
  --bg: #f4ede4;
  --white: #ffffff;
  --text: #2b211b;
  --soft-text: #79665a;
  --accent: #d29b5a;
  --border: #e0d2c6;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: #f8f2ea;
}

.section-light.soft {
  background: #fbf6f0;
}

.section-deep {
  background: var(--deep-brown);
  color: #f7ede5;
}

/* Section headings */
.section-head {
  max-width: 640px;
  margin: 0 auto;
}

.section-head h2 {
  font-family: "Poppins", system-ui;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--soft-text);
}

.section-deep .section-head p {
  color: #f1e0d1;
}

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

/* HEADER */
.site-header {
  background: var(--deep-brown);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, var(--accent), var(--deep-brown));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.2rem;
}

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

.logo-title {
  font-family: "Poppins";
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #f4e1ce;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--accent);
  color: var(--deep-brown);
  font-weight: 600;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* HERO */
.hero {
  padding-top: 4.5rem;
}

.hero-copy h1 {
  font-family: "Poppins";
  font-size: clamp(2.1rem, 2.5vw, 2.6rem);
  margin: 0 0 1rem;
  color: var(--deep-brown);
}

.hero-copy p {
  margin: 0 0 1.5rem;
  color: var(--soft-text);
  max-width: 520px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Inter";
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: var(--deep-brown);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(74, 44, 26, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(74, 44, 26, 0.5);
}

.btn.ghost {
  background: transparent;
  color: var(--deep-brown);
  border-color: rgba(74, 44, 26, 0.35);
}

.section-deep .btn.ghost {
  color: #f5e3d3;
  border-color: rgba(255, 244, 232, 0.4);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn.full-width {
  width: 100%;
}

/* Bullet list */
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--soft-text);
}

.section-deep .hero-points {
  color: #f1e0d1;
}

.hero-points li::before {
  content: "• ";
  color: var(--accent);
}

/* Media frame for images */
.media-frame {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(74, 44, 26, 0.12);
  box-shadow: 0 16px 40px rgba(74, 44, 26, 0.2);
  padding: 0.8rem;
  max-width: 420px;
  margin: 0 auto;
}

.media-frame.medium {
  max-width: 380px;
}

.section-deep .media-frame {
  background: #23140d;
  border-color: rgba(244, 220, 197, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Service cards */
.cards-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 18px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(74, 44, 26, 0.18);
}

.section-deep .card {
  background: #2b1810;
  border-color: rgba(244, 220, 197, 0.35);
  color: #f7ede5;
}

.card h3 {
  font-family: "Poppins";
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  color: var(--deep-brown);
}

.section-deep .card h3 {
  color: #ffe9cf;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--soft-text);
}

.section-deep .card p {
  color: #f1e0d1;
}

/* Mini cards */
.mini-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.mini-card {
  background: #fbf6f0;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(74, 44, 26, 0.12);
}

.mini-card h4 {
  font-family: "Poppins";
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--deep-brown);
}

.mini-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--soft-text);
}

/* Pills (collections tags) */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 auto;
  justify-content: center;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--soft-text);
}

/* Process steps */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.process-steps li {
  background: #2b1810;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(244, 220, 197, 0.35);
}

.process-steps strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: #ffe9cf;
}

.process-steps p {
  margin: 0;
  font-size: 0.86rem;
  color: #f3e2d3;
}

/* Contact section */
.contact-inner {
  align-items: flex-start;
}

.contact-inner h2 {
  font-family: "Poppins";
  font-size: 1.6rem;
  margin: 0 0 0.7rem;
  color: var(--deep-brown);
}

.contact-inner p {
  color: var(--soft-text);
  margin: 0 0 1rem;
}

.contact-form-mock {
  display: flex;
  justify-content: center;
}

.form-card {
  background: #fbf6f0;
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(74, 44, 26, 0.15);
  max-width: 380px;
  width: 100%;
}

.form-card h3 {
  margin: 0 0 0.9rem;
  font-family: "Poppins";
  font-size: 1.05rem;
  color: var(--deep-brown);
}

.fake-input {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.55rem;
  border-radius: 10px;
  border: 1px dashed rgba(74, 44, 26, 0.35);
  font-size: 0.85rem;
  color: rgba(43, 33, 27, 0.7);
  background: rgba(255, 255, 255, 0.96);
}

/* FOOTER */
.site-footer {
  background: var(--deep-brown-soft);
  color: #f1e0d1;
  padding: 1.6rem 0 2rem;
  font-size: 0.83rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.powered-by strong {
  color: #ffe9cf;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-frame,
  .media-frame.medium {
    max-width: 380px;
    margin-top: 1rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .section {
    padding: 3rem 0;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .media-frame,
  .media-frame.medium {
    max-width: 320px;
  }
}

