/* ============================================================
   FLOORING KING SOUTH — Global Styles
   Aesthetic: Bold premium, dark gold, conversion-focused
   ============================================================ */

:root {
  --gold: #C8973A;
  --gold-light: #E8BC6A;
  --gold-pale: #FDF5E6;
  --dark: #1A1510;
  --dark-2: #2A2118;
  --dark-3: #3D3024;
  --mid: #6B5B47;
  --text: #2C2218;
  --text-mid: #5C4E3C;
  --text-light: #8C7D6C;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --border: rgba(200, 151, 58, 0.2);
  --shadow: 0 4px 24px rgba(26,21,16,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; color: var(--dark); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--dark); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }

h1 em { font-style: italic; color: var(--gold); }

a { text-decoration: none; color: inherit; }

.section-pad { padding: 80px 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label.light { color: var(--gold-light); }

/* ——— BUTTONS ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--dark-3);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold); background: var(--gold-pale); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--off-white); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ——— HEADER ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-crown { font-size: 1.6rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem; color: var(--dark); line-height: 1.2; }
.logo-sub { font-size: 0.65rem; color: var(--text-light); letter-spacing: 0.05em; }

.nav-desktop {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--gold); }

.nav-cta { margin-left: 8px; font-size: 0.85rem; padding: 10px 20px; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--dark);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 14px 20px !important;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700 !important;
  border-bottom: none !important;
  margin-top: 8px;
}

/* ——— HERO ——— */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(200,151,58,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(200,151,58,0.06) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  max-width: 780px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,151,58,0.1);
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  display: block;
}

/* ——— TRUST BAR ——— */
.trust-bar {
  background: var(--gold-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-inner span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid);
}

/* ——— SERVICES GRID ——— */
.services-overview h2 { margin-bottom: 40px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.service-card.featured {
  background: var(--gold-pale);
  border-color: var(--gold);
}
.service-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 16px; }
.service-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); }

/* ——— WHY US ——— */
.dark-section {
  background: var(--dark);
  color: var(--white);
}
.dark-section h2 { color: var(--white); margin-bottom: 48px; }
.dark-section p { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,151,58,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(200,151,58,0.2);
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 { color: var(--gold-light); margin-bottom: 8px; font-size: 1rem; }
.why-card p { font-size: 0.9rem; }

/* ——— GALLERY PREVIEW ——— */
.gallery-preview h2 { margin-bottom: 32px; }
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-bottom: 28px;
}
.gallery-thumb {
  border-radius: var(--radius);
  background: var(--dark-3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.gallery-thumb.g1 { background: linear-gradient(135deg, #3D2E1A 0%, #6B4E2C 100%); }
.gallery-thumb.g2 { background: linear-gradient(135deg, #2A2118 0%, #4A3520 100%); }
.gallery-thumb.g3 { background: linear-gradient(135deg, #1E2A1A 0%, #3A5032 100%); }
.gallery-thumb.g4 { background: linear-gradient(135deg, #1A1E2A 0%, #2E3A50 100%); }
.thumb-label {
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  width: 100%;
  backdrop-filter: blur(4px);
}
.gallery-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ——— SERVICE AREA ——— */
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.area-text h2 { margin-bottom: 14px; }
.area-text p { color: var(--text-mid); margin-bottom: 28px; font-size: 1rem; }
.area-counties {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.county {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}
.county strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.county span { font-size: 0.82rem; color: var(--text-light); }
.area-map {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder { text-align: center; }
.map-pin { font-size: 3rem; margin-bottom: 12px; }
.map-placeholder p { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.map-placeholder span { font-size: 0.82rem; color: var(--text-mid); }

/* ——— CTA STRIP ——— */
.cta-strip {
  background: var(--gold);
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--dark); margin-bottom: 6px; }
.cta-strip p { color: rgba(26,21,16,0.7); }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: var(--dark); color: var(--gold); }
.cta-strip .btn-primary:hover { background: var(--dark-2); }

/* ——— FOOTER ——— */
.site-footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-hours { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
.footer-bottom {
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(200,151,58,0.6); }

/* ——— STICKY BAR ——— */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  display: none;
  gap: 0;
  z-index: 200;
  border-top: 1px solid rgba(200,151,58,0.3);
}
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.sticky-btn:last-child { border-right: none; }
.sticky-btn.quote {
  background: var(--gold);
  color: var(--dark);
}
.sticky-btn:hover { background: rgba(255,255,255,0.05); }
.sticky-btn.quote:hover { background: var(--gold-light); }

/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */

/* ——— PAGE HERO (inner pages) ——— */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 64px 0 56px;
  position: relative;
}
.page-hero-content { max-width: 640px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

/* ——— SERVICES PAGE ——— */
.services-full { padding: 80px 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.service-detail-img.lvp-bg { background: linear-gradient(135deg, #3D2E1A 0%, #7A5B38 100%); }
.service-detail-img.wood-bg { background: linear-gradient(135deg, #2A1F12 0%, #6B4A2A 100%); }
.service-detail-img.tile-bg { background: linear-gradient(135deg, #1A2030 0%, #304060 100%); }
.service-detail-img.stair-bg { background: linear-gradient(135deg, #1A1A2A 0%, #3D3060 100%); }
.service-detail h2 { margin-bottom: 14px; }
.service-detail p { color: var(--text-mid); margin-bottom: 20px; line-height: 1.75; }
.price-badge {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: var(--mid);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.service-features li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ——— GALLERY PAGE ——— */
.gallery-page { padding: 60px 0; }
.gallery-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-item-inner { transform: scale(1.03); }
.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px 14px 12px;
  color: var(--white);
}
.gallery-item-overlay strong { display: block; font-size: 0.88rem; }
.gallery-item-overlay span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* ——— ABOUT PAGE ——— */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.about-img {
  border-radius: var(--radius-lg);
  height: 400px;
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-mid); margin-bottom: 18px; line-height: 1.8; }
.about-values {
  background: var(--off-white);
  padding: 60px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--text-mid); }

/* ——— CONTACT PAGE ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 80px 0;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--text-mid); margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-method-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-method strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.contact-method a { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.contact-method p { font-size: 0.82rem; color: var(--text-light); margin: 0; }

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrapper h3 { margin-bottom: 24px; font-size: 1.3rem; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .area-inner { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-desktop { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 56px; }
  .hero { padding: 60px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .gallery-grid-home { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid-home .gallery-thumb { height: 200px; }
  .footer-inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }
  .trust-inner { flex-direction: column; align-items: center; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
}
