:root {
    --primary: #0056b3;
    --secondary: #00356e;
    --light: #f5f7fa;
    --dark: #333;
    --text: #4a4a4a;
    --gray: #e9ecef;
    --accent: #ff6b00;

}

/* Match use_cases.css background */
body, main {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Adjust text colors for dark background */
.portfolio-header {
    color: white !important;
    padding: 4rem 0;
    text-align: center;
}

.portfolio-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0 2rem;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: white;
}

.section-title h2 {
    color: white !important;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.filter-button {
    padding: 10px 25px;
    background-color: white;
    border: none;
    border-radius: 30px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-button.active {
    background-color: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    padding: 20px;
    background: #fff;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.portfolio-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1;
}

.portfolio-content {
    background: white;
    padding: 2rem;
    text-align: left;
}

.portfolio-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 5px 15px;
    background-color: var(--light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary);
}

.portfolio-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.stats-section {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 1.1rem;
}

.cta-section {
    background-color: var(--accent);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        padding: 0 20px;
    }
    
    .filter-button {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
} 