/**
 * PalmSeth SARL - Floriculture Page Styles
 * Custom styles for the Floriculture page
 */

/* Floral Hero */
.floral-hero .hero-background {
  background: linear-gradient(135deg, #4caf50, #81c784);
  position: relative;
  overflow: hidden;
}

.floral-hero .hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/floral-pattern.svg');
  background-size: 200px;
  opacity: 0.1;
  z-index: 1;
}

/* Floral Overlay with Falling Flowers */
.floral-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.flower-element {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0;
  animation: flower-fall linear forwards;
}

.flower-1 {
  left: 10%;
  top: -10%;
  animation-duration: 12s;
  animation-delay: 0.5s;
}

.flower-2 {
  left: 25%;
  top: -10%;
  animation-duration: 10s;
  animation-delay: 2s;
}

.flower-3 {
  left: 40%;
  top: -10%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.flower-4 {
  left: 55%;
  top: -10%;
  animation-duration: 11s;
  animation-delay: 3s;
}

.flower-5 {
  left: 70%;
  top: -10%;
  animation-duration: 13s;
  animation-delay: 2.5s;
}

.flower-6 {
  left: 85%;
  top: -10%;
  animation-duration: 12s;
  animation-delay: 0.8s;
}

.flower-7 {
  left: 20%;
  top: -10%;
  animation-duration: 15s;
  animation-delay: 4s;
}

.flower-8 {
  left: 75%;
  top: -10%;
  animation-duration: 9s;
  animation-delay: 1.5s;
}

@keyframes flower-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Approach Section */
.approach-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.approach-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.approach-text {
  max-width: 900px;
  margin: 0 auto;
}

.lead-text {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0;
}

.approach-images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.approach-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.approach-image:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.approach-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.approach-image:hover img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
}

/* Services Section */
.services-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-background-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.service-card {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #4caf50, #81c784);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 3rem;
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background-color: #4caf50;
  color: white;
}

.service-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  text-align: center;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}

/* Collection Section */
.collection-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.collection-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.tab-btn {
  background: none;
  border: 2px solid #4caf50;
  color: #4caf50;
  border-radius: var(--radius-full);
  padding: 1.2rem 2.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.tab-btn:hover {
  background-color: rgba(76, 175, 80, 0.1);
}

.tab-btn.active {
  background-color: #4caf50;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.collection-item {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.collection-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.collection-image {
  height: 200px;
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.collection-item:hover .collection-image img {
  transform: scale(1.05);
}

.collection-item h3 {
  font-size: 2rem;
  margin: 2rem 2rem 1rem;
}

.collection-item p {
  margin: 0 2rem 2rem;
  color: var(--color-text-light);
}

/* Process Section */
.process-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-background-light);
}

.process-steps {
  margin-top: 5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  height: calc(100% - 50px);
  width: 2px;
  background: linear-gradient(to bottom, #4caf50, #81c784);
}

.process-step {
  display: flex;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.step-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 8rem;
  padding-bottom: 10rem;
}

.testimonials-slider {
  position: relative;
  margin-top: 4rem;
}

.testimonials-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 3rem;
  padding: 2rem 1rem;
  margin: -2rem -1rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  min-width: 350px;
  flex: 1 0 350px;
  max-width: 400px;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  position: relative;
  margin-bottom: 3rem;
  color: var(--color-text-light);
}

.testimonial-quote .fa-quote-left {
  position: absolute;
  top: -15px;
  left: -10px;
  font-size: 2.5rem;
  color: rgba(76, 175, 80, 0.2);
}

.testimonial-quote .fa-quote-right {
  position: absolute;
  bottom: -15px;
  right: -10px;
  font-size: 2.5rem;
  color: rgba(76, 175, 80, 0.2);
}

.testimonial-quote p {
  font-style: italic;
  margin: 0;
  padding: 0 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4caf50;
}

.author-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.slider-arrow {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--color-background);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 1rem;
  margin: 0 2rem;
}

.slider-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--color-gray-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-dot.active {
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
  transform: scale(1.2);
}

/* Call to Action Section */
.cta {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
  color: white;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-text {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: white;
  color: #4caf50;
  border: none;
}

.cta .btn-primary:hover {
  background-color: var(--color-background);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .approach-images {
    flex-wrap: wrap;
  }
  
  .approach-image {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
  
  .process-steps::before {
    left: 25px;
  }
  
  .process-step {
    gap: 2rem;
  }
  
  .step-number {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
  }
  
  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .testimonial {
    min-width: 300px;
  }
}

@media (max-width: 767px) {
  .lead-text {
    font-size: 1.8rem;
  }
  
  .approach-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .collection-tabs {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tab-btn {
    width: 100%;
    padding: 1rem;
  }
  
  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .service-icon {
    width: 7rem;
    height: 7rem;
    font-size: 2.8rem;
  }
}

/* Animation Styles */
.service-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.service-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

.process-animate {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease;
}

.process-animate.animate {
  opacity: 1;
  transform: translateX(0);
}

.collection-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.collection-item.animate {
  opacity: 1;
  transform: translateY(0);
}