/* ==========================================================================
   Beach Built LLC — Modern Construction Design System
   Color Palette: Deep Charcoal / Blackened Steel & Warm Amber Flame (from Logo)
   Oregon CCB #251485 | 541-921-2991
   ========================================================================== */

:root {
  /* Brand Amber & Flame Palette (Exact Logo Harmony) */
  --amber-50:  #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B; /* Primary Brand Amber */
  --amber-600: #D97706; /* Rich Construction Gold */
  --amber-700: #B45309;
  --flame-500: #EA580C; /* Secondary Flame Accent */
  --flame-600: #C2410C;

  /* Neutral Dark Tones */
  --dark-950: #080A0E; /* Deepest Charcoal Base */
  --dark-900: #0E121A; /* Primary Dark Background */
  --dark-850: #141A24; /* Card & Surface Dark */
  --dark-800: #1B2230; /* Elevated Surface */
  --dark-700: #273142; /* Sub-elevated / Border Dark */
  --dark-600: #3E4C63;

  /* Text & Border Colors */
  --text-white:    #FFFFFF;
  --text-light:    #F1F5F9;
  --text-muted:    #94A3B8;
  --text-dim:      #64748B;
  --border-dark:   rgba(255, 255, 255, 0.08);
  --border-light:  rgba(255, 255, 255, 0.14);
  --border-amber:  rgba(245, 158, 11, 0.35);
  --amber-glow:    0 0 24px rgba(245, 158, 11, 0.22);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card:   0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-hover:  0 16px 40px rgba(0, 0, 0, 0.55);

  /* Light Theme Tones for Contrast Sections */
  --light-bg:      #F8FAFC;
  --light-surface: #FFFFFF;
  --light-border:  #E2E8F0;
  --light-text:    #0F172A;
  --light-muted:   #475569;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-900);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--amber-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--amber-300);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--flame-500) 100%);
  color: #000000;
  border-color: var(--amber-400);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--flame-500) 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--amber-400);
  color: var(--amber-300);
  transform: translateY(-2px);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber-400);
  border: 1px solid var(--border-amber);
}
.btn-outline-amber:hover {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--amber-300);
  border-color: var(--amber-400);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Badges, Chips & Highlights
   ========================================================================== */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--amber-400);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-sm);
}

.badge-tag.badge-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   1. Utility Bar (Top Strip)
   ========================================================================== */
.utility-bar {
  background-color: var(--dark-950);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.utility-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.utility-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.utility-item i {
  color: var(--amber-400);
}

@media (max-width: 768px) {
  .utility-bar {
    display: none; /* Keep mobile uncluttered */
  }
}

/* ==========================================================================
   2. Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(14, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--transition-smooth);
}
.site-header.scrolled {
  background-color: rgba(8, 10, 14, 0.98);
  border-bottom-color: var(--border-amber);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}
.brand-logo-link:hover {
  transform: translateY(-1px);
}
.brand-logo-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-amber);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 10px rgba(245, 158, 11, 0.15);
  transition: all var(--transition-fast);
}
.brand-logo-link:hover .brand-logo-img {
  border-color: var(--amber-400);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 16px rgba(245, 158, 11, 0.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.025em;
  line-height: 1.15;
}
.brand-name span {
  color: var(--amber-400);
}
.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #CBD5E1;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--amber-400);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber-400);
  transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.header-phone i {
  color: var(--amber-400);
}
.header-phone:hover {
  color: var(--amber-300);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  padding: 0.55rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hamburger-btn:hover {
  color: var(--amber-400);
  border-color: var(--amber-400);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--dark-950);
  border-left: 1px solid var(--border-amber);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}
.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}
.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.drawer-close-btn:hover {
  color: var(--text-white);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.drawer-nav .nav-link {
  font-size: 1.15rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 991px) {
  .desktop-nav, .header-actions .btn {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
}

/* ==========================================================================
   3. Hero Section (High Impact, Authentic Craftsmanship)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.07) 0%, transparent 50%),
              linear-gradient(180deg, var(--dark-950) 0%, var(--dark-900) 100%);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge-row {
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero-title .text-amber {
  color: var(--amber-400);
  background: linear-gradient(135deg, var(--amber-300) 0%, var(--amber-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-statement {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 600;
}
.hero-spec-item i {
  color: var(--amber-400);
  font-size: 1rem;
}

/* Hero Media Showcase */
.hero-media-wrapper {
  position: relative;
}
.hero-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-amber);
  box-shadow: var(--shadow-card), var(--amber-glow);
  background-color: var(--dark-850);
}
.hero-media-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-media-card:hover img {
  transform: scale(1.03);
}

.hero-media-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}
.hero-badge-sub {
  font-size: 0.8rem;
  color: var(--amber-300);
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-media-card img {
    height: 400px;
  }
}

/* ==========================================================================
   4. Credibility & Trust Bar
   ========================================================================== */
.credibility-bar {
  background-color: var(--dark-950);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.credibility-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--dark-850);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}
.credibility-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-2px);
  background-color: var(--dark-800);
}
.cred-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  font-size: 1.25rem;
}
.cred-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}
.cred-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .credibility-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Section Header Utility
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-400);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   6. About Section ("The Builder Advantage")
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  position: relative;
  background-color: var(--dark-900);
  border-bottom: 1px solid var(--border-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-column {
  position: relative;
}
.about-portrait-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-amber);
  box-shadow: var(--shadow-card);
  background-color: var(--dark-850);
}
.about-portrait-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.7) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.caption-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}
.caption-role {
  font-size: 0.85rem;
  color: var(--amber-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content-column {
  display: flex;
  flex-direction: column;
}

.mission-quote-box {
  margin: 1.5rem 0 2rem 0;
  padding: 1.4rem 1.6rem;
  background-color: var(--dark-850);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.mission-quote {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
}

.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.value-check {
  color: var(--amber-400);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}
.value-text h4 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}
.value-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-portrait-card img {
    height: 440px;
  }
  .about-values-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--dark-950);
  border-bottom: 1px solid var(--border-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--dark-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}
.service-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
  background-color: var(--dark-850);
  box-shadow: var(--shadow-card);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}
.service-card:hover .service-icon-wrap {
  background-color: var(--amber-500);
  color: #000000;
  box-shadow: var(--amber-glow);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-white);
}
.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features-list {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features-list li i {
  color: var(--amber-400);
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. Projects & Portfolio Gallery
   ========================================================================== */
.projects-section {
  padding: 6.5rem 0;
  background-color: var(--dark-900);
  border-bottom: 1px solid var(--border-dark);
}

/* Portfolio Filter Tabs */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-btn {
  background: var(--dark-850);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--border-light);
}
.filter-btn.active {
  background-color: var(--amber-500);
  color: #000000;
  font-weight: 700;
  border-color: var(--amber-400);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

/* Projects Showcase Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background-color: var(--dark-850);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}
.project-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 320px;
  background-color: var(--dark-950);
  cursor: pointer;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 10, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.zoom-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber-500);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--amber-glow);
}

.project-details {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-400);
  margin-bottom: 0.4rem;
}
.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}
.project-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.project-meta-list {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.project-meta-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  background-color: var(--dark-900);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pure Photo Gallery Page (Fast, Clean, Mobile-Optimized)
   ========================================================================== */
.pure-gallery-section {
  padding: 3rem 0 5rem 0;
  background-color: var(--dark-900);
}
.pure-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.gallery-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #11151D 0%, #1A202C 100%);
  border: 1px solid var(--border-dark);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: all var(--transition-smooth);
}
.gallery-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  box-shadow: var(--shadow-card), 0 0 16px rgba(245, 158, 11, 0.22);
}
.gallery-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.gallery-photo-card img.loaded {
  opacity: 1;
}
.gallery-photo-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .pure-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .pure-gallery-section {
    padding: 1.75rem 0 3.5rem 0;
  }
  .pure-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .gallery-photo-card {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}
@media (max-width: 440px) {
  .pure-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   9. Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-container {
  position: relative;
  max-width: 960px;
  width: 100%;
  background-color: var(--dark-850);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.lightbox-img-wrapper {
  background-color: #000000;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.lightbox-img-wrapper img {
  max-height: 75vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.lightbox-caption {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.lightbox-close-btn:hover {
  background-color: var(--amber-500);
  color: #000000;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(10, 13, 18, 0.8);
  border: 1px solid var(--border-amber);
  color: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}
.lightbox-nav-btn:hover {
  background-color: var(--amber-500);
  color: #000000;
  box-shadow: var(--amber-glow);
}
.lightbox-prev-btn {
  left: 1rem;
}
.lightbox-next-btn {
  right: 1rem;
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 1rem 0.5rem;
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .lightbox-prev-btn { left: 0.5rem; }
  .lightbox-next-btn { right: 0.5rem; }
}

/* ==========================================================================
   10. The Builder Difference / Contrast Section
   ========================================================================== */
.difference-section {
  padding: 6rem 0;
  background-color: var(--dark-950);
  border-bottom: 1px solid var(--border-dark);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.diff-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}
.diff-card.traditional {
  background-color: rgba(20, 26, 36, 0.4);
}
.diff-card.beach-built {
  background-color: var(--dark-850);
  border-color: var(--border-amber);
  box-shadow: var(--shadow-card);
  position: relative;
}
.diff-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
}
.diff-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.diff-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}
.diff-item i {
  margin-top: 0.25rem;
}
.diff-card.traditional .diff-item i {
  color: #EF4444;
}
.diff-card.beach-built .diff-item i {
  color: var(--amber-400);
}

@media (max-width: 860px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Contact & Free Estimate Section
   ========================================================================== */
.estimate-section {
  padding: 6.5rem 0;
  background: radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
              linear-gradient(180deg, var(--dark-900) 0%, var(--dark-950) 100%);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-card {
  padding: 1.75rem;
  background-color: var(--dark-850);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}
.contact-card:hover {
  border-color: var(--border-amber);
}
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  font-size: 1.3rem;
}
.contact-card-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-white);
}
.contact-card-text p {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.contact-card-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber-400);
}

/* Quote Form Container */
.quote-form-card {
  background-color: var(--dark-850);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
}
.quote-form-header {
  margin-bottom: 2rem;
}
.quote-form-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.quote-form-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
}
.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background-color: var(--dark-900);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--amber-400);
  background-color: var(--dark-950);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-file-box {
  border: 1px dashed var(--border-amber);
  padding: 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(245, 158, 11, 0.03);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.form-file-box i {
  color: var(--amber-400);
  font-size: 1.2rem;
}
.form-file-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast Message */
.form-toast {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-toast.success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

@media (max-width: 991px) {
  .estimate-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .quote-form-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-950);
  border-top: 1px solid var(--border-dark);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-amber);
}
.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.footer-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-400);
  padding: 0.35rem 0.75rem;
  background-color: var(--dark-900);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-sm);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--amber-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.footer-links a:hover {
  color: var(--amber-400);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-contact-item i {
  color: var(--amber-400);
  margin-top: 0.25rem;
}
.footer-contact-item a {
  color: var(--text-light);
  font-weight: 600;
}
.footer-contact-item a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 576px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. Mobile-First Optimization Suite (Screens <= 768px & <= 480px)
   ========================================================================== */

/* Prevent iOS input auto-zoom by forcing minimum 16px */
@media (max-width: 768px) {
  html {
    font-size: 15px;
    scroll-padding-top: 80px;
  }

  body {
    padding-bottom: 74px; /* Clearance for sticky mobile bottom bar */
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    min-height: 48px;
  }
  .form-textarea {
    min-height: 120px;
  }

  /* Header & Logo on Mobile */
  .header-inner {
    height: 78px;
  }
  .brand-logo-link {
    gap: 0.75rem;
  }
  .brand-logo-img {
    width: 54px;
    height: 54px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }

  .header-actions {
    gap: 0.6rem;
  }
  .header-phone {
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--border-amber);
  }
  .hamburger-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.75rem 0 3.5rem 0;
  }
  .hero-title {
    font-size: clamp(1.95rem, 7.5vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: 1.25rem;
  }
  .hero-statement {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
  }
  .hero-specs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }
  .hero-media-card img {
    height: 300px;
  }
  .hero-media-badge {
    padding: 0.75rem 1rem;
  }
  .hero-badge-title {
    font-size: 0.88rem;
  }
  .hero-badge-sub {
    font-size: 0.75rem;
  }

  /* Credibility Bar */
  .credibility-bar {
    padding: 1.75rem 0;
  }
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .credibility-card {
    padding: 1rem;
  }

  /* Section Spacing */
  .about-section, .services-section, .projects-section, .difference-section, .estimate-section {
    padding: 4rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }

  /* About / Owner Section */
  .about-portrait-card img {
    height: 360px;
  }
  .mission-quote-box {
    margin: 1.25rem 0 1.5rem 0;
    padding: 1.15rem 1.25rem;
  }
  .mission-quote {
    font-size: 1rem;
  }

  /* Portfolio Gallery */
  .gallery-filters {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    flex-grow: 1;
    text-align: center;
  }
  .project-thumb {
    height: 260px;
  }
  /* On touch devices, always show a subtle zoom cue */
  .project-overlay {
    opacity: 0.85;
    background: transparent;
    pointer-events: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0.75rem;
  }
  .zoom-indicator {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Difference Section */
  .diff-card {
    padding: 1.75rem 1.25rem;
  }

  /* Estimate Form Card */
  .quote-form-card {
    padding: 1.75rem 1.25rem;
  }
  .quote-form-title {
    font-size: 1.5rem;
  }

  /* Sticky Mobile Action Bar */
  .mobile-sticky-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    background: rgba(10, 13, 18, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-amber);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    padding: 0.6rem 0.75rem;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.6rem;
  }
  .mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  .mobile-call-btn {
    background-color: var(--dark-850);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mobile-call-btn i {
    color: var(--amber-400);
    font-size: 1rem;
  }
  .mobile-call-btn:active {
    background-color: var(--dark-800);
    border-color: var(--amber-400);
  }
  .mobile-estimate-btn {
    background: linear-gradient(135deg, var(--amber-500) 0%, var(--flame-500) 100%);
    color: #000000;
    border: 1px solid var(--amber-400);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
  }
  .mobile-estimate-btn:active {
    filter: brightness(1.1);
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .header-inner {
    height: 72px;
  }
  .brand-logo-img {
    width: 48px;
    height: 48px;
  }
  .brand-name {
    font-size: 1.18rem;
  }
  .brand-subtitle {
    font-size: 0.62rem;
  }

  /* Compact call button in header */
  .header-phone {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  .header-phone span {
    display: none;
  }
  .header-phone i {
    font-size: 1.05rem;
  }
  .hamburger-btn {
    width: 40px;
    height: 40px;
  }

  .hero-media-card img {
    height: 250px;
  }
  .hero-media-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .about-portrait-card img {
    height: 310px;
  }
  .project-thumb {
    height: 220px;
  }

  .mobile-action-btn {
    font-size: 0.82rem;
    gap: 0.35rem;
  }
}

/* Hide Mobile Action Bar on Desktops and Laptops */
@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}
