/* =============================================
   PROCRAFT — Main Stylesheet
   Theme: Raw Industrial Warmth + Timber & Steel
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
  --amber: #DA6414;
  --amber-dark: #b54f0a;
  --amber-light: #f5e6d5;
  --charcoal: #1c1c1c;
  --charcoal-mid: #2e2e2e;
  --charcoal-soft: #3d3d3d;
  --bone: #faf6f0;
  --warm-gray: #ede8df;
  --stone: #c8bfb0;
  --text-body: #3a3530;
  --text-muted: #7a7060;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(28,28,28,0.10);
  --shadow-lg: 0 12px 48px rgba(28,28,28,0.16);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bone);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Fraunces', serif; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--text-body); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.label {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}
.ruled {
  width: 40px; height: 3px;
  background: var(--amber);
  margin: 1rem 0 1.8rem;
}
.ruled.center { margin-left: auto; margin-right: auto; }
.accent { color: var(--amber); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-amber { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(218,100,20,0.3); }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--charcoal-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.78rem; }
.arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- NAV ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28, 28, 28, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--amber);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 5%; max-width: 1300px; margin: 0 auto;
}
.nav-logo img { height: 50px; width: auto; max-width: 280px; display:block; }
.footer-logo { height: 50px !important; width: auto !important; max-width: 280px; filter: none !important; }
.nav-menu { display: flex; align-items: center; list-style: none; gap: 0.2rem; }
.nav-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 0.45rem 0.9rem; border-radius: 2px;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--amber); background: rgba(218,100,20,0.1); }
.nav-cta { margin-left: 0.8rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 9rem 5% 5rem;
  background: var(--charcoal);
  position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { color: #fff; }
.page-hero .sub { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-top: 1rem; max-width: 540px; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ---- FOOTER ---- */
footer { background: var(--charcoal); color: rgba(255,255,255,0.65); padding: 5rem 5% 2rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 42px; margin-bottom: 1rem; filter: none; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.fcol-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.fcol ul a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color 0.2s; }
.fcol ul a:hover { color: #fff; }
.fcontact li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.8rem; color: rgba(255,255,255,0.45); font-size: 0.87rem; }
.fcontact .fi { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; font-size: 0.78rem; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- FORMS ---- */
.form-label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bone); border: 1.5px solid var(--warm-gray);
  border-radius: var(--radius); padding: 0.78rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text-body);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber); box-shadow: 0 0 0 3px rgba(218,100,20,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- RESPONSIVE NAV ---- */
@media (max-width: 900px) {
  .nav-menu {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: var(--charcoal); flex-direction: column;
    padding: 1.2rem 5% 2rem; border-bottom: 2px solid var(--amber);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3); gap: 0.1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.75rem 1rem; display: block; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
