/* Custom styles for OB's Lawn & Landscape website */

:root {
  --color-forest-950: #0F2C1E;
  --color-gold: #C5A880;
  --color-gold-hover: #B4966E;
  --color-charcoal: #1E2022;
  --color-light: #FAF9F6;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-light);
}
::-webkit-scrollbar-thumb {
  background: #ccdcd4;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a3beaf;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawBorder {
  0% {
    width: 0;
    height: 0;
  }
  50% {
    width: 100%;
    height: 0;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

/* Custom visual styling */
.text-luxury {
  background: linear-gradient(135deg, #FAF9F6 0%, #E5EEE9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #EAD6B3 0%, #C5A880 50%, #A3845A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-gradient {
  border-image: linear-gradient(135deg, #EAD6B3 0%, #C5A880 50%, #A3845A 100%) 1;
}

/* Mowing stripe overlay pattern (very subtle grass stripes for hero/div dividers) */
.stripe-bg {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 60px,
    rgba(255, 255, 255, 0.05) 60px,
    rgba(255, 255, 255, 0.05) 120px
  );
}

/* Premium Card hover effects */
.luxury-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 44, 30, 0.15);
  border-color: var(--color-gold);
}

/* Focus rings and Accessibility outline overrides */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2) !important;
}

/* Custom silhouette placeholder styling */
.silhouette-placeholder {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #2b4238 0%, #0F2C1E 100%);
}

.silhouette-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: #FAF9F6;
  opacity: 0.15;
  border-radius: 50% 50% 0 0;
}

.silhouette-placeholder::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 35%;
  background: #FAF9F6;
  opacity: 0.15;
  border-radius: 50%;
}
