/* ============================================================
   PRECISIONFORCE — Main Stylesheet
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@600;700;800&display=swap');
@import url('../css/layout.css');
@import url('../css/components.css');
/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  --background: 210 20% 98%;
  --foreground: 215 30% 15%;

  --card: 0 0% 100%;
  --card-foreground: 215 30% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 215 30% 15%;

  --primary: 215 50% 18%;
  --primary-foreground: 210 20% 98%;

  --secondary: 210 15% 92%;
  --secondary-foreground: 215 30% 15%;

  --muted: 210 15% 95%;
  --muted-foreground: 215 12% 50%;

  --accent: 35 85% 55%;
  --accent-foreground: 215 50% 12%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 210 18% 88%;
  --input: 210 18% 88%;
  --ring: 215 50% 18%;

  --radius: 0.375rem;

  --steel: 210 10% 40%;
  --steel-light: 210 12% 70%;
  --navy-deep: 215 55% 12%;
}

.dark {
  --background: 215 55% 8%;
  --foreground: 210 20% 95%;
  --card: 215 50% 12%;
  --card-foreground: 210 20% 95%;
  --popover: 215 50% 12%;
  --popover-foreground: 210 20% 95%;
  --primary: 35 85% 55%;
  --primary-foreground: 215 50% 12%;
  --secondary: 215 30% 20%;
  --secondary-foreground: 210 20% 95%;
  --muted: 215 30% 18%;
  --muted-foreground: 210 15% 60%;
  --accent: 35 85% 55%;
  --accent-foreground: 215 50% 12%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 215 30% 22%;
  --input: 215 30% 22%;
  --ring: 35 85% 55%;
  --steel: 210 10% 55%;
  --steel-light: 210 12% 40%;
  --navy-deep: 215 55% 6%;
}

/* ============================================================
   CSS Reset / Base
   ============================================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: hsl(var(--border));
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: 'Barlow', system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: inherit;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Barlow', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: inherit;
  font-weight: inherit;
}

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

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

button, select { text-transform: none; }

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

:disabled { cursor: default; }

ol, ul, menu {
  list-style: none;
}

textarea { resize: vertical; }

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

[hidden] { display: none; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.flex           { display: flex; }
.inline-flex    { display: inline-flex; }
.grid           { display: grid; }
.inline-block   { display: inline-block; }
.block          { display: block; }
.hidden         { display: none; }

.flex-col       { flex-direction: column; }
.flex-row       { flex-direction: row; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap      { flex-wrap: wrap; }

.items-start    { align-items: flex-start; }
.items-center   { align-items: center; }
.items-end      { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.flex-1         { flex: 1 1 0%; }
.flex-shrink-0  { flex-shrink: 0; }
.grow           { flex-grow: 1; }
.ml-auto        { margin-left: auto; }
.mt-auto        { margin-top: auto; }
.mx-auto        { margin-left: auto; margin-right: auto; }

/* Grid columns */
.grid-cols-1    { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Gaps */
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

.inset-0  { inset: 0; }
.top-0    { top: 0; }
.z-50     { z-index: 50; }

/* ============================================================
   Spacing Utilities
   ============================================================ */
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2   { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4   { padding-top: 1rem; padding-bottom: 1rem; }
.py-6   { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10  { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.pt-8   { padding-top: 2rem; }
.pb-6   { padding-bottom: 1.5rem; }

.mb-1   { margin-bottom: 0.25rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-12  { margin-bottom: 3rem; }

.mt-1   { margin-top: 0.25rem; }
.mt-4   { margin-top: 1rem; }
.mt-6   { margin-top: 1.5rem; }
.mt-8   { margin-top: 2rem; }
.mt-12  { margin-top: 3rem; }

.ml-1   { margin-left: 0.25rem; }
.ml-4   { margin-left: 1rem; }
.mr-2   { margin-right: 0.5rem; }

/* ============================================================
   Sizing Utilities
   ============================================================ */
.w-full     { width: 100%; }
.w-auto     { width: auto; }
.h-full     { height: 100%; }
.h-16       { height: 4rem; }
.min-h-screen  { min-height: 100vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-h-screen  { max-height: 100vh; }
.max-w-sm   { max-width: 24rem; }
.max-w-xl   { max-width: 36rem; }
.max-w-2xl  { max-width: 42rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-xs   { max-width: 20rem; }

/* ============================================================
   Typography Utilities
   ============================================================ */
.text-xs  { font-size: 0.75rem; line-height: 1rem; }
.text-sm  { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.font-heading  { font-family: 'Montserrat', system-ui, sans-serif; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.uppercase      { text-transform: uppercase; }
.leading-tight  { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.1\] { line-height: 1.1; }
.tracking-tight  { letter-spacing: -0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

/* ============================================================
   Color Utilities
   ============================================================ */
.bg-background { background-color: hsl(var(--background)); }
.bg-card       { background-color: hsl(var(--card)); }
.bg-muted      { background-color: hsl(var(--muted)); }
.bg-primary    { background-color: hsl(var(--primary)); }
.bg-accent     { background-color: hsl(var(--accent)); }
.bg-secondary  { background-color: hsl(var(--secondary)); }
.bg-cover      { background-size: cover; }
.bg-center     { background-position: center; }

.text-foreground        { color: hsl(var(--foreground)); }
.text-muted-foreground  { color: hsl(var(--muted-foreground)); }
.text-primary           { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-primary-foreground\/40 { color: hsl(var(--primary-foreground) / 0.4); }
.text-primary-foreground\/50 { color: hsl(var(--primary-foreground) / 0.5); }
.text-primary-foreground\/60 { color: hsl(var(--primary-foreground) / 0.6); }
.text-primary-foreground\/70 { color: hsl(var(--primary-foreground) / 0.7); }
.text-primary-foreground\/80 { color: hsl(var(--primary-foreground) / 0.8); }
.text-accent            { color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

.border-border    { border-color: hsl(var(--border)); }
.border-border\/20 { border-color: hsl(var(--border) / 0.2); }
.border-primary-foreground\/10  { border-color: hsl(var(--primary-foreground) / 0.1); }
.border-primary-foreground\/30  { border-color: hsl(var(--primary-foreground) / 0.3); }

/* ============================================================
   Border & Shape Utilities
   ============================================================ */
.border   { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.rounded    { border-radius: 0.25rem; }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

/* ============================================================
   Shadow / Opacity / Object Fit
   ============================================================ */
.shadow-sm  { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg  { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }

.opacity-20 { opacity: 0.2; }
.opacity-50 { opacity: 0.5; }
.opacity-90 { opacity: 0.9; }

.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   Transition Utilities
   ============================================================ */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ============================================================
   Interactive States
   ============================================================ */
.hover\:text-accent:hover            { color: hsl(var(--accent)); }
.hover\:text-primary-foreground:hover { color: hsl(var(--primary-foreground)); }
.hover\:border-primary-foreground\/60:hover { border-color: hsl(var(--primary-foreground) / 0.6); }
.hover\:opacity-90:hover             { opacity: 0.9; }
.hover\:underline:hover              { text-decoration-line: underline; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }

/* ============================================================
   Site-Specific Layout Components
   ============================================================ */

/* Container */
.container-wide {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

/* Section Padding */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  background-color: hsl(var(--primary));
  overflow: hidden;
  min-height: 70vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 70vh;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: hsl(var(--primary-foreground));
  line-height: 1.1;
  max-width: 48rem;
}

.hero-subtitle {
  margin-top: 1.5rem;
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 1.125rem;
  max-width: 42rem;
  line-height: 1.625;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================================
   About / Founder Section
   ============================================================ */
.about-section { 
  background-color: hsl(var(--background)); 
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-body { 
  color: hsl(var(--muted-foreground)); 
  line-height: 1.625; 
}

.about-body + .about-body { 
  margin-top: 1rem; 
}

.founder-img {
  border-radius: 0.25rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  max-width: 24rem;
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   Services Section
   ============================================================ */
.services-section { 
  background-color: hsl(var(--muted)); 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   Industries Section
   ============================================================ */
.industries-section { 
  background-color: hsl(var(--background)); 
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ============================================================
   Why Us Section
   ============================================================ */
.why-us-section { 
  background-color: hsl(var(--primary)); 
}

.why-us-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: hsl(var(--primary-foreground));
  line-height: 1.25;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section { 
  background-color: hsl(var(--muted)); 
  text-align: center; 
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: hsl(var(--foreground));
}

.cta-subtitle {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Home Page Responsive Breakpoints
   ============================================================ */
@media (min-width: 640px) {
  .hero-actions { 
    flex-direction: row; 
  }

  .sm\:flex-row { 
    flex-direction: row; 
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title { 
    font-size: 3rem; 
  }

  .why-us-title { 
    font-size: 2.25rem; 
  }

  .cta-title { 
    font-size: 2.25rem; 
  }

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

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

  .industries-grid { 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
  }

  .why-us-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }

  .about-grid .founder-img-wrap { 
    display: flex; 
    justify-content: center; 
  }
}

@media (min-width: 1024px) {
  .hero-title { 
    font-size: 3.75rem; 
  }

  .services-grid { 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
  }

  .why-us-grid { 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
  }
}
/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  background: #25D366;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-contact-btn:hover {
  background: #128C7E;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.floating-contact-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Hide text on mobile, show icon only */
@media (max-width: 640px) {
  .floating-contact-btn {
    padding: 1rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .floating-contact-btn span {
    display: none;
  }
}

