/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   THEME BASE - CURLY TAIL SCREEN & WINDOW
   Light/white theme with clean backgrounds
   Apple-inspired minimalist approach
   ================================ */

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

/* Base Page Styles */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: var(--weight-normal);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--bg-page);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ================================
   HEADING DEFAULTS
   Bold, clear hierarchy
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: var(--line-height-heading);
  font-weight: var(--weight-bold);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
  line-height: var(--line-height-subheading);
}

h5 {
  font-size: var(--text-xl);
  line-height: var(--line-height-subheading);
}

h6 {
  font-size: var(--text-lg);
  line-height: var(--line-height-subheading);
}

/* ================================
   PARAGRAPH & TEXT DEFAULTS
   Optimized for scanning
   ================================ */
p {
  max-width: var(--max-line-width);
  margin-bottom: var(--paragraph-spacing);
}

p:last-child {
  margin-bottom: 0;
}

/* ================================
   LINK DEFAULTS
   ================================ */
a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-link-hover);
}

/* Links in body content need underlines for accessibility */
p a,
li a:not(.nav-link),
.card-body a,
.feature-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

p a:hover,
li a:not(.nav-link):hover,
.card-body a:hover,
.feature-content a:hover {
  text-decoration-thickness: 2px;
}

/* ================================
   LIST DEFAULTS
   ================================ */
ul, ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: var(--list-spacing);
}

/* ================================
   PAGE-SPECIFIC BACKGROUNDS
   ================================ */

/* Homepage - white background */
body.page-home {
  background-color: var(--color-white);
}

/* Standard pages with nav spacing */
body.page-standard {
  padding-top: 80px;
  background-color: var(--color-white);
}

/* Form pages */
body.page-form {
  padding-top: 0;
  background-color: var(--bg-page);
}

/* ================================
   SECTION BACKGROUNDS
   Alternating for visual rhythm
   ================================ */
.section-white {
  background-color: var(--color-white);
}

.section-off-white {
  background-color: var(--color-off-white);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.06);
}

.section-blue-subtle {
  background-color: var(--color-blue-subtle);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.04);
}

.section-orange-subtle {
  background-color: var(--color-orange-subtle);
}

/* Dark section for contrast (footer, special areas) */
.section-dark {
  background-color: var(--color-text);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-white);
}

.section-dark a {
  color: var(--color-orange-light);
}

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

/* ================================
   SELECTION STYLES
   Brand-colored selection
   ================================ */
::selection {
  background-color: var(--color-blue-soft);
  color: var(--color-text);
}

/* ================================
   FOCUS STYLES
   Accessible focus indicators
   ================================ */
:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ================================
   IMAGE DEFAULTS
   ================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   RESPONSIVE TYPOGRAPHY
   ================================ */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
