/* Texas Russian Blue Kennel | Shared Christmas theme across website
   Extend approved Christmas-red homepage palette to all website pages.
   No extra photos, GIF, JavaScript, webfonts or libraries. */

/* BRAND COLOR PALETTE (matches approved Christmas homepage) */
:root {
    --primary-green: #a0132a;
    --dark-green: #76091e;
    --accent-green: #c53146;
    --light-green: #fff0ed;
    --christmas-wine: #a20e24;
    --christmas-dark: #650715;
    --christmas-cream: #fff7f2;
    --christmas-gold: #f2d28b;
}

/* Header stays white so the Christmas logo and links remain legible. */
.navbar .nav-links a.active,
.navbar .nav-links a:hover,
.navbar .nav-menu a:hover {color:#94182e;}
.hamburger span {background:#a0132a;}

/* Match approved hero's red gradient across every other prominent banner. */
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
) {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:
      radial-gradient(ellipse at 15% 18%, rgba(209,60,65,.38) 0%, transparent 38%),
      radial-gradient(ellipse at 86% 63%, rgba(255,187,95,.12) 0%, transparent 42%),
      linear-gradient(122deg,#650715 0%,#a20e24 50%,#750617 100%) !important;
    color:#fff9f4;
}

/* Soft drifting particles and faint holiday glimmers.
   Reuse two pseudo-elements to avoid adding DOM elements or network requests. */
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
)::before,
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
)::after {
    content:"";
    position:absolute;
    inset:-35% 0;
    width:auto;
    height:auto;
    border:0;
    border-radius:0;
    pointer-events:none;
    z-index:0;
}
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
)::before {
    background-image:
      radial-gradient(circle,rgba(255,249,236,.78) 0 1.5px,transparent 2.3px),
      radial-gradient(circle,rgba(255,228,174,.57) 0 2px,transparent 3px),
      radial-gradient(circle,rgba(255,251,246,.62) 0 1px,transparent 2px);
    background-size:155px 137px,230px 179px,121px 209px;
    background-position:12px 15px,76px 81px,38px 129px;
    opacity:.46;
    animation:site-christmas-snow 23s linear infinite;
}
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
)::after {
    background-image:
      radial-gradient(circle,rgba(255,222,154,.24) 0 3px,transparent 10px),
      radial-gradient(circle,rgba(255,255,255,.14) 0 2px,transparent 8px);
    background-size:315px 220px,240px 280px;
    background-position:39px 60px,151px 99px;
    opacity:.48;
    animation:site-christmas-glimmer 6s ease-in-out infinite alternate;
}
@keyframes site-christmas-snow {
    from {transform:translate3d(0,-8px,0)}
    to   {transform:translate3d(18px,145px,0)}
}
@keyframes site-christmas-glimmer {
    from {opacity:.22}
    to   {opacity:.6}
}

/* Render all original content and buttons above decorative background. */
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section, .footer, section.hero:not(#home)
) > :not(style):not(script) {
    position:relative;
    z-index:1;
}
:is(
 .about-hero, .contact-hero, .testimonials-hero, .faq-hero,
 .adoption-hero, .delivery-hero, .breed-hero, .page-header,
 .cta-section
) :is(h1,h2,h3,p) {
    color:#fff9f4;
}
.footer :is(h3,h4) {color:var(--christmas-gold) !important;}
.footer :is(a,a:visited) {color:#fff8e8;}
.footer :is(a:hover,a:focus-visible) {color:var(--christmas-gold) !important;}
.footer :is(p,span,li) {color:#f6e4df;}

/* Clear section backgrounds with winter-cream and pale Christmas blush,
   keeping original dark text and white content cards readable. */
:is(
 .team-section,.why-choose-section,.info-section,.faq-quick,
 .steps-section,.options-section,.delivery-faq,.eyes-section,
 .temperament-section,.filter-section,.kittens-section,
 .testimonial-form-section,.parent-showcase-item
) {
    background:
       radial-gradient(ellipse at 8% 20%,rgba(224,76,85,.09),transparent 43%),
       linear-gradient(130deg,#fff2ee 0%,#fff9f3 58%,#ffece8 100%) !important;
}
:is(.included-card,.safety-card,.health-card:not(.warning),
.personality-card,.kitten-features li,.highlight-box,.step-icon,.option-icon,.info-icon,
.value-icon,.social-link,.location-map,.faq-link,.step-card .step-icon) {
    background-color:#fff0ed;
}

/* Modernize action colors, while preserving green "Available" status and
   green form-success notices for their distinct meanings. */
.btn-primary, .btn-primary-404 {
    background:#a0132a;
    color:white;
    border-color:#a0132a;
}
.btn-primary:hover, .btn-primary-404:hover {
    background:#76091e;
    border-color:#76091e;
    box-shadow:0 5px 15px rgba(126,15,37,.24);
}
:is(.btn-secondary,.btn-secondary-404) {
    border-color:#a0132a;
    color:#a0132a;
}
:is(.btn-secondary,.btn-secondary-404):hover {
    background:#a0132a;
    color:white;
}
.cta-section :is(h1,h2,h3,p,.cta-content p,.cta-content h2) {
    color:#fff9f4 !important;
}
.cta-section .btn-primary {
    background:#fff7f2;
    color:#7b0b21;
    border-color:#fff7f2;
}
.cta-section .btn-primary:hover {
    background:#f9dfcd;
    color:#650715;
}
.cta-section .btn-secondary {
    color:#fffdf7;
    background:transparent;
    border:2px solid #fffdf7;
}
.cta-section .btn-secondary:hover {
    background:#fff7f2;
    color:#76091e;
}
.cta-section .cta-buttons {position:relative;z-index:2;}

/* Footer text and inline highlighted links need contrast on dark red. */
.footer .footer-section h3,
.footer .footer-section h4 {color:#ffe0a0 !important;}
.footer .footer-links a:hover, .footer .footer-bottom-links a:hover {color:#ffe0a0 !important;}

/* Location pages contain inline green styling. Only their branding-colored
   headings, hero panels, and informational mint panels are recolored. */
section.hero:not(#home)[style] {
    background:
      radial-gradient(ellipse at 15% 18%,rgba(209,60,65,.38),transparent 38%),
      radial-gradient(ellipse at 86% 63%,rgba(255,187,95,.12),transparent 42%),
      linear-gradient(122deg,#650715,#a20e24 50%,#750617) !important;
}
[style*="background: #e8f5f0"] {background:#fff0ed !important;}
[style*="color: #4a9d7e"] {color:#a0132a !important;}
[style*="color: #2d6b54"] {color:#76091e !important;}
[style*="background: linear-gradient(135deg, #4a9d7e"] {
    background:linear-gradient(122deg,#650715,#a20e24 50%,#750617) !important;
    color:#fff9f4;
}
/* Testimonials form contains a directly styled green submit button. */
.testimonial-form-section button[style*="background: linear-gradient"] {
    background:linear-gradient(130deg,#a0132a,#76091e) !important;
    color:#fff !important;
}
.testimonial-form-section {
    background:linear-gradient(130deg,#fff2ee,#fff9f3 58%,#ffece8) !important;
}

/* 404 page: original markup and noindex meta preserved. */
.error-container {
    background:linear-gradient(130deg,#fff2ee,#fff9f3 58%,#ffece8) !important;
}
.error-code {color:#a0132a !important;}
.error-title {color:#76091e !important;}
.btn-primary-404 {background:#a0132a !important;color:white !important;border-color:#a0132a !important;}
.btn-primary-404:hover {background:#76091e !important;border-color:#76091e !important;}

/* Preserve visible focus, sensible behavior on phones and reduced motion. */
:where(.btn,.btn-404,a,button,input,select,textarea):focus-visible {
    outline:2px solid #e4b85d;
    outline-offset:3px;
}
@media (prefers-reduced-motion:reduce) {
  :is(
   .about-hero,.contact-hero,.testimonials-hero,.faq-hero,.adoption-hero,
   .delivery-hero,.breed-hero,.page-header,.cta-section,.footer,
   section.hero:not(#home)
  )::before,
  :is(
   .about-hero,.contact-hero,.testimonials-hero,.faq-hero,.adoption-hero,
   .delivery-hero,.breed-hero,.page-header,.cta-section,.footer,
   section.hero:not(#home)
  )::after {
    animation:none !important;
  }
}


/* christmas-nav-long-label-v1: fit full seasonal page title in desktop header.
   Keep the mobile dropdown and existing Christmas logo unchanged. */
@media (min-width: 969px) {
  .navbar .nav-menu,
  .navbar .nav-links {
    gap: clamp(.45rem, .9vw, 1.05rem) !important;
    align-items: center;
    flex-wrap: nowrap;
  }
  .navbar .nav-menu a,
  .navbar .nav-links a {
    font-size: clamp(.76rem, .83vw, .9rem);
    white-space: nowrap;
  }
  .navbar .container,
  .navbar .nav-container {
    gap: 13px;
  }
  .navbar .nav-brand,
  .navbar .logo {
    flex: 0 0 auto;
  }
}
@media (max-width: 968px) {
  .navbar .nav-menu a,
  .navbar .nav-links a {
    white-space: normal;
    overflow-wrap: break-word;
  }
}


/* christmas-nav-underline-v2: readable header links and persistent active
   underline. This applies only to the main header menu, not footer links. */
.navbar .nav-menu > li > a,
.navbar .nav-links > li > a {
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}
.navbar .nav-menu > li > a:is(:hover,:focus-visible,.active,[aria-current="page"]),
.navbar .nav-links > li > a:is(:hover,:focus-visible,.active,[aria-current="page"]) {
    color: #94182e !important;
    text-decoration-line: underline !important;
    text-decoration-color: #94182e !important;
    text-decoration-thickness: 2px !important;
}
@media (min-width: 969px) and (max-width: 1199px) {
  .navbar .nav-menu,
  .navbar .nav-links { gap: .55rem !important; }
  .navbar .nav-menu > li > a,
  .navbar .nav-links > li > a { font-size: .875rem !important; }
}
@media (max-width: 968px) {
  .navbar .nav-menu > li > a,
  .navbar .nav-links > li > a {
    font-size: 1rem !important;
    white-space: normal;
  }
}
