/* Heritage Seeds - Main CSS */
/* Color Variables - Exactly 5 primary colors + light/dark shades */
:root {
    --primary-sage: #88b47a;
    --primary-earth: #9b8653;
    --primary-bloom: #d9bd7b;
    --primary-leaf: #7f995e;
    --primary-harvest: #e2a770;
    
    /* Light shades */
    --light-sage: #a9d99d;
    --light-earth: #d1bea4;
    --light-bloom: #f9d2a3;
    --light-leaf: #91c678;
    --light-harvest: #e0b78d;
    
    /* Dark shades */
    --dark-sage: #72915e;
    --dark-earth: #594026;
    --dark-bloom: #ad8257;
    --dark-leaf: #4f6a3f;
    --dark-harvest: #a26936;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --line-height-base: 1.5;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: #232323;
    background-color: #fff;
    overflow-x: hidden;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--dark-sage);
}

h1 {
    font-size: 2.59rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.64rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.30rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.19rem;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p {
    margin-bottom: var(--spacing-md);
    color: #675f60;
}

/* Brand and Navigation */
.navbar-brand {
    font-weight: 600;
    color: var(--primary-sage);
    font-size: 1.53rem;
}

.navbar-brand:hover {
    color: var(--dark-sage);
}

.nav-link {
    color: #484848;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-sage);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-bloom) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--dark-sage);
    margin-bottom: var(--spacing-sm);
    padding-top: 225px;
}

.hero-section h2 {
    color: var(--dark-earth);
    font-size: 1.86rem;
    margin-bottom: var(--spacing-lg);
}

.hero-section p {
    color: #535252;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-sage);
    border-color: var(--primary-sage);
    color: white;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 0.375rem;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--dark-sage);
    border-color: var(--dark-sage);
    color: white;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 150, 114, 0.25);
}

.btn-primary:disabled {
    background-color: #5f6a73;
    border-color: #6c717a;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition-base);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-body h5 {
    color: var(--dark-sage);
    margin-bottom: var(--spacing-sm);
}

.card-body p {
    color: #6e6e6e;
    margin-bottom: var(--spacing-md);
}

/* Price Styling */
.text-primary {
    color: var(--primary-sage);
}

/* Process Section */
.process-number {
    width: 50px;
    height: 50px;
    font-size: 1.34rem;
    font-weight: 600;
}

/* Team Section */
.team img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--light-sage);
    transition: var(--transition-base);
}

.team img:hover {
    border-color: var(--primary-sage);
}

#team img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Form Styles */
.form-control {
    border: 1px solid #d2d2d2;
    border-radius: 0.375rem;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-sage);
    box-shadow: 0 0 0 0.2rem rgba(168, 185, 157, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-sage);
    margin-bottom: var(--spacing-xs);
}

/* Footer */
footer {
    background-color: #222e38;
    color: #ecf0f1;
}

footer h5 {
    color: var(--light-sage);
    margin-bottom: var(--spacing-md);
}

footer a {
    color: #b1c2c8;
    text-decoration: none;
    transition: var(--transition-base);
}

footer a:hover {
    color: var(--light-sage);
}

/* Gallery */
.gallery img {
    border-radius: 0.375rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
}

#gallery {
    background-color: #f8f9fa;
}

#gallery .col-lg-2 {
    padding: 0.5rem;
}

#gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Breadcrumb */
.breadcrumb-icon {
    height: 20px;
    width: 20px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* Animations */
[data-sal] {
    transition-duration: 0.5s;
}

/* Improve animation performance */
[data-sal="slide-up"],
[data-sal="slide-down"], 
[data-sal="slide-left"],
[data-sal="slide-right"] {
    will-change: transform, opacity;
}

/* Smooth scrolling for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.50rem; }
.mb-2 { margin-bottom: 0.83rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.73rem; }
.mb-5 { margin-bottom: 3rem; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* Section Backgrounds */
.bg-light {
    background-color: #f8f9fa;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-circle {
    border-radius: 50%;
}

.rounded-3 {
    border-radius: 0.5rem;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Border Utilities */
.border-0 {
    border: 0;
}

.border-primary {
    border-color: var(--primary-sage);
}

/* Height Utilities */
.h-100 {
    height: 100%;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Display Utilities */
.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

/* Flex Utilities */
.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.ms-auto {
    margin-left: auto;
}

.me-3 {
    margin-right: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* FontAwesome Icon Sizing */
.fa-2x {
    font-size: 2em;
}

/* Contact Info */
.contact-info {
    background-color: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: 0.5rem;
    margin-top: var(--spacing-lg);
}

/* Sticky Navigation */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* List Styles */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

/* Blockquote */
.blockquote-footer {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: #5a676d;
}

.blockquote-footer::before {
    content: "â€” ";
}

/* Space div for index_space.html */
#space {
    min-height: 70vh;
    background-color: #f8f9fa;
}

/* Success/Error states */
.is-valid {
    border-color: #29aa5b;
}

.is-invalid {
    border-color: #c9434f;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Alert styles */
.alert {
    padding: var(--spacing-md);
    border-radius: 0.375rem;
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: #d5ffe3;
    border-color: #d6f2df;
    color: #0d3f14;
}

.alert-danger {
    background-color: #f8cad6;
    border-color: #f0abb9;
    color: #7b2024;
}

/* Accessibility */
.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;
}

/* Focus indicators */
*:focus {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-sage);
    color: white;
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 6px;
}

/* Image error handling */
img::before {
    content: "Image not available";
    display: block;
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border: 1px solid #d4d0d0;
    border-radius: 0.375rem;
    color: #7d8995;
}

/* Performance optimizations */
.card-img-top,
.gallery img,
.team img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .hero-section {
        background: none !important;
        color: #000 !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .navbar {
        display: none !important;
    }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
