/* ===== Custom Styles for Shore Plastic Technologies ===== */

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

/* Selection color */
::selection {
  background-color: #F0705A;
  color: white;
}

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

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

::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 3px;
}

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

/* Navigation active state */
.nav-link.active {
  color: #F0705A !important;
}

/* Service card hover effect */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #F0705A;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Approach card hover */
.approach-card {
  position: relative;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #F0705A;
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: top;
}

.approach-card:hover::before {
  transform: scaleY(1);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

/* Mobile menu open state */
.mobile-menu-open {
  overflow: hidden;
}

/* Hamburger animation */
.menu-line {
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-line:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll state */
.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
  border-color: #F0705A !important;
}

/* Subtle image zoom on hover */
img {
  transition: transform 0.6s ease;
}

/* Print styles */
@media print {
  nav,
  #contact-form,
  .scroll-indicator {
    display: none;
  }
}
