/* Farmers Market Booth Template - Main CSS */

:root {
    /* Primary Colors */
    --primary-green: #2d5016;
    --harvest-orange: #d2691e;
    --earth-brown: #8b4513;
    --cream-white: #faf5f0;
    --deep-red: #a0522d;
    
    /* Light/Dark Shades */
    --light-green: #7fb069;
    --dark-green: #1a2f0a;
    --light-orange: #f4a261;
    --dark-orange: #b8621b;
    --light-brown: #d2b48c;
    --dark-brown: #654321;
    --light-cream: #ffffff;
    --dark-cream: #f0ebe5;
    --light-red: #cd853f;
    --dark-red: #8b4513;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--light-green));
    --gradient-secondary: linear-gradient(135deg, var(--harvest-orange), var(--light-orange));
    --gradient-hero: linear-gradient(rgba(45, 80, 22, 0.7), rgba(127, 176, 105, 0.7));
    
    /* Conservative Font Sizes */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1rem;
    --navbar-brand-size: 1.4rem;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-brown);
    background-color: var(--cream-white);
}

/* 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;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

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); }
h5 { font-size: var(--font-size-h5); }

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

/* Header/Navigation */
.navbar {
    background: rgba(250, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: var(--navbar-brand-size) !important;
    font-weight: 700;
    color: var(--primary-green) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
    color: var(--dark-brown) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--harvest-orange) !important;
}

.navbar-toggler {
    border: 2px solid var(--primary-green);
}

.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%2845, 80, 22, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero), url('../INV_images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: white;
}

.hero-content h1 {
    color: white;
    font-size: var(--font-size-h1);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    color: var(--light-cream);
    font-size: var(--font-size-h3);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--light-cream), var(--dark-cream));
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.15);
}

.feature-card i {
    color: var(--harvest-orange);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: var(--cream-white);
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

.service-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: var(--dark-brown);
}

.service-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--harvest-orange);
    margin-right: 0.5rem;
}

.price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--deep-red);
    text-align: center;
    padding: 1rem;
    background: var(--light-cream);
    border-radius: 10px;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: white;
}

.contact-section h2,
.contact-section h3 {
    color: white;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form .form-control {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer-section {
    background: var(--dark-green);
    color: var(--light-cream);
    padding: var(--section-padding);
}

.footer-section h4,
.footer-section h5 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--light-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-orange);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

#site-copyright {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin-top: 1rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding: 3rem 0; }

/* Team Section */
.team-member img {
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Reviews Section */
.review-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 10px;
}

.reviews-swiper .swiper-pagination-bullet {
    background: var(--harvest-orange);
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    color: var(--primary-green);
}

/* FAQ Section */
.faq-question {
    cursor: pointer;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--light-cream);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.faq-question:hover {
    background: var(--light-green);
    color: white;
    border-color: var(--primary-green);
}

.faq-question.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.faq-answer {
    padding: 1rem;
    background: var(--light-cream);
    border-radius: 0 0 10px 10px;
    margin-top: -0.5rem;
    border: 2px solid var(--primary-green);
    border-top: none;
}

/* Gallery Section */
.gallery-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Price Plan Section */
.priceplan-section .service-card:hover {
    transform: translateY(-5px);
}

.priceplan-section .price {
    background: var(--gradient-secondary);
    color: white;
}

/* Features Section Enhancements */
.features-section .feature-card i {
    color: var(--primary-green);
}

.features-section .feature-card:hover i {
    color: var(--harvest-orange);
}

/* Blog Section */
.blog-section {
    background: var(--light-cream);
}

.blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: var(--font-size-h4);
}

.blog-card p {
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card .btn-outline-primary {
    border: 2px solid var(--harvest-orange);
    color: var(--harvest-orange);
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.blog-card .btn-outline-primary:hover {
    background: var(--harvest-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

#blog_grid {
    display: flex;
    flex-wrap: wrap;
}

#blog_grid > div {
    display: flex;
}

/* Additional Utility Classes */
.rounded-circle {
    border-radius: 50% !important;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.faq-item {
    transition: all 0.3s ease;
}

/* Container max-width */
.container {
    max-width: var(--container-max-width);
} 