/* Companies Page Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #e6a23c 0%, #c68346 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Filters */
.company-filters {
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
}

/* Companies Section */
.companies-section {
    padding: 64px 0;
}

.companies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.companies-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.companies-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.results-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: white;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.company-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #c68346;
}

.company-card.featured {
    border-color: #c68346;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.company-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: 16px;
    right: -30px;
    background: #c68346;
    color: white;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 1;
}

.company-header {
    margin-bottom: 20px;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #c68346;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Geist', sans-serif;
}


.company-content {
    margin-bottom: 24px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.company-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.company-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c68346;
    font-family: 'Geist', sans-serif;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-actions {
    display: flex;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .companies-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .companies-section {
        padding: 40px 0;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-card {
        padding: 20px;
    }
    
    .company-actions {
        flex-direction: column;
    }
    
    .company-stats {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .company-card {
        padding: 16px;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .company-name {
        font-size: 1.25rem;
    }
}
