/* Custom styles for Ted Shiffler Tattoos */

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #292524;
  background-color: #fdfbf8;
}

/* Typography */
.font-serif-display {
  font-family: 'Cormorant Garamond', serif;
}

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

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

::-webkit-scrollbar-thumb {
  background: #e8c0b0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4997a;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fine line decorative element */
.fine-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8c0b0, transparent);
}

/* Image hover zoom */
.img-zoom {
  transition: transform 0.5s ease;
}

.img-zoom:hover {
  transform: scale(1.03);
}

/* Mobile menu transitions */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c45535;
  outline-offset: 2px;
}

/* Form input styles */
input:focus,
textarea:focus {
  border-color: #c45535 !important;
}

/* Smooth transitions for interactive elements */
a,
button {
  transition: all 0.3s ease;
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
