/* Custom Styles for Industrial Theme */

/* Color Variables */
:root {
  --primary-yellow: #FDC94B;
  --accent-yellow: #E6B800;
  --dark-gray: #1A1A1A;
  --light-gray: #F0F0EF;
  --text-gray: #666666;
  --white: #FFFFFF;
  --transition: all 0.3s ease-in-out;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* Typography */
.heading-xl {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .heading-xl {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .heading-xl {
    font-size: 4.5rem;
  }
}

.heading-lg {
  font-size: 2.25rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .heading-lg {
    font-size: 3rem;
  }
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .heading-md {
    font-size: 1.875rem;
  }
}

/* Navigation Styles */
.navbar-scrolled {
  background-color: #fff !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 
}

.nav-link {
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-yellow);
  transition: width 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
  padding: 0.75rem 2rem;
  background-color: var(--primary-yellow);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--accent-yellow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 0.75rem 2rem;
  border: 2px solid var(--dark-gray);
  color: var(--dark-gray);
  background-color: transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--dark-gray);
  color: white;
}

.btn-white {
  padding: 0.75rem 2rem;
  background-color: white;
  color: var(--dark-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-white:hover {
  background-color: #f5f5f5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* Icon Box */
.icon-box {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.icon-box:hover {
  background-color: var(--primary-yellow);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Service Card */
.service-card {
  background-color: white;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover .icon-box {
  background-color: var(--primary-yellow);
  color: white;
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.count-animation {
  animation: countUp 1s ease-out;
}

/* Image Overlay */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay:hover::before {
  opacity: 1;
}

.image-overlay img {
  transition: transform 0.3s ease;
}

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

/* Section Spacing */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Container Max Width */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Loading Spinner */
.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-yellow);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Menu Animation */
.mobile-menu-enter {
  transform: translateX(-100%);
  opacity: 0;
}

.mobile-menu-enter-active {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.3s ease-out;
}

.mobile-menu-leave {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu-leave-active {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.2s ease-in;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-yellow);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  border: none;
  cursor: pointer;
}

.scroll-to-top:hover {
  background-color: var(--accent-yellow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.2);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Footer Styles */
.footer-link {
  color: #9ca3af;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: white;
}

/* Section Title Decoration */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-yellow);
  margin: 1.5rem auto 0;
}

/* Testimonial Styles */
.testimonial-card {
  background-color: white;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  font-size: 4rem;
  color: var(--primary-yellow);
  opacity: 0.2;
}

/* Progress Bar */
.progress-bar {
  position: relative;
  height: 0.5rem;
  background-color: #e5e7eb;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-yellow);
  transition: all 1s ease-out;
}

/* Animation Delays */
.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

.animation-delay-600 {
  animation-delay: 600ms;
}

.animation-delay-800 {
  animation-delay: 800ms;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .heading-xl {
    font-size: 2.25rem;
  }
  
  .heading-lg {
    font-size: 1.875rem;
  }
  
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}