/* Common Component Styles */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

/* Card Components */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(45deg, #0d6efd, #6610f2);
  border: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0b5ed7, #5a0eb0);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

/* Text Colors */
.text-primary {
  color: #0d6efd !important;
}

/* Product Cards */
.product-card img {
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* Job Cards */
.job-card {
  border-left: 4px solid #0d6efd;
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

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

.hero-section .container > .row > .col-lg-8 {
  animation: fadeInUp 1s ease-out;
}

/* Loading Animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* About Section Image */
.about-image-wrapper {
  position: relative;
  height: 400px;
}

.about-main-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 50%, #20c997 100%);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.warehouse-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
}

.warehouse-building {
  position: relative;
  width: 100%;
  height: 70%;
  margin: 0 auto;
}

.warehouse-roof {
  width: 100%;
  height: 30%;
  background: linear-gradient(135deg, #343a40, #495057);
  clip-path: polygon(10% 100%, 50% 0%, 90% 100%);
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.warehouse-body {
  width: 80%;
  height: 70%;
  background: linear-gradient(180deg, #f8f9fa, #e9ecef);
  margin: 0 auto;
  position: relative;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.warehouse-door {
  width: 30%;
  height: 60%;
  background: linear-gradient(180deg, #6c757d, #495057);
  position: absolute;
  bottom: 0;
  left: 35%;
  border-radius: 4px 4px 0 0;
  border: 2px solid #343a40;
}

.warehouse-windows {
  display: flex;
  justify-content: space-around;
  position: absolute;
  top: 20%;
  width: 100%;
  padding: 0 10%;
}

.window {
  width: 15%;
  height: 20px;
  background: linear-gradient(45deg, #17a2b8, #20c997);
  border-radius: 2px;
  border: 1px solid #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.delivery-trucks {
  position: absolute;
  bottom: -10%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
}

.truck {
  background: #fff;
  border-radius: 20px;
  padding: 8px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #0d6efd;
  font-size: 1.2rem;
  animation: truckMove 3s ease-in-out infinite alternate;
}

.truck-2 {
  animation-delay: 1.5s;
  color: #20c997;
}

.quality-badge {
  position: absolute;
  top: 10%;
  right: 10%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 8px 16px;
  color: #ffc107;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.quality-badge i {
  font-size: 1.1rem;
}

@keyframes truckMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

.image-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.overlay-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Utility Classes */
.shadow-custom {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
  border-radius: 1rem;
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
} 