/* Custom styles for Jones Furniture Stripping website */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

/* CSS Variables for consistent theming */
:root {
  --wood-brown: #8B4513;
  --golden-amber: #DAA520;
  --cream-white: #F5F5DC;
  --dark-walnut: #654321;
  --light-oak: #DEB887;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Source Sans Pro', sans-serif;
}

/* Base styles */
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: #333;
}

/* Typography */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero section enhancements */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

/* Form enhancements */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
  border-color: var(--golden-amber);
  outline: none;
}

/* Button enhancements */
.btn-primary {
  background-color: var(--golden-amber);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--wood-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Mobile menu animation */
.mobile-menu {
  transition: all 0.3s ease;
}

/* Cookie banner specific styles */
.cookie-consent-banner {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* FAQ toggle animations */
.faq-content {
  transition: all 0.3s ease;
}

/* Image hover effects */
.image-hover {
  transition: all 0.3s ease;
  overflow: hidden;
}

.image-hover:hover img {
  transform: scale(1.05);
}

/* Service card enhancements */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Team member card effects */
.team-member {
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-padding {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .mobile-text-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Navigation active states */
.nav-active {
  color: var(--wood-brown);
  border-bottom: 2px solid var(--golden-amber);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Success states */
.success-message {
  background-color: #10B981;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Error states */
.error-message {
  background-color: #EF4444;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--golden-amber);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--wood-brown);
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus improvements for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--golden-amber);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}