/*
Theme Name: Prothero Joinery
Description: Premium garden rooms and joinery WordPress theme
Version: 1.0
Author: Anima
*/

/* Button animations and hover effects */
.btn-primary {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

/* Card hover animations */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 2s infinite;
}

/* Page content styling */
.prose {
  color: #e2e8f0;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #ffffff;
  font-weight: bold;
}

.prose h2 {
  border-bottom: 2px solid #4ade80;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose ul, .prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: #4ade80;
  text-decoration: underline;
}

.prose a:hover {
  color: #22c55e;
}

.prose blockquote {
  border-left: 4px solid #4ade80;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #cbd5e1;
}

.prose code {
  background-color: #374151;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.prose pre {
  background-color: #1f2937;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}

/* Page navigation */
.page-links span {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .prose {
    font-size: 0.875rem;
  }
  
  .prose h1 {
    font-size: 2rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
}
