/* Jardinage & Paysagisme - Custom Styles
-------------------------------------------------- */

/* Variables */
:root {
  --garden-primary: #4CAF50;
  --garden-secondary: #388E3C;
  --garden-tertiary: #8BC34A;
  --garden-accent: #FFC107;
  --garden-gradient: linear-gradient(135deg, var(--garden-primary), var(--garden-secondary));
}

/* Hero Section */
.garden-hero {
  background-color: #1b3a1d;
  position: relative;
  overflow: hidden;
}

.garden-hero .hero-background {
  background-image: url('../images/hero-jardinage.svg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.garden-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.garden-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Floating Garden Icons */
.floating-element {
  position: absolute;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.15);
  animation: float 8s infinite ease-in-out;
  z-index: 2;
}

.floating-leaf {
  top: 15%;
  left: 10%;
  font-size: 2.5rem;
  animation-delay: 0s;
  animation-duration: 12s;
  color: rgba(139, 195, 74, 0.2);
}

.floating-flower {
  top: 25%;
  right: 15%;
  font-size: 1.8rem;
  animation-delay: 1s;
  animation-duration: 9s;
  color: rgba(255, 193, 7, 0.2);
}

.floating-tree {
  bottom: 20%;
  left: 15%;
  font-size: 2.2rem;
  animation-delay: 2s;
  animation-duration: 10s;
  color: rgba(76, 175, 80, 0.2);
}

.floating-water {
  top: 40%;
  left: 75%;
  font-size: 1.7rem;
  animation-delay: 3s;
  animation-duration: 11s;
  color: rgba(33, 150, 243, 0.2);
}

.floating-sun {
  bottom: 30%;
  right: 25%;
  font-size: 2rem;
  animation-delay: 4s;
  animation-duration: 13s;
  color: rgba(255, 235, 59, 0.2);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0) rotate(0);
    opacity: 0.2;
  }
}

/* Overview Section */
.overview-section {
  padding: 5rem 0;
  background-color: #fff;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.overview-content .lead-text {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.overview-quote {
  background-color: rgba(139, 195, 74, 0.05);
  border-left: 4px solid var(--garden-primary);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.overview-quote i {
  color: var(--garden-primary);
  opacity: 0.5;
  position: absolute;
}

.overview-quote i.fa-quote-left {
  top: 0.5rem;
  left: 0.5rem;
}

.overview-quote i.fa-quote-right {
  bottom: 1.5rem;
  right: 0.5rem;
}

.overview-quote blockquote {
  margin: 0 1.5rem;
  font-style: italic;
  color: var(--dark);
}

.quote-author {
  text-align: right;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--garden-primary);
}

.overview-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--garden-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.image-badge i {
  margin-right: 0.5rem;
}

/* Services Section */
.services-section {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  background: var(--garden-gradient);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.75rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.7;
}

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

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--garden-primary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--garden-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
}

.service-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--garden-secondary);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Process Section */
.process-section {
  background-color: white;
  padding: 5rem 0;
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 38px;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--garden-primary) 0%, var(--garden-tertiary) 100%);
  border-radius: 2px;
  z-index: 0;
}

.step {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

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

.step-icon {
  background: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--garden-primary);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 2rem;
}

.step-number {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--garden-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

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

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.step-content p {
  color: var(--text);
  line-height: 1.7;
}

/* Projects Section */
.projects-section {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.projects-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
}

.filter-btn:hover {
  color: var(--garden-primary);
  border-color: rgba(76, 175, 80, 0.2);
  background-color: rgba(76, 175, 80, 0.05);
}

.filter-btn.active {
  color: var(--garden-primary);
  border-color: var(--garden-primary);
  background-color: rgba(76, 175, 80, 0.05);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 300px;
}

.project-image {
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  color: white;
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.project-content p {
  margin-bottom: 1rem;
  opacity: 0.8;
  font-size: 0.875rem;
}

.project-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--garden-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background: var(--garden-secondary);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.contact-info p {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--text);
}

.contact-methods {
  margin-top: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background: var(--garden-gradient);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-details p {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}

.contact-details a {
  color: var(--garden-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--garden-secondary);
  text-decoration: underline;
}

.contact-form {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--garden-primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.875rem;
  font-weight: normal;
  color: var(--text);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .services-grid,
  .overview-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-steps::before {
    left: 28px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
}

/* Animations */
.section-header, .service-card, .step, .project-card, .contact-method {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.reveal-active, 
.service-card.reveal-active, 
.step.reveal-active, 
.project-card.reveal-active, 
.contact-method.reveal-active {
  opacity: 1;
  transform: translateY(0);
}