@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8fafc;
}

.sidebar {
    transition: all 0.3s ease;
    transform: translateX(-100%);
    z-index: 1000;
    height: calc(100vh - 80px);
    overflow-y: auto;
    top: 128px;
}

.sidebar.open {
    transform: translateX(0);
}

.slider {
    height: 500px;
}

.slide {
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

.slide-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.menu-item {
    transition: all 0.2s ease;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu.open {
    max-height: 1000px;
}

.equipment-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .sidebar {
        transform: translateX(0);
        position: sticky;
    }

    .main-content {
        margin-left: 320px;
    }
}

@media (max-width: 1023px) {
    .sidebar {
        position: fixed;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .overlay.active {
        display: block;
    }
}