/* Upcycle Mastery - Main CSS */
/* Bootstrap 5 Integration - NO OVERRIDES */

:root {
    /* Color Palette - 5 primary colors + shades */
    --primary-color: #25854b;      /* Sea Green */
    --secondary-color: #c79f7f;    /* Burlywood */
    --accent-color: #9ecf9a;       /* Dark Sea Green */
    --text-color: #284446;         /* Dark Slate Gray */
    --highlight-color: #f9e4b3;    /* Wheat */
    
    /* Light shades */
    --primary-light: #94ff87;      /* Light Green */
    --secondary-light: #fcfeed;    /* Beige */
    --accent-light: #F0FFF0;       /* Honeydew */
    
    /* Dark shades */
    --primary-dark: #124732;       /* Dark Forest Green */
    --secondary-dark: #985736;     /* Sienna */
    --text-dark: #1c1664;          /* Midnight Blue */
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

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

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

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

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

p, .lead {
    font-size: 1rem;
    line-height: 1.6;
}

/* Custom Bootstrap Color Integration */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

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

.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"><circle cx="20" cy="20" r="2" fill="%232E8B57" opacity="0.1"/><circle cx="80" cy="80" r="3" fill="%23DEB887" opacity="0.1"/></svg>');
    z-index: 1;
}

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

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

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

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

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

/* Team Section */
.team-section .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Services Grid Custom */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Process Section */
.process-section .bg-primary {
    background-color: var(--primary-color);
}

/* Timeline Cards */
.timeline-section .card {
    background: linear-gradient(135deg, var(--accent-light) 0%, white 100%);
}

/* Testimonials/Reviews */
.reviews-section .card {
    background-color: var(--secondary-light);
    border-left: 4px solid var(--primary-color);
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(49, 118, 70, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 159, 95, 0.25);
}

/* Gallery */
.gallery-section img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
}

footer a {
    color: #abafb2;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Navbar Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

/* Badge Styling */
.badge {
    font-size: 0.875rem;
    padding: 0.5em 0.75em;
}

/* Icon Styling */
.fas, .fab {
    color: var(--primary-color);
}

/* Space Page */
#space {
    background: linear-gradient(45deg, var(--accent-light), var(--secondary-light));
    position: relative;
}

#space::before {
    content: 'Dynamic Content Area';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--text-color);
    opacity: 0.3;
    font-weight: 300;
}

/* Animations - Conservative Implementation */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        animation: fadeIn 0.8s ease-in-out forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    
    .slide-up {
        transform: translateY(30px);
        opacity: 0;
        animation: slideUp 0.6s ease-out forwards;
    }
    
    @keyframes slideUp {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* FAQ Static Cards */
.faq-section .card {
    background-color: white;
    margin-bottom: 1rem;
    border: 1px solid #c8ccd3;
}

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

/* Blog Grid */
#blog_grid .card {
    height: 100%;
}

#blog_grid .card-img-top {
    height: 180px;
}

/* Contact Info Icons */
.contact-section .fas {
    color: var(--primary-color);
}

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

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

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

/* Breadcrumb Images */
.breadcrumb-image {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .card {
        border: 1px solid #d4d2d2;
        box-shadow: none;
    }
} 

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


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

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