
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    padding: 0!important;
}

body {
    background: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.category-nav {
    background: #111;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #667eea;
}

.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100vw;
    margin: 0 auto;
    gap: 0;
}

.category-btn {
    flex: 1;
    min-width: 150px;
    padding: 18px 24px;
    background: transparent;
    color: #aaa;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #fff;
}

.category-btn.active {
    color: #fff;
    background: rgba(102, 126, 234, 0.2);
}

.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Content Sections */
.content-section {
    display: none;
    padding: 60px 20px;
    max-width: 90vw;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Equipment Grid - matching portfolio style */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.equipment-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipment-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.equipment-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #000;
}

.equipment-info {
    padding: 20px;
}

.equipment-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.equipment-description {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.equipment-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Modal - matching portfolio lightbox style */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 30px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .category-btn {
        min-width: 120px;
        padding: 14px 16px;
        font-size: 0.85rem;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}