/* Farm-to-Table Restaurant Template - Main CSS */
:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-sage: #8bac75;
  --primary-cream: #e4e0c9;
  --primary-terracotta: #d2a782;
  --primary-forest: #4a5f40;
  --primary-harvest: #dfbe48;
  
  /* Light & Dark Shades */
  --sage-light: #95ab86;
  --sage-dark: #718d50;
  --cream-light: #f9f7f2;
  --cream-dark: #eae3d6;
  --terracotta-light: #e4c18e;
  --terracotta-dark: #ad7a57;
  --forest-light: #70815c;
  --forest-dark: #414e37;
  --harvest-light: #dec763;
  --harvest-dark: #e5bd43;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Conservative font sizes */
  --fs-h1: 2.2rem;
  --fs-h2: 1.8rem;
  --fs-h3: 1.5rem;
  --fs-h4: 1.3rem;
  --fs-body: 1rem;
  --fs-small: 0.9rem;
  --fs-navbar-brand: 1.4rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--forest-dark);
  background-color: var(--cream-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--forest-dark);
  margin-bottom: 1rem;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin-bottom: 1rem;
  color: var(--forest-light);
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--sage-light), var(--primary-sage));
  box-shadow: 0 7px 14px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: var(--fs-navbar-brand) !important;
  font-weight: 700;
  color: var(--cream-light) !important;
  font-family: var(--font-secondary);
}

.navbar-nav .nav-link {
  color: var(--cream-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--harvest-light) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='rgba%28249, 247, 242, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream), var(--sage-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  transform: rotate(10deg);
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  background: var(--harvest-light);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--cream-light);
  border-radius: 19px;
  padding: 2rem;
  box-shadow: 0 12px 29px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-110px);
  box-shadow: 0 19px 37px rgba(0,0,0,0.15);
  border-color: var(--primary-sage);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.58rem;
}

.service-price {
  font-size: 1.88rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  margin-bottom: 1rem;
}

/* 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(--cream-light);
  padding: 2rem;
  border-radius: 19px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 30px rgba(0,0,0,0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-sage);
}

/* Reviews/Testimonials */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.review-card {
  background: var(--cream-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
  border-left: 5px solid var(--primary-sage);
}

.review-text {
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--forest-light);
}

.review-author {
  font-weight: 700;
  color: var(--terracotta-dark);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream-light);
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--sage-light);
  color: var(--forest-dark);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-sage);
  color: var(--cream-light);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--forest-light);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  background: var(--cream-light);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--sage-light);
  border-radius: 13px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(138, 188, 116, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-sage), var(--sage-dark));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--sage-dark), var(--forest-light));
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--forest-dark), var(--forest-light));
  color: var(--cream-light);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  color: var(--harvest-light);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: var(--cream-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--harvest-light);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--cream-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Utility Classes */
.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-sage) !important;
}

.bg-primary {
  background-color: var(--primary-sage) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, var(--primary-cream), var(--cream-light)) !important;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--sage-light);
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Space page specific */
#space {
  min-height: 70vh;
  background: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.60rem;
  color: var(--forest-light);
}

/* Image placeholders with fixed resolutions */
.hero-image {
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.about-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Additional styling for specific sections */
.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.priceplan-card {
  background: var(--cream-light);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.priceplan-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-sage);
}

.timeline-item {
  background: var(--cream-light);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-sage);
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--cream-light);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

/* Case Study Items */
.case-study-item {
  background: var(--cream-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-sage);
  height: 100%;
}

.case-study-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-study-item h4 {
  color: var(--terracotta-dark);
  margin-bottom: 1rem;
}

/* Career Items */
.career-item {
  background: var(--cream-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: var(--primary-sage);
}

.career-item h4 {
  color: var(--forest-dark);
  margin-bottom: 1rem;
}

.career-item span {
  display: inline-block;
  background: var(--sage-light);
  color: var(--forest-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.96rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Info Items */
.info-item {
  background: var(--cream-light);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-item h5 {
  color: var(--terracotta-dark);
  margin-bottom: 0.96rem;
  font-size: 1.20rem;
  font-weight: 600;
}

.info-item p {
  font-size: 0.98rem;
  margin-bottom: 0;
} 


/* 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;
    }
}
