/* EcoPickup - Main CSS */
/* Bootstrap 5 Integration - No Overrides */

:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-green: #2e8b57;
    --primary-blue: #4682b4;
    --primary-yellow: #ffd700;
    --primary-orange: #ff8c00;
    --primary-purple: #9370db;
    
    /* Light & Dark Shades */
    --light-green: #98fb98;
    --dark-green: #006400;
    --light-blue: #b0e0e6;
    --dark-blue: #191970;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    
    /* Conservative Typography */
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --line-height-base: 1.5;
}

/* Base Typography - Conservative Sizes */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-gray);
}

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

h1, .h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-gray);
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
}

.lead {
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    min-height: 100vh;
}

.hero-section .display-4 {
    font-size: 2.5rem;
    color: var(--dark-green);
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 500;
}

.btn-primary:hover {
    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 {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Card Enhancements */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* Background Variations */
.bg-light {
    background-color: var(--light-gray) !important;
}

/* Service Price Tags */
.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
}

/* Team Member Cards */
.card .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

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

/* Footer */
footer {
    background-color: var(--dark-gray) !important;
}

footer h5 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

footer p, footer li {
    color: #cbd5db;
}

footer a:hover {
    color: var(--primary-yellow) !important;
}

/* Contact Form */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

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

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

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

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

/* Navigation */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

/* Decorative Elements */
.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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

/* Process Steps */
.process-item-1-title, .process-item-2-title, .process-item-3-title, 
.process-item-4-title, .process-item-5-title {
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .price-tag {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: 1rem;
    }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

/* Animation Support */
[data-sal] {
    transition-property: opacity, transform;
}

/* FAQ Cards */
#faq .card {
    margin-bottom: 1rem;
}

#coreinfo {
    display: block !important;
    visibility: visible !important;
}

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

/* Blog Grid */
#blog_grid .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Photos */
img[src*="team_"] {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

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


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

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

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
