/* ===========================
   Boyd Security Doors — Main CSS
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ===========================
   CSS Variables
   =========================== */
:root {
  --black:    #1a1a1a;
  --orange:   #e85d04;
  --orange-dark: #c44d02;
  --grey-dark: #4a4a4a;
  --grey-mid:  #888888;
  --grey-light: #f5f5f5;
  --white:    #ffffff;
  --border:   #e0e0e0;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1200px;
  --section-pad: 5rem 1.5rem;
  --radius: 6px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

ul {
  list-style: none;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  max-width: 68ch;
}

/* ===========================
   Layout Helpers
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--white);
}

.section--grey {
  background: var(--grey-light);
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: translateY(1px);
}

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

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

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: #333;
  color: var(--white);
}
