/* Custom styles for Angstrom website */

/* Reset body and html for full page layout */
body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: fixed;
}

/* Full screen image styling */
.fullscreen-image {
    width: 100vw;
    height: calc(100vh - 35px);
    object-fit: contain;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    transform-origin: center center;
    position: absolute;
    top: 0;
    left: 0;
}

.fullscreen-image.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

.fullscreen-image.zoomed:hover {
    cursor: grab;
}

.fullscreen-image.zoomed.dragging {
    cursor: grabbing;
}

/* Tab styling for top navigation */
.nav-tabs {
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 35px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    width: 100%;
    justify-content: center;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #fff;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    color: #fff;
}

.nav-tabs .nav-link.active {
    background-color: rgba(0, 123, 255, 0.3);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

/* Tab content positioning */
.tab-content {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    bottom: 0;
}

.tab-pane {
    height: calc(100vh - 35px);
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Tab content animations */
.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .fullscreen-image {
        height: calc(100vh - 30px);
    }
    
    .nav-tabs {
        height: 30px;
    }
    
    .tab-content {
        top: 30px;
    }
}
