/* Urban Farming Consultancy - Main CSS */
/* Bootstrap 5 CDN is loaded in HTML */

:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-sage: #7FB069;
  --primary-sage-light: #A5D6A7;
  --primary-sage-dark: #5A8A47;
  
  --primary-earth: #8B6F47;
  --primary-earth-light: #B8956A;
  --primary-earth-dark: #654A2F;
  
  --primary-sky: #6BA6C7;
  --primary-sky-light: #8FC8E8;
  --primary-sky-dark: #4A7BA0;
  
  --primary-sunset: #D4A574;
  --primary-sunset-light: #E8C599;
  --primary-sunset-dark: #B8864F;
  
  --primary-nature: #A8B568;
  --primary-nature-light: #C5D08A;
  --primary-nature-dark: #829145;
  
  /* Utility Colors */
  --text-dark: #2D3436;
  --text-light: #636E72;
  --bg-light: #FEFEFE;
  --bg-section: #F8F9FA;
  --border-color: #E9ECEF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-nature) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-sky-light) 0%, var(--primary-sage) 50%, var(--primary-earth-light) 100%);
  --gradient-services: linear-gradient(45deg, var(--primary-sunset-light) 0%, var(--primary-sky-light) 100%);
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.4rem;
  --font-size-h4: 1.2rem;
  --font-size-navbar-brand: 1.3rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--font-size-navbar-brand) !important;
  font-weight: 700;
  color: var(--primary-sage-dark) !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-sage) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../HAJ_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
}

.hero-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-section);
}

.section-title {
  color: var(--primary-sage-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-earth);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-sage);
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-sage-light);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-left: 4px solid var(--primary-sage);
  margin: 1rem 0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-sage-dark);
}

/* FAQ */
.faq-card {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  background: var(--gradient-services);
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(127, 176, 105, 0.3);
  background: var(--gradient-primary);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--primary-sage-light);
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-sage-light);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Price Plans */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.price-card:hover {
  border-color: var(--primary-sage);
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--primary-sage);
  background: var(--gradient-services);
  color: white;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-sage);
  margin: 1rem 0;
}

.price-card.featured .price-amount {
  color: white;
}

/* Breadcrumb */
.breadcrumb-container {
  background: var(--bg-section);
  padding: 1rem 0;
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Process Steps */
.process-step {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 4px solid var(--primary-earth);
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation for Images */
.img-loading {
  background: linear-gradient(90deg, var(--bg-section) 25%, rgba(255,255,255,0.8) 50%, var(--bg-section) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
