/*
Theme Name: Fresh Start Exteriors
Theme URI: https://freshstartexteriors.com
Description: Custom theme for Fresh Start Exteriors — Veteran Owned Exterior Remodeling in Tampa, FL
Author: CVSEO
Version: 1.0.0
Text Domain: fresh-start-exteriors
*/

/* ─── CSS Variables ─── */
:root {
  /* Brand Colors */
  --color-navy: #062249;
  --color-navy-light: #0A3A7A;
  --color-navy-dark: #041A38;
  --color-red: #981914;
  --color-red-light: #C42B25;
  --color-red-hover: #B51F19;

  /* Neutrals */
  --color-body: #414141;
  --color-heading: #062249;
  --color-white: #FFFFFF;
  --color-off-white: #F7F9FB;
  --color-light-gray: #E8ECF0;
  --color-border: #D1D9E0;

  /* Fonts */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --section-padding-mobile: 50px 0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(6, 34, 73, 0.08);
  --shadow-md: 0 4px 12px rgba(6, 34, 73, 0.12);
  --shadow-lg: 0 8px 30px rgba(6, 34, 73, 0.15);

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
  background: var(--color-white);
  overflow-x: hidden;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 400;
}

h1 { font-size: 48px; }
h2 { font-size: 38px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 1em;
  color: var(--color-body);
}

a {
  color: var(--color-navy-light);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--color-red-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* ─── Section Headers ─── */
.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-red);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  color: var(--color-heading);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-body);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-red);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.bg-navy { background: var(--color-navy); }
.bg-off-white { background: var(--color-off-white); }
.bg-white { background: var(--color-white); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── WordPress Core ─── */
.wp-block-image img { height: auto; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .section-title { font-size: 28px; }
  .section-padding { padding: var(--section-padding-mobile); }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .section-title { font-size: 24px; }
}
