/* Urban Compost & Soil Template - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Color Variables - Pastel High-Contrast Compost Theme */
:root {
  --primary-green: #7aae6d;
  --primary-brown: #936c47;
  --primary-cream: #fffcf5;
  --primary-gold: #c5b353;
  --primary-sage: #89a070;
  
  /* Light shades */
  --light-green: #afcaa3;
  --light-brown: #ad784d;
  --light-cream: #faf9f5;
  --light-gold: #e4b860;
  --light-sage: #d0e0af;
  
  /* Dark shades */
  --dark-green: #557145;
  --dark-brown: #613e26;
  --dark-cream: #d4cdaf;
  --dark-gold: #b98f3f;
  --dark-sage: #8da47a;
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-brown);
  background-color: var(--light-cream);
}

h1 {
  font-size: 2.27rem;
  font-weight: 600;
  color: var(--primary-green);
}

h2 {
  font-size: 1.89rem;
  font-weight: 500;
  color: var(--primary-brown);
}

h3 {
  font-size: 1.52rem;
  font-weight: 500;
  color: var(--dark-green);
}

p {
  font-size: 1rem;
  color: var(--dark-brown);
}

.navbar-brand {
  font-size: 10px !important;
  font-weight: 600;
  color: var(--primary-green);
}

/* Header & Navigation */
.navbar {
  background-color: var(--primary-cream);
  border-bottom: 2px solid var(--light-sage);
  padding: 0.5rem 0;
}

/* Improved navbar layout for better fit */
.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar-nav .nav-item {
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  color: var(--dark-brown);
  font-weight: 500;
  margin: 0;
  padding: 0.25rem 0.35rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Additional styles for better menu fit */
.navbar-collapse {
  width: 100%;
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }
  
  .navbar > .container {
    flex-wrap: nowrap;
  }
  
  .navbar-brand {
    flex-shrink: 1;
    min-width: 100px;
  }
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--light-sage) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: var(--primary-gold);
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Sections */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-gold);
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.67rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 9px 28px rgba(145, 102, 74, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--light-sage);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(163, 98, 66, 0.15);
}

.service-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(155, 101, 73, 0.10);
  border: 2px solid var(--light-cream);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background-color: var(--light-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-green);
}

/* Reviews Cards */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(160, 100, 60, 0.10);
  border-left: 4px solid var(--primary-gold);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 14px 30px rgba(152, 99, 64, 0.10);
}

.form-control {
  border: 2px solid var(--light-sage);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(156, 203, 140, 0.25);
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 10px rgba(139, 90, 60, 0.08);
  border: 1px solid var(--light-sage);
}

.faq-question {
  color: var(--primary-brown);
  font-weight: 600;
  margin-bottom: 0.91rem;
}

.faq-answer {
  color: var(--dark-brown);
  font-size: 0.98rem;
}

/* Footer */
.footer {
  background-color: #3a2c22;
  color: #f5f5f5;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

.footer p {
  color: #f5f5f5;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 1rem 0;
  background-color: var(--light-cream);
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  background-color: var(--primary-sage);
  border-radius: 5px;
}

/* Animations respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}

/* Utility Classes */
.text-primary-green { color: var(--primary-green); }
.text-primary-brown { color: var(--primary-brown); }
.text-primary-gold { color: var(--primary-gold); }
.bg-light-cream { background-color: var(--light-cream); }
.bg-light-sage { background-color: var(--light-sage); } 

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
