/* ====================================
   Sustainable Fashion Resale - Main CSS
   ==================================== */

/* CSS Variables - Color Palette */
:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c59;
    --accent-earth: #8b5a3c;
    --accent-sage: #9caf88;
    --accent-cream: #f4f1e8;
    --light-green: #e8f5e8;
    --dark-green: #1a3009;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-cream) !important;
}

.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-cream), var(--light-green));
    padding-top: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--secondary-green);
    margin-bottom: 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

section h3, section h4, section h5 {
    color: var(--secondary-green);
    font-weight: 600;
}

section p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Background Variations */
.bg-light {
    background-color: var(--light-green) !important;
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-item i {
    color: var(--accent-earth);
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body h5 {
    color: var(--primary-green);
    font-weight: 600;
}

.card-body h6 {
    color: var(--accent-earth);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-green));
    transform: translateX(-50%);
}

.timeline-item {
    background: var(--white);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-earth);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    left: -35px;
}

.timeline-item:nth-child(even)::before {
    right: -35px;
}

/* Team Images */
#team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-sage);
}

/* Swiper Styles */
.reviewsSwiper {
    padding-bottom: 3rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 1rem;
}

.swiper-pagination-bullet {
    background: var(--primary-green);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-earth);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-green);
    color: var(--primary-green);
    font-weight: 600;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary-green);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-green);
}

/* Gallery */
#gallery .col-md-3 {
    padding: 0.25rem;
}

#gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Forms */
.form-control {
    border: 2px solid var(--accent-sage);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    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(45, 80, 22, 0.25);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
}

footer h5 {
    color: var(--accent-cream);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-cream);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info h5 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info i {
    color: var(--accent-earth);
    margin-right: 0.5rem;
    width: 20px;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card h5 {
    color: var(--primary-green);
    margin: 1rem;
    font-weight: 600;
}

.blog-card p {
    margin: 0 1rem;
    color: var(--text-light);
}

.blog-card a {
    display: inline-block;
    margin: 1rem;
    color: var(--accent-earth);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card a:hover {
    color: var(--primary-green);
}

/* Career Cards */
.career-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.career-card h5 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.career-card p:first-of-type {
    color: var(--accent-earth);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Case Study Cards */
.case-study-card {
    text-align: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.case-study-card img {
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* Core Info Items */
.core-info-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.core-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.core-info-item i {
    color: var(--accent-earth);
    margin-bottom: 1rem;
}

.core-info-item h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: sepia(100%) saturate(200%) hue-rotate(80deg);
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--accent-cream), var(--light-green));
    position: relative;
    overflow: hidden;
}

#space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/space-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

#space .container {
    position: relative;
    z-index: 1;
}

#space h1 {
    color: var(--primary-green);
    font-weight: 700;
}

#space .lead {
    color: var(--secondary-green);
}

/* Utility Classes */
.text-primary-green {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.text-secondary-green {
    color: var(--secondary-green) !important;
}

.bg-secondary-green {
    background-color: var(--secondary-green) !important;
}

.text-accent-earth {
    color: var(--accent-earth) !important;
}

.bg-accent-earth {
    background-color: var(--accent-earth) !important;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
