/* ============================================
   AmberPaws — Premium Visual Overrides
   Loaded AFTER style.css + responsive.css

   DESIGN PHILOSOPHY:
   Keep ALL original Kutto template shapes/dividers
   (zigzag waves, floating shapes, paw shapes).
   Only change: section bg colors + typography to
   match AmberPaws amber/teal palette.
   ============================================ */

/* =============================================
   1. FIND BAR — Kutto default style (compact)
   ============================================= */
.find-wrap {
  border-radius: 15px;
  margin-top: -35px;
}
.find-wrap .location {
  padding: 28px 20px 28px 30px;
  font-size: 15px;
}
.find-wrap .location input,
.find-wrap .location span {
  font-size: 15px;
}
.find-wrap .location i {
  font-size: 20px;
  margin-right: 10px;
}
.find-wrap .find-category ul li {
  min-height: auto;
  padding: 28px 24px;
  border-right-color: rgba(255,255,255,0.2);
}
.find-wrap .find-category ul li:last-child {
  border-right: 0;
}
.find-wrap .find-category ul li a {
  font-size: 14px;
  font-weight: 800;
  flex-wrap: wrap;
  gap: 0;
}
.find-wrap .find-category ul li a i {
  font-size: 30px;
  margin-right: 12px;
}
.find-wrap .find-category ul::before {
  left: -63px;
  width: 65px;
}
.find-wrap .find-category ul {
  margin-left: 60px;
}
.find-wrap .other-find {
  padding: 28px 30px;
}
.find-wrap .other-find .btn {
  background: #E68D43;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.find-wrap .other-find .btn:hover {
  background: #fff;
  color: #0a303a;
  border-color: #fff;
}
.other-find .dropdown > button {
  font-size: 14px;
}

/* =============================================
   1B. HERO SLIDER — Dark overlay for text readability
   ============================================= */
.slider-bg {
  position: relative;
}
.slider-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,48,58,0.88) 0%,
    rgba(10,48,58,0.70) 40%,
    rgba(10,48,58,0.45) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.slider-bg .container,
.slider-bg .custom-container {
  position: relative;
  z-index: 1;
}

/* =============================================
   2. SECTION BACKGROUNDS — AmberPaws palette
   Keep original template shapes/dividers intact!
   ============================================= */

/* WhyAmberPaws section — soft off-white */
.ap-why-section {
  background: linear-gradient(180deg, #f5f7f8 0%, #edf1f3 100%);
  padding: 70px 0 50px;
  position: relative;
}

/* Featured products — subtle warm cream */
.breeds-services {
  background: #faf8f5;
  position: relative;
}
.breeds-services.pt-25 {
  padding-top: 60px;
}

/* FAQ section — keep original teal tone, slight refinement */
.faq-area.faq-bg {
  background: #d5e6eb;
}

/* Testimonial — keep original dark bg from template */
/* The template handles this with .testimonial-bg */

/* Brand carousel — dark teal */
.brand-area {
  background: #0a303a;
}

/* Newsletter area — soft warm bg */
.newsletter-area {
  background: #f7f5f2;
  padding-top: 0;
}
.newsletter-area.pb-110 {
  padding-bottom: 80px;
}

/* Footer — rich dark */
.footer-top-area.footer-bg {
  background: linear-gradient(180deg, #0a2a32 0%, #071e24 100%);
}

/* Copyright — darkest */
.copyright-area {
  background: #050f13;
}

/* =============================================
   3. SECTION TITLE REFINEMENT
   ============================================= */
.section-title .sub-title {
  color: #E68D43;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}
.section-title .title {
  color: #0a303a;
}
/* counter-title colors now set in section 6 */

/* =============================================
   4. FAQ SECTION — Card refinement
   ============================================= */
.faq-wrapper .card {
  border: none;
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-wrapper .card-header {
  background: #fff;
  border-bottom: none;
  padding: 0;
}
.faq-wrapper .card-header .btn-link {
  color: #0a303a;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  padding: 16px 22px;
  font-size: 15px;
  width: 100%;
}
.faq-wrapper .card-header .btn-link.collapsed {
  color: #555;
}
.faq-wrapper .card-body {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* =============================================
   5. TESTIMONIAL CARDS — polished on light bg
   ============================================= */
.testimonial-item {
  background-color: #fff !important;
  border: 1px solid rgba(10,48,58,0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.testi-content p {
  color: #444;
  font-style: italic;
  line-height: 1.75;
}
.testi-avatar-info .title {
  color: #0a303a;
}
.testi-avatar-info span {
  color: #E68D43;
}
.testimonial-bg .section-title .title {
  color: #0a303a;
}
.testimonial-bg .section-title .sub-title {
  color: #E68D43;
}
.testimonial-bg .section-title p {
  color: #555;
}

/* =============================================
   6. BREEDER / COUNTER SECTION — Kutto Meet Breeder layout
   ============================================= */

/* Override breeder-bg to use template background with proper spacing */
.inner-breeder-area.breeder-bg {
  padding: 100px 0 80px;
  margin-top: 0;
  background-position: bottom center;
  background-size: cover;
}

/* Left column — Adoption content text */
.inner-breeder-area .adoption-content .sub-title {
  color: #E68D43;
  font-size: 22px;
  font-weight: 800;
}
.inner-breeder-area .adoption-content .title {
  font-size: 38px;
  color: #0a303a;
  line-height: 1.2;
  margin-bottom: 20px;
}
.inner-breeder-area .adoption-content .title span {
  color: #E68D43;
}
.inner-breeder-area .adoption-content p {
  color: #676666;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 15px;
}

/* Checkmark list */
.inner-breeder-area .adoption-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.inner-breeder-area .adoption-list ul li {
  font-size: 15px;
  color: #0a303a;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.inner-breeder-area .adoption-list ul li + li {
  margin-top: 12px;
}
.inner-breeder-area .adoption-list ul li i {
  color: #E68D43;
  margin-right: 12px;
  font-size: 16px;
}

/* Center — Dog image card */
.inner-breeder-area .breeder-info-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.inner-breeder-area .breeder-item img {
  width: 100%;
  display: block;
}

/* Right — Orange info card */
.inner-breeder-area .breed-services-info {
  padding: 50px 40px;
  border-radius: 8px;
  background-color: #E68D43;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.inner-breeder-area .breed-services-info .sub-title {
  color: #fff;
  font-size: 16px;
  padding-left: 10px;
  border-left: 3px solid #fff;
  margin-bottom: 12px;
}
.inner-breeder-area .breed-services-info .title {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.inner-breeder-area .breed-services-info p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 14px;
}
.inner-breeder-area .breed-services-info .btn {
  background: #fff;
  color: #E68D43;
  font-weight: 800;
  border-radius: 30px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: all 0.3s ease;
}
.inner-breeder-area .breed-services-info .btn:hover {
  background: #0a303a;
  color: #fff;
}
.inner-breeder-area .breed-services-info .btn img {
  max-width: 18px;
}

/* Counter cards inside breeder section */
.inner-breeder-area .counter-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  text-align: center;
  padding: 40px 30px;
  margin-bottom: 30px;
}
.inner-breeder-area .counter-item .count {
  color: #E68D43;
  font-size: 55px;
}
.inner-breeder-area .counter-item p {
  color: #555;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 0;
}
.inner-breeder-area .counter-item:hover .count {
  color: #0a303a;
}

/* Responsive */
@media (max-width: 991.98px) {
  .inner-breeder-area .adoption-content {
    margin-bottom: 40px;
  }
  .inner-breeder-area .breeder-info-wrap {
    margin-bottom: 30px;
    margin-left: 0;
  }
}
@media (max-width: 575.98px) {
  .inner-breeder-area .adoption-content .title {
    font-size: 30px;
  }
  .inner-breeder-area .breed-services-info {
    padding: 35px 25px;
  }
  .inner-breeder-area .breed-services-info .title {
    font-size: 28px;
  }
}

/* =============================================
   7. NEWSLETTER / APP DOWNLOAD
   ============================================= */
.newsletter-wrap {
  border-radius: 20px;
  overflow: hidden;
}

/* =============================================
   8. PRODUCT CARDS — PawView style grid
   ============================================= */
.ap-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.ap-product-card {
  background: #fff;
  border-radius: 20px;
  padding: 0 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(10,48,58,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ap-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,48,58,0.12);
}
.ap-product-card .ap-card-img {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.ap-product-card .ap-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ap-product-card:hover .ap-card-img img {
  transform: scale(1.05);
}
.ap-product-card .ap-card-name {
  display: inline-block;
  background: linear-gradient(135deg, #E68D43 0%, #d4782e 100%);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.ap-product-card .ap-card-name:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(230,141,67,0.4);
  color: #fff;
}
.ap-product-card .ap-card-price {
  color: #999;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
}
.ap-cta-card {
  background: linear-gradient(145deg, #E68D43 0%, #d4782e 100%);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.ap-cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.ap-cta-card .ap-cta-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.ap-cta-card .ap-cta-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ap-cta-card .ap-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin-bottom: 20px;
}
.ap-cta-card .ap-cta-btn {
  display: inline-block;
  background: #fff;
  color: #E68D43;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ap-cta-card .ap-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: #d4782e;
}

@media (max-width: 991.98px) {
  .ap-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 575.98px) {
  .ap-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ap-product-card .ap-card-img {
    width: 160px;
    height: 160px;
  }
}

/* =============================================
   9. TINT THE TEMPLATE SHAPES — amber instead of red
   The template uses red (#e73a2d) in shape images.
   We use CSS hue-rotate + saturate to shift red → amber orange.
   Red ≈ 0°, Amber ≈ 30°. Shift = +30° hue-rotate.
   ============================================= */

/* Zigzag wave separators (FAQ + Testimonial) */
.testimonial-bg::before,
.testimonial-bg::after,
.faq-bg::before,
.faq-bg::after {
  filter: hue-rotate(15deg) saturate(0.85);
}

/* Floating decorative shapes */
.breed-services-shape img,
.faq-shape img,
.footer-shape img,
.newsletter-shape img,
.slider-shape img {
  filter: hue-rotate(15deg) saturate(0.85);
  opacity: 0.7;
}

/* Find bar category border — keep amber instead of red */
.find-wrap .find-category ul li {
  border-right-color: rgba(255,255,255,0.2);
}

/* =============================================
   10. MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .find-wrap .location {
    padding: 18px 20px;
  }
  .find-wrap .other-find {
    padding: 18px 20px;
  }
  .find-wrap .find-category ul li {
    padding: 16px 18px;
  }
}

@media (max-width: 767.98px) {
  .find-wrap {
    margin-top: -20px;
    border-radius: 8px;
  }
  .find-wrap .location {
    padding: 16px 20px;
  }
  .find-wrap .location input {
    font-size: 13px;
  }
  .find-wrap .find-category ul li {
    padding: 14px 18px;
    min-height: auto;
    border-right: none;
  }
  .find-wrap .find-category ul li a i {
    font-size: 24px;
    margin-right: 10px;
  }
  .find-wrap .other-find {
    padding: 16px 20px;
  }
  .ap-why-section {
    padding: 50px 0 30px;
  }
  .section-title {
    margin-bottom: 40px !important;
  }
  .section-title .title {
    font-size: 26px;
  }
}

@media (max-width: 575.98px) {
  .find-wrap .find-category ul li {
    padding: 12px 16px;
  }
  .find-wrap .find-category ul li a {
    font-size: 13px;
  }
}

/* =============================================
   11. GLOBAL POLISH
   ============================================= */
html {
  scroll-behavior: smooth;
}

a:hover {
  color: #E68D43;
}

.btn {
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230,141,67,0.25);
}

/* =============================================
   12. AMBER AI NAV ITEM
   ============================================= */
.navigation .ap-ai-nav-item > a {
  color: #E68D43 !important;
  font-weight: 900 !important;
  position: relative;
}
.navigation .ap-ai-nav-item > a::after {
  display: none !important;
}
.navigation .ap-ai-nav-item > a:hover {
  text-shadow: 0 0 12px rgba(230,141,67,0.4);
}

/* =============================================
   13. WAVY TRUST DIVIDER — Amber carousel
   ============================================= */
.ap-trust-divider {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.ap-trust-wave {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}
.ap-trust-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}
.ap-trust-wave-top {
  margin-bottom: -1px;
}
.ap-trust-wave-bottom {
  margin-top: -1px;
}
.ap-trust-content {
  background: #E68D43;
  padding: 35px 0 25px;
  position: relative;
  z-index: 1;
}

/* Scrollable track */
.ap-trust-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding: 10px 0;
}
.ap-trust-track::-webkit-scrollbar {
  display: none;
}
.ap-trust-track:active {
  cursor: grabbing;
}
.ap-trust-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 90px;
  user-select: none;
}
.ap-trust-icon-svg {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease, transform 0.3s ease;
}
.ap-trust-icon-item:hover .ap-trust-icon-svg {
  color: #fff;
  transform: translateY(-3px) scale(1.1);
}
.ap-trust-icon-label {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.ap-trust-icon-item:hover .ap-trust-icon-label {
  color: #fff;
}

/* Navigation dots */
.ap-trust-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.ap-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.ap-trust-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.ap-trust-dot:hover {
  background: rgba(255,255,255,0.7);
}

@media (max-width: 767.98px) {
  .ap-trust-wave svg {
    height: 30px;
  }
  .ap-trust-content {
    padding: 25px 0 18px;
  }
  .ap-trust-track {
    gap: 28px;
  }
  .ap-trust-icon-svg {
    width: 36px;
    height: 36px;
  }
  .ap-trust-icon-label {
    font-size: 10px;
  }
}
@media (max-width: 575.98px) {
  .ap-trust-track {
    gap: 22px;
  }
  .ap-trust-icon-svg {
    width: 32px;
    height: 32px;
  }
  .ap-trust-icon-item {
    min-width: 75px;
  }
}

/* =============================================
   14. MARQUEE BANNER — AmberPaws auto-scroll
   ============================================= */
.ap-marquee-banner {
  background: #0a303a;
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.ap-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ap-marquee-scroll 30s linear infinite;
  width: max-content;
}
.ap-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 40px;
  transition: color 0.3s;
}
.ap-marquee-item:hover {
  color: #E68D43;
}
.ap-marquee-paw {
  font-size: 14px;
  opacity: 0.5;
}

@keyframes ap-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .ap-marquee-item {
    font-size: 13px;
    padding: 0 25px;
    letter-spacing: 1px;
  }
  .ap-marquee-banner {
    padding: 12px 0;
  }
}

/* Override old brand-area styles since we replaced it */
.brand-area {
  background: transparent;
  padding: 0;
}

/* =============================================
   15. SCROLL-TOP — Matching AmberBrain FAB style
   ============================================= */

/* Same visual language as the AmberBrain paw FAB */
.scroll-top {
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  right: 24px !important;
  bottom: 105% !important;
  font-size: 16px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0a2a32 0%, #0f3a48 100%) !important;
  border: 3px solid rgba(255,255,255,0.12) !important;
  z-index: 9989 !important;
  box-shadow: 0 4px 18px rgba(10,42,50,0.35) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  color: #fff !important;
}
.scroll-top.open {
  bottom: 24px !important;
  opacity: 1 !important;
}
.scroll-top::after {
  display: none !important;
}
.scroll-top:hover {
  background: linear-gradient(135deg, #E68D43 0%, #d4782e 100%) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 24px rgba(230,141,67,0.45) !important;
}

@media (max-width: 480px) {
  .scroll-top {
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
    right: 16px !important;
  }
  .scroll-top.open {
    bottom: 20px !important;
  }
}
