/* Titan Stump Grinding Custom Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px; /* offset for sticky navbar (h-32) */
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a; /* Slate 900 */
}

::-webkit-scrollbar-thumb {
  background: #14532d; /* Hunter Green 900 */
  border-radius: 5px;
  border: 2px solid #0f172a;
}

::-webkit-scrollbar-thumb:hover {
  background: #eab308; /* Vermeer Yellow */
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(234, 179, 8, 0.3); /* Vermeer Yellow hover */
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Ringing / Pulsing Phone Icon Animation */
@keyframes phone-ring {
  0% { transform: scale(1); }
  10% { transform: scale(1.1) rotate(-10deg); }
  20% { transform: scale(1.1) rotate(10deg); }
  30% { transform: scale(1.1) rotate(-10deg); }
  40% { transform: scale(1.1) rotate(10deg); }
  50% { transform: scale(1); }
  100% { transform: scale(1); }
}

.animate-phone-ring {
  animation: phone-ring 2.5s infinite ease-in-out;
}

/* Shimmer Button Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.btn-shimmer:hover::after {
  left: 130%;
}

/* Custom Before/After Slide Styles */
.slider-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.slider-img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 640px) {
  .slider-img {
    height: 320px;
  }
}

.slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #eab308; /* Vermeer Yellow */
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #eab308; /* Vermeer Yellow */
  color: #0f172a; /* Slate 900 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 4px rgba(234, 179, 8, 0.2);
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* Accordion Smooth Height transition helper */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.accordion-open .accordion-content {
  padding-bottom: 1.5rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-open .accordion-icon {
  transform: rotate(180deg);
}

/* Micro animations */
.transition-all-300 {
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative wood ring patterns or accents */
.bg-grain-pattern {
  background-image: radial-gradient(circle at 100% 150%, rgba(20, 83, 45, 0.08) 24%, rgba(20, 83, 45, 0) 24%),
                    radial-gradient(circle at 0% 150%, rgba(20, 83, 45, 0.08) 24%, rgba(20, 83, 45, 0) 24%);
  background-size: 100px 100px;
}
