/* Plant-Based Meal Prep Service - Main Styles */

/* CSS Variables - Color Palette */
:root {
    --primary-green: #2D5E2E;
    --secondary-green: #4A8F4E;
    --accent-lime: #7CB342;
    --warm-beige: #F5F2E8;
    --earth-brown: #8D6E63;
    
    /* Light and Dark Shades */
    --light-green: #A8D5A8;
    --dark-green: #1B3C1D;
    --light-beige: #FEFCF7;
    --dark-brown: #5D4037;
    --light-lime: #AED581;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --text-color: #2C3E50;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-lime) 0%, var(--light-lime) 100%);
    --gradient-warm: linear-gradient(135deg, var(--warm-beige) 0%, var(--light-beige) 100%);
    
    /* Font Sizes */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
}

/* 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-color);
    background-color: var(--white);
}

/* Respect 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(--primary-green);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--light-lime) !important;
}

.navbar-toggler {
    border-color: var(--white);
}

.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='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: var(--gradient-warm);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 94, 46, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section h2 {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 94, 46, 0.3);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Price Display */
.price, .price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-lime);
    margin-top: 1rem;
}

.price-display span {
    font-size: 2rem;
    color: var(--primary-green);
}

/* Services Items */
.services-item, .feature-item, .info-item, 
.protein-item, .planning-item, .benefit-item, 
.start-item, .impact-item, .practice-item, 
.food-item, .waste-item, .future-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.services-item:hover, .feature-item:hover, .info-item:hover,
.protein-item:hover, .planning-item:hover, .benefit-item:hover,
.start-item:hover, .impact-item:hover, .practice-item:hover,
.food-item:hover, .waste-item:hover, .future-item:hover {
    background: var(--gradient-warm);
    transform: translateY(-5px);
}

.services-item i, .feature-item i, .info-item i,
.protein-item i, .planning-item i, .benefit-item i,
.start-item i, .impact-item i, .practice-item i,
.food-item i, .waste-item i, .future-item i {
    color: var(--accent-lime);
    margin-bottom: 1rem;
}

/* Team Members */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--light-green);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--accent-lime);
    transform: scale(1.05);
}

.team-member h5 {
    color: var(--primary-green);
    margin-top: 1rem;
}

.team-member p {
    color: var(--secondary-green);
    font-style: italic;
}

/* Reviews */
.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-lime);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-item h5 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--light-green);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.form-check-input:checked {
    background-color: var(--accent-lime);
    border-color: var(--accent-lime);
}

/* FAQ */
.accordion-button {
    background: var(--light-beige);
    color: var(--primary-green);
    font-weight: 600;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 94, 46, 0.25);
}

.accordion-body {
    background: var(--white);
    color: var(--text-color);
}

/* Gallery */
#gallery img {
    border-radius: 10px;
    transition: all 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--earth-brown) !important;
    color: var(--white);
}

footer h5 {
    color: var(--light-lime);
    margin-bottom: 1rem;
}

footer a {
    color: var(--light-beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--light-lime);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--light-gray) !important;
    border-bottom: 1px solid var(--light-green);
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Background Sections */
.bg-light {
    background: var(--gradient-warm) !important;
}

/* Space Page */
#space {
    background: var(--gradient-warm);
    color: var(--primary-green);
}

/* Utilities */
.text-success {
    color: var(--accent-lime) !important;
}

/* Image Placeholders */
img {
    max-width: 100%;
    height: auto;
}

/* Specify image dimensions for consistent layout */
.hero-section img,
.service-img,
.team-img,
.case-img,
.blog-img,
.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-section img {
    min-height: 400px;
}

.card-img-top {
    height: 250px;
}

.team-member img {
    width: 120px;
    height: 120px;
}

.gallery img {
    height: 300px;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Production Styles */
.navbar.scrolled {
    background: rgba(45, 94, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Improved accessibility for interactive elements */
.btn:focus-visible, .form-control:focus-visible, .nav-link:focus-visible {
    outline: 3px solid var(--accent-lime);
    outline-offset: 2px;
}

/* Enhanced card hover states for better UX */
.card {
    will-change: transform;
}

/* Production-ready error states */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: var(--accent-lime);
    box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #1B3C1D;
        --text-color: #000000;
        --white: #FFFFFF;
    }
    
    .card {
        border: 2px solid var(--primary-green);
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
