/* ===================================
   VERTICAL FARMING CONSULTANCY TEMPLATE
   Main CSS - Bootstrap 5 Integration
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Color Palette - Vertical Farming Theme */
  --primary-green: #759d2d;
  --primary-blue: #54b8e8;
  --primary-earth: #9b705e;
  --primary-gold: #f0bf47;
  --primary-sage: #8fa05e;
  
  /* Light Shades */
  --light-green: #a9cd77;
  --light-blue: #73c27a;
  --light-earth: #b1adab;
  --light-gold: #ffd793;
  --light-sage: #c7ed71;
  
  /* Dark Shades */
  --dark-green: #4a7c32;
  --dark-blue: #1d66da;
  --dark-earth: #6d504a;
  --dark-gold: #e08710;
  --dark-sage: #7cb345;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #66696b;
  --dark-gray: #272b2e;
  --black: #000000;
  
  /* Typography */
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1.5rem;
  
  /* Border Radius */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* ===== 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: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

h1 {
  font-size: 2.64rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.53rem;
}

h4 {
  font-size: 1.26rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--medium-gray);
}

.lead {
  font-size: 1.18rem;
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
}

/* ===== NAVIGATION ===== */
.navbar-brand {
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-green);
}

.navbar-nav .nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: var(--primary-sage);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-green);
  font-size: 1.03rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.67rem;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  color: var(--white);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* ===== SERVICES CARDS ===== */
.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1.69rem;
}

.service-price {
  font-size: 1.61rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-gold);
  margin-top: 1rem;
}

/* ===== TEAM CARDS ===== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-0.5rem);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.32rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-green);
  margin-bottom: 0.56rem;
}

.team-role {
  color: var(--medium-gray);
  font-size: 0.92rem;
}

/* ===== REVIEWS/TESTIMONIALS ===== */
.review-card {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  border-left: 4px solid var(--primary-green);
}

.review-text {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: var(--font-weight-bold);
  color: var(--primary-green);
}

/* ===== FAQ CARDS ===== */
.faq-card {
  margin-bottom: 1rem;
  border: 1px solid #eaf1f6;
  border-radius: var(--border-radius-md);
}

.faq-question {
  background: var(--light-green);
  padding: 1.5rem;
  margin: 0;
  font-weight: var(--font-weight-bold);
  color: var(--dark-green);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  color: var(--medium-gray);
  margin: 0;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--primary-green);
  transform: scale(1.05);
}

.pricing-price {
  font-size: 2.64rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-green);
  margin: 1rem 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--medium-gray);
}

.pricing-features li::before {
  content: 'âœ“';
  color: var(--primary-green);
  font-weight: var(--font-weight-bold);
  margin-right: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  border: none;
  border-radius: var(--border-radius-md);
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  transform: translateY(-0.125rem);
}

.btn-outline-primary {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* ===== FORMS ===== */
.form-control {
  border: 2px solid #e8f6ff;
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(108, 189, 55, 0.25);
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-green);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-green);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--light-gray);
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  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.1);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  height: 24px;
  width: auto;
}

/* ===== UTILITIES ===== */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
}

.bg-light-gradient {
  background: linear-gradient(135deg, var(--light-green), var(--light-sage));
}

.text-primary-green {
  color: var(--primary-green);
}

.text-primary-gold {
  color: var(--primary-gold);
}

.border-primary {
  border-color: var(--primary-green);
}

.shadow-custom {
  box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.83rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .pricing-card.featured {
    transform: none;
    margin-top: 1rem;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
