/* ====== USAHA SECTIONS STYLING ====== */

.usaha-sections {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fffe 0%, #f0f8f5 100%);
}

.usaha-section {
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.usaha-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.usaha-section:last-child {
  margin-bottom: 0;
}

/* Layout Normal (Gambar Kiri, Konten Kanan) */
.usaha-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Layout Reverse (Konten Kiri, Gambar Kanan) */
.usaha-section.reverse .usaha-content {
  direction: rtl;
}

.usaha-section.reverse .usaha-text,
.usaha-section.reverse .usaha-image {
  direction: ltr;
}

.usaha-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.usaha-image:hover {
  transform: translateY(-10px);
}

.usaha-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.usaha-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(41, 84, 58, 0.1), rgba(255, 214, 0, 0.1));
  z-index: 1;
}

.usaha-text {
  padding: 20px 0;
}

.usaha-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  margin-bottom: 25px;
  font-size: 30px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.usaha-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.usaha-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.usaha-description {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.usaha-features {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.usaha-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-primary);
}

.usaha-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--green-primary);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-weight: bold;
  font-size: 14px;
}

.usaha-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-primary);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(41, 84, 58, 0.3);
}

.usaha-cta:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(41, 84, 58, 0.4);
  color: white;
  text-decoration: none;
}

.usaha-cta i {
  font-size: 1.2rem;
}

/* Section Header */
.usaha-sections-header {
  text-align: center;
  margin-bottom: 80px;
}

.usaha-sections-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 15px;
}

.usaha-sections-header p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .usaha-sections {
    padding: 60px 0;
  }
  
  .usaha-section {
    margin-bottom: 60px;
  }
  
  .usaha-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 15px;
  }
  
  .usaha-section.reverse .usaha-content {
    direction: ltr;
  }
  
  .usaha-image {
    order: -1;
  }
  
  .usaha-image img {
    height: 300px;
  }
  
  .usaha-title {
    font-size: 2rem;
  }
  
  .usaha-sections-header h2 {
    font-size: 2.2rem;
  }
  
  .usaha-sections-header p {
    font-size: 1.1rem;
    padding: 0 20px;
  }
}

/* Mobile Responsive Styles for Usaha Detail Pages */
@media (max-width: 768px) {
  .hero {
    min-height: 300px !important;
  }
  
  .hero .container {
    min-height: 300px !important;
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem !important;
  }
  
  .hero p {
    font-size: 1.2rem !important;
  }
  
  .hero .btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  .container.section {
    padding: 40px 20px !important;
  }
  
  .container.section > div {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .breadcrumb nav {
    flex-wrap: wrap;
    gap: 5px !important;
  }
  
  .breadcrumb nav span,
  .breadcrumb nav a {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .usaha-title {
    font-size: 1.8rem;
  }
  
  .usaha-subtitle {
    font-size: 1rem;
  }
  
  .usaha-description {
    font-size: 1rem;
  }
  
  .usaha-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  /* Mobile specific styles for usaha detail pages */
  .hero {
    min-height: 250px !important;
  }
  
  .hero .container {
    min-height: 250px !important;
    padding: 15px !important;
  }
  
  .hero h1 {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }
  
  .hero p {
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
  }
  
  .hero .btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
    margin: 5px !important;
    width: auto !important;
    display: inline-block !important;
  }
  
  .container.section {
    padding: 30px 15px !important;
  }
  
  .container.section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }
  
  .container.section h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
  }
  
  .container.section p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  /* Contact box mobile styles */
  .container.section > div > div {
    padding: 20px !important;
    margin-top: 20px !important;
    border-radius: 10px !important;
  }
  
  /* Button mobile styles */
  .container.section .btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Footer mobile adjustments */
  .footer-content {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .footer-section {
    text-align: center !important;
  }
}