/*
Theme Name: At HomeHealth
Theme URI: https://www.ahhchicago.com
Author: At HomeHealth, Inc.
Description: Optimized styles for At HomeHealth theme
Version: 2.1.0
*/

/* ==========================================================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Colors */
  --navy: #0B2B45;
  --navy-mid: #163D5E;
  --navy-light: #1F5282;
  --teal: #0D8A72;
  --teal-light: #12A88A;
  --sage: #EEF7F4;
  --sage-dark: #D5EDEA;
  --warm-white: #FEFCF8;
  --gold: #C69E4A;
  --gold-light: #E8C06A;
  --va-red: #B22234;
  --va-red-light:#CC2E41;
  --va-blue: #0A3161;
  --text: #1A2B38;
  --muted: #5A6E7E;
  --border: #D5E5E0;
  --white: #FFFFFF;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 16px rgba(11,43,69,0.08);
  --shadow-md: 0 12px 40px rgba(11,43,69,0.12);
  --shadow-lg: 0 24px 64px rgba(11,43,69,0.16);

  /* Breakpoints (values for reference) */
  --bp-mobile: 580px;
  --bp-tablet: 768px;
  --bp-desktop: 860px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--teal-light);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--navy);
  font-weight: 600;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 38px);
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
}

p {
  color: var(--text);
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s;
  font-family: var(--font-body);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,138,114,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal);
  padding: 13px 28px;
  border: 1.5px solid var(--teal);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s;
  font-family: var(--font-body);
}

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

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--teal);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s;
  font-family: var(--font-body);
  border: none;
}

.btn-white:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 580px) {
  .btn-primary,
  .btn-outline,
  .btn-white {
    min-height: 44px;
    padding: 12px 24px;
    font-size: 16px;
  }
}
