/* Custom styles for siivouspiiri.fi */

/* Ensure brand colors are applied consistently */
.bg-brand {
  background-color: #74c9e3;
}

.text-brand {
  color: #74c9e3;
}

.border-brand {
  border-color: #74c9e3;
}

.hover\:bg-brand:hover {
  background-color: #74c9e3;
}

.hover\:text-brand:hover {
  color: #74c9e3;
}

.hover\:border-brand:hover {
  border-color: #74c9e3;
}

/* Focus states for accessibility */
.focus\:ring-brand:focus {
  --tw-ring-color: #74c9e3;
}

/* Button styles */
.btn-brand {
  background-color: #74c9e3;
  color: white;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-brand:hover {
  background-color: #5bbfdd;
}

/* Gradient backgrounds */
.bg-gradient-brand {
  background: linear-gradient(135deg, #74c9e3 0%, #5bbfdd 100%);
}

/* Section spacing */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Product card styles */
.product-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Navigation link active states */
.nav-link-active {
  color: #1f7b6e;
  font-weight: 600;
}

/* Form styles */
.form-input {
  border-color: #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}

.form-input:focus {
  border-color: #1f7b6e;
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(31, 123, 110, 0.2);
}