/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   GLOBAL COMPONENT STYLES - CURLY TAIL SCREEN & WINDOW
   Shared styles used across all pages
   Buttons, badges, icons, and reusable patterns
   ================================ */

/* ================================
   ACCESSIBILITY UTILITIES
   ================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================
   BUTTONS - Primary & Secondary
   Orange primary, Blue secondary
   With hover effects (desktop) and
   active/click effects (mobile)
   ================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: var(--weight-bold);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.btn-primary:hover {
  background-color: var(--button-primary-bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 103, 15, 0.4);
  color: var(--button-primary-text);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(197, 103, 15, 0.3);
}

.btn-secondary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
}

.btn-secondary:hover {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-secondary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

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

.btn-white:hover {
  background-color: var(--color-off-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-white:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  padding: 10px 28px;
  font-size: 28px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

/* Mobile: Click/tap effect more prominent */
@media (max-width: 768px) {
  .btn:active {
    transform: translateY(2px) scale(0.96);
    transition: transform 0.1s ease;
  }
}

/* ================================
   TRUST BADGES
   Small indicators of credibility
   ================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: var(--badge-icon);
}

.badge-gold {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-gold .badge-icon {
  color: #F59E0B;
}

/* ================================
   CARDS - Elevated content blocks
   ================================ */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: var(--lift-sm);
}

.card-body {
  padding: 24px;
}

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

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.card h3,
a.card p {
  color: inherit;
}

a.card:hover {
  color: inherit;
}

/* ================================
   ICONS
   Simple 1-color icons as requested
   ================================ */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

.icon-orange {
  color: var(--color-orange);
}

.icon-blue {
  color: var(--color-blue);
}

.icon-text {
  color: var(--color-text);
}

/* ================================
   FEATURE BLOCKS
   Icon + text layouts
   ================================ */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue-subtle);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-blue);
}

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

.feature-icon-orange svg {
  color: var(--color-orange);
}

.feature-content h3,
.feature-content h3,
.feature-content h4 {
  margin-bottom: 8px;
}

/* ================================
   SECTION HEADERS
   Consistent heading patterns
   ================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.section-label {
  display: inline-block;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-label-orange {
  color: var(--color-orange-accessible);
}

/* ================================
   DIVIDERS
   ================================ */
.divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 40px 0;
}

.divider-thick {
  height: 4px;
  width: 60px;
  background-color: var(--color-orange);
  border-radius: var(--radius-full);
}

/* ================================
   IMAGES
   Responsive image patterns
   ================================ */
.img-rounded {
  border-radius: var(--radius-lg);
}

.img-shadow {
  box-shadow: var(--shadow-lg);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   LISTS
   Styled list patterns
   ================================ */
.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.list-check li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--color-blue-subtle);
  color: var(--color-blue);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================
   TESTIMONIALS
   Quote styling
   ================================ */
.testimonial {
  position: relative;
  padding-left: 24px;
}

.testimonial::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 48px;
  font-weight: var(--weight-bold);
  color: var(--color-orange-soft);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* ================================
   HERO SOCIAL ICONS
   Subtle FB/IG links in page heroes
   Absolutely positioned bottom-left
   ================================ */
.page-header {
  position: relative;
}

.hero-social {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero-social a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.hero-social svg {
  width: 16px;
  height: 16px;
}

.hero-social-fb {
  background-color: #1877F2;
}

.hero-social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Tips page: no hero section, icons flow in section-header */
.tips-advice-section .hero-social {
  position: static;
  margin-top: 20px;
}

/* ================================
   ACCESSIBILITY
   Skip links and screen reader
   ================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--color-blue);
  color: #FFFFFF !important;
  padding: 8px 16px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: #FFFFFF !important;
}

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