/* Heritage Seeds - Main Styles */

/* Color Palette Variables */
:root {
    /* Primary Colors - Pastel, High Contrast */
    --primary-green: #7fb069;
    --primary-brown: #8b7355;
    --primary-orange: #e09f3e;
    --primary-cream: #f5f5dc;
    --primary-burgundy: #9d2235;
    
    /* Light Shades */
    --light-green: #d4f0c7;
    --light-brown: #c9b896;
    --light-orange: #f2c784;
    --light-cream: #ffffff;
    --light-burgundy: #d17286;
    
    /* Dark Shades */
    --dark-green: #5a7c4a;
    --dark-brown: #6b5741;
    --dark-orange: #b8761f;
    --dark-cream: #e8e8c7;
    --dark-burgundy: #2d0a11;
    
    /* Additional Colors */
    --text-primary: #2c3e2d;
    --text-secondary: #6c757d;
    --bg-light: #fafafa;
    --border-light: #e9ecef;
}

/* Typography Overrides - Conservative Sizing */
.navbar-brand {
    font-size: 1.1rem !important; /* Only !important usage */
    font-weight: 600;
    color: var(--primary-green);
}

h1, .h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

h2, .h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

h3, .h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
}

h4, .h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
}

p, .lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.lead {
    font-size: 1.1rem;
}

/* Color Customizations */
.text-primary {
    color: var(--primary-green);
}

.bg-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.border-primary {
    border-color: var(--primary-green);
}

/* Custom Components */
.hero-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--light-green);
    opacity: 0.1;
    transform: skewX(-15deg);
    transform-origin: top;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* Sections */
.bg-light {
    background-color: var(--bg-light);
}

section {
    position: relative;
}

/* Footer - High Contrast Only, No Gradients */
footer.bg-dark {
    background-color: var(--dark-burgundy);
    color: var(--light-cream);
}

footer.bg-dark h5,
footer.bg-dark h6 {
    color: var(--light-cream);
}

footer.bg-dark a {
    transition: color 0.3s ease;
}

footer.bg-dark a:hover {
    color: var(--light-green);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

/* Icons */
.fa-star.text-warning {
    color: var(--primary-orange);
}

.fa-check.text-success {
    color: var(--primary-green);
}

/* Animations - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Custom Utility Classes */
.text-muted {
    color: var(--text-secondary);
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.rounded-3 {
    border-radius: 12px;
}

/* Section Spacing */
.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Gallery Styles */
.gallery img {
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Team Member Photos */
.team-member img {
    border: 3px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-green);
}

/* Special Elements */
.decorative-element {
    position: absolute;
    background: var(--light-orange);
    opacity: 0.1;
    border-radius: 50%;
}

/* Process Steps */
.process-step {
    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;
}

/* Timeline Elements */
.timeline-item {
    position: relative;
}

/* Breadcrumb Styling */
.breadcrumb-section {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

/* Loading and Performance */
.loading-placeholder {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accessibility Improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    overflow-x: hidden;
}
}


.hero-section h1 {
    padding-top: 100px;
}


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
