/* PlantPop Markets - Main CSS */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-green: #2d5f3f;
    --secondary-green: #4a7c59;
    --accent-sage: #9cae7e;
    --warm-earth: #8b5a3c;
    --fresh-mint: #7fb069;
    
    /* Light Shades */
    --light-green: #e8f5e8;
    --light-sage: #f4f7f0;
    --light-earth: #f5f1ed;
    --light-mint: #f0f7ed;
    --pure-white: #ffffff;
    
    /* Dark Shades */
    --dark-green: #1a3629;
    --dark-sage: #6b7a5c;
    --dark-earth: #5d3e29;
    --dark-mint: #5a7c4a;
    --charcoal: #2c2c2c;
    
    /* Bootstrap Success Override for Plant Theme */
    --bs-success: var(--primary-green);
    --bs-success-rgb: 45, 95, 63;
}

/* Typography - Conservative Sizes */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
}

h1, .display-4 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-green);
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-green);
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-green);
}

h5 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--secondary-green);
}

p.lead {
    font-size: 1.1rem;
    color: var(--dark-sage);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-mint) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: var(--light-green);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 200px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-green);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-1px);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
}

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

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 0.75rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-sage);
}

/* Features and Icons */
.fas, .far, .fab {
    transition: all 0.3s ease;
}

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

.text-warning {
    color: var(--warm-earth);
}

.text-info {
    color: var(--accent-sage);
}

/* Process Steps */
.process-step .step-number,
.timeline-item .timeline-year {
    background-color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Price Cards */
.border-success {
    border-color: var(--primary-green);
}

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

/* Contact Form */
.form-control {
    border: 2px solid var(--light-sage);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

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

/* Footer - High Contrast, No Gradients */
#footer {
    background-color: var(--fresh-mint);
    color: var(--pure-white);
}

#footer h5 {
    color: var(--pure-white);
    font-weight: 600;
}

#footer .text-muted {
    color: #b8b8b8;
}

#footer a.text-muted {
    transition: color 0.3s ease;
}

#footer a.text-muted:hover {
    color: var(--accent-sage);
}

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 6rem;
}

/* Gallery */
#gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

/* Team Images */
#team img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}

#team img:hover {
    transform: scale(1.05);
}

/* Animation Respect for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    .card:hover,
    .btn-success:hover,
    #gallery img:hover,
    #team img:hover {
        transform: none;
    }
}

/* Utility Classes */
.text-plant-primary {
    color: var(--primary-green);
}

.text-plant-secondary {
    color: var(--secondary-green);
}

.bg-plant-light {
    background-color: var(--light-sage);
}

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

/* Reviews Stars */
.fas.fa-star {
    color: var(--warm-earth);
}

/* FAQ Cards */
#faq .card-title {
    color: var(--primary-green);
    font-weight: 600;
}

/* Blog Cards */
#Blog .card-img-top {
    height: 180px;
}

/* Services Grid */
#services .card-img-top {
    height: 220px;
}

/* Case Studies */
#casestudy .card-img-top {
    height: 200px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

/* Custom Shadows */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(45, 95, 63, 0.15);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(45, 95, 63, 0.15);
}

.shadow-lg {
    box-shadow: 0 1rem 2rem rgba(45, 95, 63, 0.175);
}

/* Accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section {
        min-height: auto;
        background: white;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .navbar,
    #footer {
        display: none;
    }
    
    section {
        padding: 2rem 0;
    }
}



/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

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

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
