/* Farm-to-Table Restaurant Template - Main CSS */
/* Color Palette - Farm-inspired pastel colors with high contrast */
:root {
  --primary-green: #7ec86b;
  --primary-orange: #fc9651;
  --primary-cream: #ded5cc;
  --primary-brown: #854908;
  --primary-sage: #8b967c;
  
  /* Light shades */
  --light-green: #a9c99b;
  --light-orange: #f5b594;
  --light-cream: #f8f3f0;
  --light-brown: #a34f28;
  --light-sage: #c8dab3;
  
  /* Dark shades */
  --dark-green: #718f59;
  --dark-orange: #df7d32;
  --dark-cream: #f2f1f0;
  --dark-brown: #562e0a;
  --dark-sage: #7fa96c;
  
  /* Neutral colors */
  --white: #ffffff;
  --black: #252222;
  --gray-light: #f8f9fa;
  --gray-medium: #657379;
  --gray-dark: #303a42;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Conservative font sizes */
h1 { font-size: 2.65rem; font-weight: 600; }
h2 { font-size: 2rem; font-weight: 500; }
h3 { font-size: 1.61rem; font-weight: 500; }
h4 { font-size: 1.39rem; font-weight: 500; }
h5 { font-size: 1.19rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p { font-size: 1rem; margin-bottom: 1rem; }

/* Navbar styling */
.navbar {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  padding: 1rem 0;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.55rem !important;
  font-weight: 600;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-cream) !important;
}

/* Navbar Toggler */
.navbar-toggler {
  border: 2px solid var(--white);
  border-radius: 9px;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 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='rgba%28255, 255, 255, 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(--light-cream));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('../images/hero_background.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--primary-brown);
  font-size: 1.28rem;
  margin-bottom: 1.73rem;
}

.hero-desc {
  color: var(--gray-dark);
  font-size: 1.24rem;
  margin-bottom: 2rem;
}

/* Section styling */
.section {
  padding: 4rem 0;
}

.section-title {
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-brown);
  text-align: center;
  margin-bottom: 1.67rem;
}

.section-desc {
  color: var(--gray-dark);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Background variations */
.bg-cream { background-color: var(--primary-cream); }
.bg-light-green { background: linear-gradient(135deg, var(--light-green), var(--primary-sage)); }
.bg-light-orange { background: linear-gradient(135deg, var(--light-orange), var(--primary-orange)); }

/* Card styling */
.card {
  border: 2px solid var(--primary-cream);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 11px 30px rgba(0,0,0,0.15);
  border-color: var(--primary-green);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-cream);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.price {
  color: var(--primary-orange);
  font-size: 1.28rem;
  font-weight: 700;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Features styling */
.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Team member styling */
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 5px solid var(--primary-cream);
}

.team-name {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.68rem;
}

.team-role {
  color: var(--primary-brown);
  font-style: italic;
}

/* Reviews/Testimonials */
.review-card {
  background: var(--primary-cream);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-green);
  line-height: 1;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.23rem;
}

.review-author {
  color: var(--primary-brown);
  font-weight: 600;
  text-align: right;
}

/* FAQ styling */
.faq-item {
  background: var(--white);
  border: 2px solid var(--primary-cream);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-cream);
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--primary-green);
  font-weight: 600;
  margin: 0;
  user-select: none;
  position: relative;
}

.faq-question:hover {
  background: var(--light-cream);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.60rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  background: var(--white);
  color: var(--gray-dark);
  border-top: 1px solid var(--primary-cream);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 200px;
}

/* Form styling */
.form-control {
  border: 2px solid var(--primary-cream);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(152, 194, 135, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--dark-green), var(--dark-sage));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:disabled {
  background: var(--gray-medium);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Gallery styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Timeline styling */
.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: -2rem;
  width: 2px;
  background: var(--primary-green);
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  margin-right: 2rem;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Process steps */
.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 50px;
  height: 2px;
  background: var(--primary-green);
  transform: translateY(-50%);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Footer styling */
.footer {
  background: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-cream);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--light-brown);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

/* Breadcrumb styling */
.breadcrumb-section {
  background: var(--primary-cream);
  padding: 2rem 0;
  text-align: center;
}

.breadcrumb-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

/* Accessibility - Skip Navigation */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--primary-green);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  z-index: 1050;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .navbar, .footer { display: none; }
  .section { page-break-inside: avoid; }
} 


/* 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;
    }
}
