/* Enhanced Custom Styles for DogPooGone.com */

:root {
    --orange: #FB8500;
    --yellow: #FFB703;
    --dark-blue: #023046;
    --medium-blue: #219EBC;
    --light-blue: #8ECAE6;
    --transition-speed: 0.3s;
    
    /* Gradient combinations */
    --gradient-primary: linear-gradient(135deg, var(--orange), var(--yellow));
    --gradient-secondary: linear-gradient(135deg, var(--medium-blue), var(--light-blue));
    --gradient-dark: linear-gradient(135deg, var(--dark-blue), #035279);
    --gradient-accent: linear-gradient(135deg, var(--yellow), var(--orange) 70%);
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    scroll-padding-top: 80px; /* For fixed header */
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    position: relative;
  }
  
  /* Background color transitions for sections */
  section {
    position: relative;
    transition: background-color 0.8s ease;
    overflow: hidden;
  }
  
  /* Alternating section background colors with subtle gradients */
  section:nth-child(odd) {
    background-color: #ffffff;
    background-image: linear-gradient(to bottom right, rgba(142, 202, 230, 0.05), rgba(251, 133, 0, 0.03));
  }
  
  section:nth-child(even) {
    background-color: #f8f9fa;
    background-image: linear-gradient(to bottom left, rgba(251, 133, 0, 0.03), rgba(33, 158, 188, 0.05));
  }
  
  /* Hero section with gradient overlay */
  #home {
    position: relative;
  }
  
  #home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.9;
    z-index: -1;
  }
  
  /* Smooth transitions for all elements */
  *, *::before, *::after {
    transition: all var(--transition-speed) ease-in-out;
  }
  
  /* Enhanced Header effects */
  header {
    transition: box-shadow 0.4s ease, background-color 0.4s ease;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.85);
  }
  
  header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
  }
  
  /* Modern gradient buttons */
  .btn.bg-\[\#FB8500\] {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
  }
  
  .btn.bg-\[\#FB8500\]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(251, 133, 0, 0.3);
  }
  
  .btn.bg-\[\#FB8500\]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: inherit;
  }
  
  .btn.bg-\[\#FB8500\]:hover::after {
    opacity: 1;
  }
  
    .card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }
  
  /* Gradient borders for cards */
  .card.border-t-4 {
    position: relative;
  }
  
  .card.border-t-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
    transition: height 0.4s ease;
  }
  
  .card.border-t-4.border-\[\#219EBC\]::before {
    background: var(--gradient-secondary);
  }
  
  .card.border-t-4.border-\[\#023046\]::before {
    background: var(--gradient-dark);
  }
  
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .card.border-t-4:hover::before {
    height: 6px;
  }
  
  /* Pricing section with gradient background */
  #pricing {
    position: relative;
    isolation: isolate;
  }
  
  #pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
  }
  
  /* Enhanced pricing tool indicators */
  input[type="range"] {
    height: 6px;
    background: linear-gradient(to right, var(--light-blue), var(--orange));
    border-radius: 10px;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px rgba(251, 133, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(251, 133, 0, 0.7);
  }
  
  /* Subtle background patterns */
  .bg-gradient-to-br {
    position: relative;
  }
  
  .bg-gradient-to-br::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
  }
  
  /* Modern input fields with gradients on focus */
  input:focus, select:focus, textarea:focus {
    border-color: var(--medium-blue);
    box-shadow: 0 0 0 3px rgba(33, 158, 188, 0.2);
    outline: none;
  }
  
  .input, .textarea, .select {
    border-width: 2px;
    transition: all 0.3s ease;
  }
  
  .input:focus, .textarea:focus, .select:focus {
    border-image: linear-gradient(to right, var(--medium-blue), var(--light-blue)) 1;
  }
  
  /* Testimonial section enhancements */
  .carousel .carousel-item .card {
    transform: scale(0.95);
    opacity: 0.8;
    transition: all 0.5s ease;
  }
  
  .carousel .carousel-item.active .card {
    transform: scale(1);
    opacity: 1;
  }
  
  /* Rating stars with gradient */
  .rating .mask-star-2 {
    background-image: var(--gradient-primary);
  }
  
  /* Footer with gradient background */
  footer {
    position: relative;
    isolation: isolate;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
  }
  
  /* Contact form enhancements */
  .form-control .input, .form-control .textarea {
    background-color: #ffffff;
    border-color: #e5e7eb;
  }
  
  .form-control .input:focus, .form-control .textarea:focus {
    background-color: #ffffff;
    border-color: var(--medium-blue);
  }
  
  /* Fancy dividers with gradients */
  .divider {
    overflow: visible;
  }
  
  .divider::before, .divider::after {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--medium-blue), transparent);
  }
  
  /* Section separators with gradient animation */
  .section-separator {
    height: 4px;
    background: linear-gradient(90deg, var(--light-blue), var(--medium-blue), var(--dark-blue));
    margin: 0;
    position: relative;
    overflow: hidden;
  }
  
  .section-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
  }
  
  @keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
  }
  
  /* Animated gradient background for hero section */
  @keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  #home {
    background-size: 200% 200%;
    animation: gradient-animation 15s ease infinite;
  }
  
  /* Animated icons in value proposition */
  .value-prop-card .w-16 {
    transition: all 0.3s ease;
  }
  
  .value-prop-card:hover .w-16 {
    transform: rotate(5deg) scale(1.1);
  }
  
  /* Price display animation */
  #price-display {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  /* Back to top button with gradient */
  footer a[href="#"] {
    background: var(--gradient-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  footer a[href="#"].visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
  }
  
  footer a[href="#"]:hover {
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.6);
  }
  
  /* FAQ accordion gradient borders */
  .collapse {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }
  
  .collapse[open], .collapse:focus-within {
    border-image: linear-gradient(to bottom, var(--orange), var(--yellow)) 1;
  }
  
  /* Service card badges with gradients */
  .badge.bg-\[\#FB8500\] {
    background: var(--gradient-primary);
  }
  
  /* Add 3D perspective to cards */
  .card {
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .card:hover {
    transform: translateY(-8px) rotateX(5deg);
  }
  
  /* Glass morphism effect for pricing tool */
  #pricing .bg-white {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Hover glow effect for primary CTAs */
  .btn.bg-\[\#FB8500\]:hover {
    box-shadow: 0 0 20px rgba(251, 133, 0, 0.5);
  }
  
  /* Contact form submit button enhanced */
  #contact .btn[type="submit"] {
    position: relative;
    overflow: hidden;
  }
  
  #contact .btn[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
  }
  
  #contact .btn[type="submit"]:hover::before {
    left: 100%;
  }

  /* Service button hover styles */
.hover-service:hover {
    transform: translateY(-2px);
    background-color: #023046 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  /* Button hover styles */
  .hover-orange:hover {
    background-color: #e77c00 !important;
  }
  
  .hover-yellow:hover {
    background-color: #e6a503 !important;
    color: #023046 !important;
  }
  
  .hover-blue:hover {
    background-color: #1c8aa5 !important;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }