/*
Theme Name: Floor Fellas One Page
Theme URI: https://floorfellasusa.com
Author: Floor Fellas
Description: A bold, responsive one-page WordPress theme for Floor Fellas.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: floor-fellas
*/

:root {
  --ff-black: #080808;
  --ff-black-soft: #11100e;
  --ff-panel: #16130f;
  --ff-gold: #d59a37;
  --ff-gold-bright: #f4bf5e;
  --ff-cream: #f3ead9;
  --ff-muted: #c5b9a4;
  --ff-line: rgba(229, 170, 68, 0.25);
  --ff-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --ff-radius: 18px;
  --ff-width: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ff-black);
  color: var(--ff-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--ff-gold); color: #111; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto; height: auto;
  padding: 12px 16px; margin: 8px;
  background: #fff; color: #111;
  z-index: 100000;
}

.ff-container { width: var(--ff-width); margin-inline: auto; }
.ff-section { padding: 96px 0; position: relative; }
.ff-section--compact { padding: 66px 0; }
.ff-section--dark { background: #0d0c0a; }
.ff-section--wood {
  background:
    linear-gradient(rgba(7,7,7,.91), rgba(7,7,7,.95)),
    url('assets/images/hero-floor.jpg') center/cover fixed;
}

.ff-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ff-gold-bright);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ff-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--ff-gold), transparent);
}
.ff-section-title {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.ff-section-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ff-muted);
  font-size: 1.08rem;
}

.ff-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .025em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.ff-button:hover { transform: translateY(-2px); }
.ff-button:focus-visible,
.ff-nav a:focus-visible,
.ff-menu-toggle:focus-visible,
.ff-field input:focus-visible,
.ff-field textarea:focus-visible,
.ff-field select:focus-visible {
  outline: 3px solid rgba(244, 191, 94, .55);
  outline-offset: 3px;
}
.ff-button--gold {
  background: linear-gradient(135deg, var(--ff-gold-bright), var(--ff-gold));
  color: #111;
  box-shadow: 0 10px 34px rgba(213,154,55,.2);
}
.ff-button--outline {
  border-color: rgba(244,191,94,.48);
  color: var(--ff-cream);
  background: rgba(255,255,255,.025);
}
.ff-button--outline:hover { background: rgba(244,191,94,.09); }

.ff-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(6, 6, 6, .76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ff-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ff-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ff-brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244,191,94,.5);
  color: var(--ff-gold-bright);
  box-shadow: inset 0 0 0 4px rgba(213,154,55,.05);
}
.ff-brand span:last-child { color: var(--ff-cream); }
.ff-brand strong { color: var(--ff-gold-bright); font-weight: 950; }
.ff-nav { display: flex; align-items: center; gap: 26px; }
.ff-nav a {
  color: #e6dece;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 720;
}
.ff-nav a:hover { color: var(--ff-gold-bright); }
.ff-nav .ff-nav-call {
  padding: 10px 16px;
  border: 1px solid rgba(244,191,94,.45);
  border-radius: 999px;
}
.ff-menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: transparent;
  color: #fff;
}
.ff-menu-toggle span,
.ff-menu-toggle span::before,
.ff-menu-toggle span::after {
  display: block;
  width: 21px; height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
}
.ff-menu-toggle span::before,
.ff-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.ff-menu-toggle span::before { top: -7px; }
.ff-menu-toggle span::after { top: 7px; }

.ff-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px 0 80px;
  background:
    radial-gradient(circle at 76% 40%, rgba(213,154,55,.18), transparent 31%),
    linear-gradient(90deg, rgba(6,6,6,.97) 0%, rgba(6,6,6,.9) 45%, rgba(6,6,6,.6) 100%),
    url('assets/images/hero-floor.jpg') center/cover;
  position: relative;
  overflow: hidden;
}
.ff-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--ff-black));
  pointer-events: none;
}
.ff-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 1;
}
.ff-hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.ff-hero h1 span { color: var(--ff-gold-bright); }
.ff-hero-copy {
  margin: 24px 0 0;
  max-width: 640px;
  color: #d3c8b5;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}
.ff-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ff-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: #bdb09c;
  font-size: .9rem;
}
.ff-hero-proof span::before { content: "★"; color: var(--ff-gold); margin-right: 8px; }
.ff-logo-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.ff-logo-stage::before {
  content: "";
  position: absolute;
  width: 75%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,154,55,.23), rgba(213,154,55,0) 68%);
  filter: blur(8px);
}
.ff-hero-logo {
  width: min(100%, 620px);
  position: relative;
  filter: drop-shadow(0 38px 34px rgba(0,0,0,.62));
  mix-blend-mode: screen;
}
.ff-scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  color: #a79780;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ff-trustbar {
  border-block: 1px solid var(--ff-line);
  background: #0a0908;
}
.ff-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ff-trust-item {
  padding: 28px 24px;
  border-right: 1px solid var(--ff-line);
}
.ff-trust-item:last-child { border-right: 0; }
.ff-trust-item strong { display: block; color: var(--ff-gold-bright); font-size: 1rem; }
.ff-trust-item span { display: block; color: #9f9483; font-size: .88rem; margin-top: 4px; }

.ff-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.ff-service-card {
  min-height: 270px;
  padding: 30px 26px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ff-radius);
  background:
    linear-gradient(155deg, rgba(255,255,255,.045), transparent 48%),
    #11100e;
  box-shadow: var(--ff-shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.ff-service-card:hover { transform: translateY(-6px); border-color: rgba(244,191,94,.36); }
.ff-service-number {
  color: var(--ff-gold);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.ff-service-card h3 { margin: 44px 0 12px; font-size: 1.32rem; line-height: 1.15; }
.ff-service-card p { margin: 0; color: var(--ff-muted); }

.ff-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, 300px);
  gap: 18px;
  margin-top: 46px;
}
.ff-project {
  position: relative;
  overflow: hidden;
  border-radius: var(--ff-radius);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 270px;
}
.ff-project:first-child { grid-row: 1 / span 2; }
.ff-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ff-project:hover img { transform: scale(1.035); }
.ff-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 42%, rgba(0,0,0,.86));
}
.ff-project-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 1;
}
.ff-project-caption strong { font-size: 1.18rem; }
.ff-project-caption span { display: block; color: #ccbfa9; font-size: .9rem; margin-top: 3px; }

.ff-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.ff-process-step {
  padding-top: 24px;
  border-top: 2px solid rgba(244,191,94,.24);
}
.ff-process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(213,154,55,.12);
  border: 1px solid rgba(244,191,94,.35);
  color: var(--ff-gold-bright);
  font-weight: 900;
}
.ff-process-step h3 { margin: 0 0 8px; }
.ff-process-step p { margin: 0; color: var(--ff-muted); }

.ff-about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.ff-value-list { display: grid; gap: 14px; }
.ff-value {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.ff-value strong { display: block; color: var(--ff-gold-bright); }
.ff-value span { display: block; color: var(--ff-muted); margin-top: 4px; }

.ff-contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: start;
}
.ff-contact-card {
  padding: 34px;
  border: 1px solid rgba(244,191,94,.28);
  border-radius: var(--ff-radius);
  background: linear-gradient(145deg, rgba(213,154,55,.12), rgba(255,255,255,.025));
  box-shadow: var(--ff-shadow);
}
.ff-contact-card .ff-phone {
  display: block;
  margin-top: 20px;
  color: var(--ff-gold-bright);
  text-decoration: none;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}
.ff-contact-card p { color: var(--ff-muted); }
.ff-contact-meta { margin-top: 28px; display: grid; gap: 12px; color: #d9cfbd; }
.ff-contact-meta strong { color: #fff; }

.ff-form {
  padding: 34px;
  border-radius: var(--ff-radius);
  background: #11100e;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--ff-shadow);
}
.ff-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ff-field { display: grid; gap: 7px; }
.ff-field--full { grid-column: 1 / -1; }
.ff-field label { font-size: .87rem; font-weight: 800; color: #e8dece; }
.ff-field input,
.ff-field textarea,
.ff-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #090909;
  color: #fff;
  padding: 12px 14px;
}
.ff-field textarea { min-height: 140px; resize: vertical; }
.ff-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.ff-form .ff-button { margin-top: 18px; width: 100%; }
.ff-form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.ff-form-status--success { background: rgba(57,151,92,.15); border: 1px solid rgba(73,188,113,.3); }
.ff-form-status--error { background: rgba(180,56,56,.15); border: 1px solid rgba(220,76,76,.3); }

.ff-site-footer {
  padding: 34px 0 110px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #080808;
  color: #9d9281;
}
.ff-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.ff-footer-inner a { color: var(--ff-gold-bright); text-decoration: none; }
.ff-mobile-call {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 14px; right: 14px; bottom: 14px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  color: #111;
  background: linear-gradient(135deg, var(--ff-gold-bright), var(--ff-gold));
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

@media (max-width: 980px) {
  .ff-nav {
    position: fixed;
    inset: 78px 0 auto;
    padding: 28px 24px 34px;
    background: rgba(8,8,8,.98);
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: grid;
    transform: translateY(-130%);
    opacity: 0;
    transition: .25s ease;
  }
  body.menu-open .ff-nav { transform: translateY(0); opacity: 1; }
  .ff-menu-toggle { display: inline-block; }
  .ff-hero-grid { grid-template-columns: 1fr; }
  .ff-logo-stage { min-height: 470px; order: -1; }
  .ff-hero-logo { width: min(88vw, 530px); }
  .ff-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-trust-item:nth-child(2) { border-right: 0; }
  .ff-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--ff-line); }
  .ff-about-grid, .ff-contact-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 680px) {
  :root { --ff-width: min(100% - 28px, 1180px); }
  .ff-section { padding: 76px 0; }
  .ff-header-inner { min-height: 70px; }
  .ff-nav { inset: 70px 0 auto; }
  .ff-hero { padding-top: 104px; }
  .ff-logo-stage { min-height: 360px; }
  .ff-hero h1 { font-size: clamp(2.65rem, 14vw, 4.3rem); }
  .ff-hero-actions { display: grid; }
  .ff-hero-actions .ff-button { width: 100%; }
  .ff-services-grid, .ff-process-grid, .ff-form-grid { grid-template-columns: 1fr; }
  .ff-field--full { grid-column: auto; }
  .ff-gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .ff-project, .ff-project:first-child { grid-row: auto; min-height: 310px; }
  .ff-trust-grid { grid-template-columns: 1fr; }
  .ff-trust-item { border-right: 0; border-bottom: 1px solid var(--ff-line); }
  .ff-trust-item:last-child { border-bottom: 0; }
  .ff-footer-inner { display: grid; }
  .ff-mobile-call { display: flex; }
  .ff-site-footer { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
