/* ================================
   Homepage Redesign - Modern Styles
   ================================ */

/* ======= Split Hero Section ======= */
.split-hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.split-hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.split-hero-content {
  padding: 2rem 1rem;
  z-index: 2;
}

.hero-content-wrapper {
  max-width: 650px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(46, 125, 50, 0.1);
  border-radius: 50px;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-main-title .title-line {
  display: block;
}

.hero-main-title .title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 4rem;
}

.hero-main-title .title-line-small {
  display: block;
  font-size: 2rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Hero Buttons */
.hero-buttons-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-hero-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.btn-hero-primary:hover {
  background: #1e5e23;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-hero-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Mini Stats */
.hero-mini-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mini-stat i {
  font-size: 2rem;
  color: var(--primary);
}

.mini-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.mini-stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Visual Side */
.split-hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  animation: fadeInRight 1s ease-out;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.floating-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.floating-card.card-3 {
  bottom: 10%;
  right: 5%;
  animation-delay: 2s;
}

.floating-card span {
  color: #FFC107;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Decorative Elements */
.hero-decor-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.1);
  z-index: 0;
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 250px;
  height: 250px;
  bottom: -50px;
  left: -50px;
  background: rgba(255, 152, 0, 0.1);
}

.hero-decor-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.3;
}

.dots-1 {
  bottom: 50px;
  left: 50px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 15px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

.scroll-indicator span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======= Services Overview Section ======= */
.services-overview-section {
  padding: 5rem 0;
  background: white;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-overview-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 2px solid #f0f0f0;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-overview-card:hover::before {
  transform: scaleX(1);
}

.service-overview-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #1e5e23);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-icon-wrapper i {
  font-size: 2.5rem;
  color: white;
}

.service-overview-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-overview-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

/* ======= Why Choose Us Section ======= */
.why-choose-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.why-choose-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.why-choose-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.image-stats-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  gap: 2rem;
}

.stat-overlay-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-text {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Why Choose Content */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.why-feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon-check {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--primary), #1e5e23);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-check i {
  color: white;
  font-size: 1.2rem;
}

.why-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.why-feature-item p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

/* ======= Process Steps Section ======= */
.process-steps-section {
  padding: 6rem 0;
  background: white;
}

.section-header-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.process-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), #1e5e23);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-icon i {
  font-size: 2.5rem;
  color: white;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-connector {
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid var(--accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ======= Products Carousel Section ======= */
.products-carousel-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  overflow: hidden;
}

.products-slider-container {
  position: relative;
  margin-top: 3rem;
  padding: 0 2rem;
}

.products-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
}

.product-slide-card {
  min-width: 320px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-slide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-slide-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.product-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-slide-card:hover .product-slide-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-slide-content {
  padding: 1.5rem;
}

.product-slide-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.product-slide-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.product-view-link:hover {
  gap: 1rem;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
  left: 0;
}

.slider-btn-next {
  right: 0;
}

.slider-btn i {
  font-size: 1.2rem;
}

.btn-primary-filled {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.btn-primary-filled:hover {
  background: #1e5e23;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
}

/* ======= Testimonials Section ======= */
.testimonials-section {
  padding: 6rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: #FFC107;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  padding-right: 2rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ======= CTA Modern Section ======= */
.cta-modern-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1e5e23 100%);
  position: relative;
  overflow: hidden;
}

.cta-modern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.3;
}

.cta-modern-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-icon-large {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.cta-icon-large i {
  font-size: 3rem;
  color: white;
}

.cta-modern-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-modern-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  background: white;
  color: var(--primary);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  background: #25D366;
  color: white;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-cta-whatsapp:hover {
  background: #1ea952;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ======= Responsive Design ======= */
@media (max-width: 1024px) {
  .split-hero-section {
    padding-top: 100px;
  }
  
  .split-hero-container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }
  
  .split-hero-visual {
    order: -1;
    padding-top: 3rem;
  }
  
  .hero-main-title {
    font-size: 2.5rem;
  }
  
  .hero-main-title .title-highlight {
    font-size: 3rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .process-connector {
    width: 3px;
    height: 50px;
    margin: 0 auto;
  }
  
  .process-connector::after {
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--accent);
  }
}

@media (max-width: 768px) {
  .split-hero-section {
    padding-top: 90px;
  }
  
  .split-hero-container {
    padding: 1rem;
  }
  
  .split-hero-content {
    padding: 1rem;
  }
  
  .split-hero-visual {
    padding-top: 2rem;
    margin-top: 1rem;
  }
  
  .hero-main-title {
    font-size: 1.6rem;
  }
  
  .hero-main-title .title-highlight {
    font-size: 2rem;
  }
  
  .hero-main-title .title-line-small {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .hero-buttons-group {
    flex-direction: column;
  }
  
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  
  .hero-mini-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .floating-card {
    display: flex;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    position: static;
    margin: 0.5rem auto;
    max-width: 250px;
  }
  
  .floating-card i {
    font-size: 1.2rem;
  }
  
  .services-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .products-slider {
    gap: 1rem;
  }
  
  .product-slide-card {
    min-width: 280px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-modern-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons-group {
    flex-direction: column;
  }
}

/* ======= Animation Keyframes ======= */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
