/* Custom Styles for Danube Metal Trading & Recycling */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --steel-grey: #4A5568;
  --metallic-grey: #718096;
  --light-steel: #A0AEC0;
  --charcoal: #1A202C;
  --dark-charcoal: #2D3748;
  --forest-green: #22543D;
  --industrial-green: #276749;
  --eco-green: #38A169;
  --light-green: #48BB78;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.92) 0%, rgba(45, 55, 72, 0.88) 50%, rgba(34, 84, 61, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--industrial-green) 100%);
  color: white;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--eco-green);
  color: var(--eco-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 161, 105, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--forest-green);
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--forest-green);
}

.btn-outline:hover {
  background: var(--forest-green);
  color: white;
  transform: translateY(-2px);
}

/* Card Styles */
.feature-card {
  background: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-bottom-color: var(--eco-green);
}

.feature-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--industrial-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

/* Service Card */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 400px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(26, 32, 44, 0.95) 0%, rgba(26, 32, 44, 0.7) 60%, transparent 100%);
  color: white;
}

/* Stats Section */
.stat-box {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--eco-green);
  line-height: 1;
  margin-bottom: 10px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-green), var(--eco-green));
  border-radius: 2px;
}

.section-header p {
  color: var(--metallic-grey);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background: rgba(26, 32, 44, 0.98);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand i {
  color: var(--eco-green);
  font-size: 1.8rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 10px 18px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: var(--eco-green);
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--eco-green);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 30px;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E2E8F0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--eco-green);
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--charcoal);
}

/* Material Card */
.material-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.material-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.material-card-content {
  padding: 24px;
}

/* Process Step */
.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--industrial-green) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Testimonial */
.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--eco-green);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Industrial Pattern Background */
.industrial-pattern {
  background-image: 
    linear-gradient(90deg, rgba(74, 85, 104, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(74, 85, 104, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Green Accent Bar */
.accent-bar {
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, var(--forest-green), var(--eco-green));
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 32, 44, 0.98);
  z-index: 999;
  padding: 100px 40px 40px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: white;
  padding: 15px 0;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block !important;
  }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--forest-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--industrial-green);
  transform: translateY(-5px);
}

/* Image Hover Effect */
.img-hover-zoom {
  overflow: hidden;
  border-radius: 8px;
}

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

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

/* List Styles */
.custom-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.custom-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--eco-green);
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.contact-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-box i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--industrial-green) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
