/* ========================================
   Scott Bros Utilities - Main Stylesheet
   Colors: Orange #E8792B, Charcoal #2D2D2D, Dark #1A1A1A, White #FFFFFF
   ======================================== */

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

:root {
  --orange: #E8792B;
  --orange-hover: #D06A20;
  --orange-light: rgba(232, 121, 43, 0.1);
  --charcoal: #2D2D2D;
  --dark: #1A1A1A;
  --darker: #111111;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --white: #FFFFFF;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange-hover);
}

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

.accent {
  color: var(--orange);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--orange-hover) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 50%, #3a2a1a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 121, 43, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(232, 121, 43, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease infinite;
}

.hero-scroll a {
  color: var(--gray-500);
  transition: color 0.2s;
}

.hero-scroll a:hover {
  color: var(--orange);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 121, 43, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--orange);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 1px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Services --- */
.services {
  background: var(--gray-100);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  flex: 0 1 calc(25% - 18px);
  min-width: 260px;
  max-width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.memorial {
  border-left: 3px solid var(--orange);
  background: var(--orange-light);
  padding: 16px 20px;
  margin: 24px 0 8px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.memorial p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--dark);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.value svg {
  color: var(--orange);
  flex-shrink: 0;
}

.section-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.section-img-contain {
  object-fit: contain;
  background: var(--gray-100);
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3a3a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px dashed var(--gray-700);
}

/* --- Process --- */
.process {
  background: var(--dark);
}

.process .section-header h2 {
  color: var(--white);
}

.process .section-header p {
  color: var(--gray-500);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Equipment --- */
.equipment {
  background: var(--gray-100);
}

.equipment-grid {
  display: grid;
  gap: 32px;
}

.equipment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

img.equipment-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.equipment-img {
  border-radius: 0;
  height: 100%;
  min-height: 300px;
}

.equipment-info {
  padding: 40px 40px 40px 0;
}

.equipment-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.equipment-info p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.equipment-specs {
  list-style: none;
  padding: 0;
}

.equipment-specs li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.equipment-specs li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.equipment-specs li:last-child {
  border-bottom: none;
}

.equipment-note {
  text-align: center;
  margin-top: 40px;
  color: var(--gray-600);
}

/* --- Safety --- */
.safety-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.safety-content > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.safety-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.safety-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
}

.safety-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.safety-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark) 100%);
  padding: 80px 0;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--gray-300);
  max-width: 550px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* --- Contact --- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--orange);
}

.serving {
  background: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}

.serving h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 6px;
}

.serving p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 121, 43, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* --- Footer --- */
.footer {
  background: var(--darker);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gray-500);
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  color: var(--gray-700);
  font-size: 0.8rem;
  text-align: center;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about .about-image {
    order: -1;
  }

  .equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-info {
    padding: 24px;
  }

  .equipment-img,
  img.equipment-img {
    width: 100%;
    height: 240px;
    min-height: 0;
    object-fit: cover;
  }

  .section-img {
    height: 280px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    gap: 4px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

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

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.2);
  }

  .stat:nth-child(n+3) {
    border-bottom: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 72px 0;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

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

  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
