/* Plant Care Template - Main Styles */

:root {
  /* Primary Color Palette */
  --primary-green: #3f6c4e;
  --secondary-green: #487a51;
  --accent-mint: #77a95f;
  --soft-sage: #9cbb9a;
  --warm-cream: #ffffff;
  
  /* Light/Dark Shades */
  --dark-forest: #205136;
  --light-mint: #aacfa7;
  --pale-cream: #faf8f3;
  --deep-sage: #728f75;
  
  /* Text Colors */
  --text-dark: #26322b;
  --text-light: #54655a;
  --text-white: #ffffff;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

/* Typography */
h1 {
  font-size: 2.58rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.93rem;
  color: var(--primary-green);
}

h3 {
  font-size: 1.53rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--secondary-green);
}

h4 {
  font-size: 1.27rem;
  font-weight: 500;
  margin-bottom: 0.71rem;
  color: var(--secondary-green);
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 22px rgba(42, 99, 69, 0.10);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.57rem;
  font-weight: 700;
  color: var(--primary-green) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-mint) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--pale-cream) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, var(--light-mint) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 23px;
  box-shadow: 0 20px 40px rgba(51, 106, 75, 0.20);
  max-width: 100%;
  height: auto;
  width: 500px;
  height: 400px;
  object-fit: cover;
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.13rem;
  margin-bottom: 0.68rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 13px 30px rgba(41, 93, 54, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(42, 78, 52, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 2rem;
  background: var(--text-white);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--text-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 11px 30px rgba(35, 68, 42, 0.10);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-mint);
  margin: 1rem 0;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: var(--text-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 11px 30px rgba(40, 74, 51, 0.10);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--light-mint);
}

/* Reviews */
.reviews-container {
  max-width: 1000px;
  margin: 0 auto;
}

.review-card {
  background: var(--warm-cream);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(59, 102, 74, 0.10);
}

.review-text {
  font-style: italic;
  font-size: 1.18rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.review-author {
  font-weight: 600;
  color: var(--primary-green);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--text-white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(45, 98, 60, 0.10);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  cursor: pointer;
  border-bottom: 1px solid var(--light-mint);
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.60rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '';
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
  background-color: var(--pale-cream);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  display: none;
}

/* Navbar Toggler Styling for Bootstrap 5 */
.navbar-toggler {
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(51, 98, 65, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232d5a3d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: var(--warm-cream);
  border-radius: 15px;
  padding: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: var(--pale-cream);
  border-radius: 15px;
  padding: 3rem;
  margin-top: 2rem;
  height: fit-content;
}

.contact-info h6 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
}

.contact-info p {
  color: var(--text-dark);
  margin-bottom: 0;
  padding-left: 1.5rem;
}

.form-control {
  border: 2px solid var(--light-mint);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 0.2rem rgba(114, 188, 95, 0.25);
}

.form-control.is-invalid {
  border-color: #d82a41;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--secondary-green), var(--accent-mint));
}

/* Footer */
.footer {
  background: var(--dark-forest);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--accent-mint);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-mint);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-green);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--warm-cream);
  border-radius: 15px;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-mint);
  color: var(--text-white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-container {
  counter-reset: step-counter;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--light-mint);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: calc(50% + 2rem);
}

.timeline-content {
  background: var(--text-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(35, 75, 42, 0.10);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--accent-mint);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -2.5rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -2.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-primary-green {
  color: var(--primary-green) !important;
}

.text-accent-mint {
  color: var(--accent-mint) !important;
}

.bg-warm-cream {
  background-color: var(--warm-cream) !important;
}

.bg-pale-cream {
  background-color: var(--pale-cream) !important;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
