/* YardSnap & SnowSnap - Fine Life Rare Style by Danny Albert */
/* Where Craftsmanship Meets Innovation | dannyalbert.com */

:root {
  /* Danny Albert Brand Colors - Fine Life Rare Style */
  --charcoal: #2C2C2C;
  --electric-blue: #0066FF;
  --electric-blue-dark: #0052CC;
  --electric-blue-light: #3385FF;
  --sunset-orange: #FF6B35;
  --sunset-orange-dark: #E65A2D;
  --pure-white: #FFFFFF;
  --steel-silver: #C0C0C0;
  
  /* Gradient Combinations */
  --gradient-start: #0066FF;
  --gradient-end: #0052CC;
  --gradient-accent: #FF6B35;
  
  /* Legacy Compatibility */
  --primary-green: #0066FF;
  --primary-green-dark: #0052CC;
  --primary-green-light: #3385FF;
  --accent-blue: #0066FF;
  --accent-blue-dark: #0052CC;
  
  /* Shadows with more depth */
  --shadow-sm: 0 2px 4px 0 rgba(44, 44, 44, 0.1);
  --shadow-md: 0 4px 8px -1px rgba(44, 44, 44, 0.15);
  --shadow-lg: 0 10px 20px -3px rgba(44, 44, 44, 0.2);
  --shadow-xl: 0 20px 30px -5px rgba(44, 44, 44, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--pure-white);
  color: var(--charcoal);
}

/* Modern Gradient Header */
.gradient-bg {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Logo Container */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.logo-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  background: white;
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-link {
  position: relative;
  transition: all 0.2s ease;
  border-radius: 8px;
  font-weight: 500;
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: white;
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Cards */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.05);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-green-light);
}

/* Buttons - Fine Life Rare Style */
.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--electric-blue-dark) 100%);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -2px rgba(0, 102, 255, 0.4);
  background: linear-gradient(135deg, var(--electric-blue-light) 0%, var(--electric-blue) 100%);
}

.btn-secondary {
  background: white;
  color: var(--electric-blue);
  border: 2px solid var(--electric-blue);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--sunset-orange);
  color: white;
  border-color: var(--sunset-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -2px rgba(255, 107, 53, 0.4);
}

/* Action button accent */
.btn-accent {
  background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--sunset-orange-dark) 100%);
  color: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -2px rgba(255, 107, 53, 0.5);
}

/* Service Icons */
.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
  box-shadow: var(--shadow-md);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.card-hover:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Price Tags */
.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-tag-small {
  font-size: 1.5rem;
}

/* Special Offers Section */
.offer-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 2px solid var(--primary-green-light);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Status Badges */
.status-pending {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.status-active {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.status-completed {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .logo-title {
    font-size: 1.25rem;
  }
  
  .logo-subtitle {
    font-size: 0.65rem;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .price-tag {
    font-size: 2rem;
  }
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Testimonials / Reviews */
.review-card {
  background: white;
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

/* Star Rating */
.star-rating {
  color: #fbbf24;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
