/* Custom Styles for Professional Lighting & Electric */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* Custom Properties */
:root {
  --color-green-900: #1B4332;
  --color-green-800: #2D6A4F;
  --color-green-700: #40916C;
  --color-green-600: #52B788;
  --color-green-100: #D8F3DC;
  --color-stone-50: #FAFAF9;
  --color-stone-100: #F5F5F4;
  --color-stone-200: #E7E5E4;
  --color-stone-300: #D6D3D1;
  --color-stone-400: #A8A29E;
  --color-stone-500: #78716C;
  --color-stone-600: #57534E;
  --color-stone-700: #44403C;
  --color-stone-800: #292524;
  --color-stone-900: #1C1917;
}

/* Base Typography */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

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

/* Navigation Active State */
nav a.active {
  color: #1B4332;
  font-weight: 600;
}

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

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

::-webkit-scrollbar-thumb {
  background: #40916C;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2D6A4F;
}

/* Button Hover Effects */
button, a {
  transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
  transition: transform 0.5s ease;
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

/* Mobile Menu Transitions */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
  max-height: 0;
  opacity: 0;
}

#mobile-menu:not(.hidden) {
  max-height: 400px;
  opacity: 1;
}

/* Form Validation Styles */
input:invalid:not(:placeholder-shown) {
  border-color: #DC2626;
}

input:valid:not(:placeholder-shown) {
  border-color: #40916C;
}

/* Print Styles */
@media print {
  nav,
  #contact-form,
  button {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
