/* Custom Styles for Ortiz Boot & Shoe Repair */

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

:root {
  --primary-amber: #92400e;
  --primary-amber-light: #d97706;
  --primary-amber-dark: #451a03;
  --accent-copper: #b45309;
  --warm-cream: #fef3c7;
  --deep-leather: #7c2d12;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-source {
  font-family: 'Source Sans Pro', sans-serif;
}

/* Hero Section Enhancements */
.hero-overlay {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.8) 0%, rgba(120, 45, 18, 0.9) 100%);
}

/* Custom Button Hover Effects */
.btn-custom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Service Card Enhancements */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(146, 64, 14, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(146, 64, 14, 0.1), 0 10px 10px -5px rgba(146, 64, 14, 0.04);
}

/* Testimonial Card Styling */
.testimonial-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #fef7ed 100%);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(146, 64, 14, 0.2);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* Navigation Enhancements */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d97706;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  backdrop-filter: blur(10px);
  background: rgba(146, 64, 14, 0.95);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Form Styling */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}

.form-input:focus {
  border-color: var(--primary-amber-light);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
  outline: none;
}

.form-input:focus::placeholder {
  color: transparent;
}

/* Responsive Image Optimization */
.responsive-img {
  transition: transform 0.3s ease;
}

.responsive-img:hover {
  transform: scale(1.02);
}

/* Accessibility Improvements */
.focus-visible {
  outline: 2px solid var(--primary-amber-light);
  outline-offset: 2px;
}

/* Mobile Menu Animation */
.mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 300px;
}

/* Section Spacing */
.section-padding {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 2.5rem 0;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .bg-amber-50 {
    background-color: #ffffff;
  }
  
  .text-amber-700 {
    color: #000000;
  }
  
  .text-amber-800 {
    color: #000000;
  }
}