/**
 * GreenIT - Resource Recovery Page Styles
 */

/* ========================================
   Sell to Us Section
   ======================================== */

.sell-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.sell-section .category-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
}

.sell-section .section-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-top: var(--spacing-md);
}

/* Equipment Cards Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.equipment-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.equipment-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-light);
}

.equipment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.equipment-card:hover .equipment-card-image img {
    transform: scale(1.05);
}

.equipment-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipment-card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-align: center;
}

.equipment-card-content p {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Recovery Process Section
   ======================================== */

.recovery-process-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-light);
}

.recovery-process-section .category-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
}

.recovery-process-flow {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Process Step - Flat horizontal card */
.recovery-process-section .process-step {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.recovery-process-section .process-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Process Step Header - Top section with title and icon */
.recovery-process-section .process-step-header {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.recovery-process-section .process-step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.recovery-process-section .process-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    line-height: 1.3;
    margin: 0;
    flex-grow: 1;
}

.recovery-process-section .process-step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recovery-process-section .process-step-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
    opacity: 0.8;
}

/* Process Step Content - Bottom section with description */
.recovery-process-section .process-step-content {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-white);
}

.recovery-process-section .process-step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin: 0;
}

/* Arrow between steps - Override products.css rotation */
.recovery-process-section .process-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm) 0;
    color: var(--color-primary);
    opacity: 0.6;
    transform: none !important; /* Override products.css rotation */
}

.recovery-process-section .process-arrow svg {
    display: block;
    transform: none !important; /* Ensure SVG is not rotated */
}

/* ========================================
   Expertise Section
   ======================================== */

.expertise-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.expertise-section .category-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-item {
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl);
    position: relative;
    border-left: 4px solid var(--color-primary);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-lg);
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expertise-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.expertise-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-md);
}

.expertise-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-md);
}

.expertise-item p:last-child {
    margin-bottom: 0;
}

.expertise-item strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   CTA Section
   ======================================== */

.recovery-cta-section {
    padding: calc(var(--spacing-xxl) * 0.8) 0;
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.recovery-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

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

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recovery-cta-section .cta-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 auto var(--spacing-xl); /* Add auto margin for centering */
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 100% !important; /* Override products.css max-width */
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.15rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recovery-cta-section .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.recovery-cta-section .btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (iPad and similar) */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .recovery-process-section .process-step-header {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .recovery-process-section .process-step-number {
        font-size: 2.2rem;
        width: 55px;
    }

    .recovery-process-section .process-step-title {
        font-size: 1.15rem;
    }

    .recovery-process-section .process-step-content {
        padding: var(--spacing-sm) var(--spacing-lg);
    }

    .expertise-grid {
        gap: var(--spacing-xl);
    }

    .expertise-item {
        padding: var(--spacing-xl);
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .recovery-cta-section .cta-lead {
        font-size: 1.1rem;
        max-width: 100% !important; /* Override products.css */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sell-section {
        padding: var(--spacing-xl) 0;
    }

    .sell-section .category-header {
        margin-bottom: var(--spacing-xl);
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .recovery-process-section {
        padding: var(--spacing-xl) 0;
    }

    .recovery-process-section .category-header {
        margin-bottom: var(--spacing-lg);
    }

    .recovery-process-section .process-step-header {
        padding: var(--spacing-md) var(--spacing-md);
        gap: var(--spacing-md);
    }

    .recovery-process-section .process-step-number {
        font-size: 2rem;
        width: 50px;
    }

    .recovery-process-section .process-step-title {
        font-size: 1.05rem;
    }

    .recovery-process-section .process-step-icon {
        width: 40px;
        height: 40px;
    }

    .recovery-process-section .process-step-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .recovery-process-section .process-step-content p {
        font-size: 0.95rem;
    }

    .recovery-process-section .process-arrow {
        padding: var(--spacing-sm) 0;
        transform: none !important; /* Keep arrow pointing down on mobile */
    }

    .expertise-section {
        padding: var(--spacing-xl) 0;
    }

    .expertise-section .category-header {
        margin-bottom: var(--spacing-xl);
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .expertise-item {
        padding: var(--spacing-lg);
    }

    .expertise-item h3 {
        font-size: 1.3rem;
    }

    .recovery-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .cta-content h2 {
        font-size: 1.9rem;
        margin-bottom: var(--spacing-sm);
    }

    .recovery-cta-section .cta-lead {
        font-size: 1.05rem;
        margin-bottom: var(--spacing-lg);
        max-width: 100% !important; /* Override products.css */
    }

    .btn-large {
        padding: 14px 36px;
        font-size: 1.05rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .equipment-card-content {
        padding: var(--spacing-md);
    }

    .equipment-card-content h3 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-sm);
    }

    .equipment-card-content p {
        font-size: 0.95rem;
    }

    .recovery-process-section .process-step-header {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .recovery-process-section .process-step-number {
        font-size: 1.75rem;
        width: 45px;
    }

    .recovery-process-section .process-step-title {
        font-size: 1rem;
    }

    .recovery-process-section .process-step-icon {
        width: 36px;
        height: 36px;
    }

    .recovery-process-section .process-step-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .recovery-process-section .process-step-content p {
        font-size: 0.9rem;
    }

    .expertise-item {
        padding: var(--spacing-md);
    }

    .expertise-icon {
        width: 52px;
        height: 52px;
    }

    .expertise-icon svg {
        width: 32px;
        height: 32px;
    }

    .expertise-item h3 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-sm);
    }

    .expertise-item p {
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 1.65rem;
    }

    .recovery-cta-section .cta-lead {
        font-size: 1rem;
        max-width: 100% !important; /* Override products.css */
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
}

